This enables us to display the contents of atomic structs. Calling the
removal of _Atomic "desugaring" is not fully correct as it does more
than remove sugar, but it is the right thing to do for most of the
things that we care about. We can change this back once we decide to
support atomic types more comprehensively.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM beside my inline comment about the function name.
lldb/source/Symbol/ClangASTContext.cpp | ||
---|---|---|
2484 | In this case I would rename it to something like getUnderlyingType, unpackType, removeWrappingTypes or something like that. We shouldn't have our own definition of 'desugar' that differs from Clang's definition. |
In this case I would rename it to something like getUnderlyingType, unpackType, removeWrappingTypes or something like that. We shouldn't have our own definition of 'desugar' that differs from Clang's definition.