]> granicus.if.org Git - clang/commit
[Sema] Store MacroInfo in CodeCompletionResult for macro results.
authorEric Liu <ioeric@google.com>
Wed, 5 Sep 2018 14:59:17 +0000 (14:59 +0000)
committerEric Liu <ioeric@google.com>
Wed, 5 Sep 2018 14:59:17 +0000 (14:59 +0000)
commite680dc2798ea4b99017b79bc8ccab1125942c0e6
tree8e81cff12de845f907694c9b28474f4df2e55b54
parent2d5c20fae345fa78684af5bbf6cac59c79828834
[Sema] Store MacroInfo in CodeCompletionResult for macro results.

Summary:
This provides information about the macro definition. For example, it
can be used to compute macro USRs.

Reviewers: sammccall

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D51675

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341476 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/CodeCompleteConsumer.h
lib/Sema/SemaCodeComplete.cpp
tools/libclang/CXCursor.cpp