This provides information about the macro definition. For example, it
can be used to compute macro USRs.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
include/clang/Sema/CodeCompleteConsumer.h | ||
---|---|---|
847 ↗ | (On Diff #163995) | Let's not make this maybe/optional: If the result is RK_Macro, information about the macro definition. One of them statically appears like it could be null sometimes, but dynamically should never be null for macros triggering code complete I think (we may want to add an assert). |
875 ↗ | (On Diff #163995) | (so I'd drop the default argument here) |
Comment Actions
- update comment about missing MacroInfo.
include/clang/Sema/CodeCompleteConsumer.h | ||
---|---|---|
847 ↗ | (On Diff #163995) | As discussed offline, undefined macros do not have MacroInfo, and they can appear in sema results. Added this to comment. |