]> granicus.if.org Git - clang/commit
[libclang] Always report a CXCursor_MacroDefinition for code-completion
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 27 Sep 2012 00:24:09 +0000 (00:24 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 27 Sep 2012 00:24:09 +0000 (00:24 +0000)
commitc04bb926ef693c94560da254e87926e93bb9c92f
tree785695d7bd7ad11ec6061a6196b609d791de7940
parent985c471af15d377a061bad608c4922184cdb99f2
[libclang] Always report a CXCursor_MacroDefinition for code-completion
results for a macro name, not CXCursor_NotImplemented.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164740 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/ASTUnit.cpp
lib/Sema/SemaCodeComplete.cpp
test/Index/complete-preprocessor.m