This revision was automatically updated to reflect the committed changes.
Closed by commit rL341476: [Sema] Store MacroInfo in CodeCompletionResult for
macro results. (authored by ioeric, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D516
ioeric added inline comments.
Comment at: include/clang/Sema/CodeCompleteConsumer.h:847
+ /// If the result is RK_Macro, this can store the information about the macro
+ /// definition.
sammccall wrote:
> Let's not make this maybe/optional: `If the result is
ioeric updated this revision to Diff 164044.
ioeric added a comment.
- update comment about missing MacroInfo.
Repository:
rC Clang
https://reviews.llvm.org/D51675
Files:
include/clang/Sema/CodeCompleteConsumer.h
lib/Sema/SemaCodeComplete.cpp
tools/libclang/CXCursor.cpp
Index: tools/
sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.
Comment at: include/clang/Sema/CodeCompleteConsumer.h:847
+ /// If the result is RK_Macro, this can store the information about the macro
+ /// definition.
ioeric created this revision.
ioeric added a reviewer: sammccall.
Herald added a subscriber: cfe-commits.
This provides information about the macro definition. For example, it
can be used to compute macro USRs.
Repository:
rC Clang
https://reviews.llvm.org/D51675
Files:
include/clang/Sema/