]> granicus.if.org Git - clang/commit
Code completion results that refer to macros now get the cursor kind
authorDouglas Gregor <dgregor@apple.com>
Mon, 5 Apr 2010 16:10:30 +0000 (16:10 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 5 Apr 2010 16:10:30 +0000 (16:10 +0000)
commit09d9fa1933499cb2808cd97b2db16ee11a990ef9
tree2c36d9535add0d1a82e90f2640207f46f6726fe0
parent7b73b92870aa6271ac3d0a91eca83f6dde68c904
Code completion results that refer to macros now get the cursor kind
of macro definitions when passed to CIndex. Add test for code
completion of macros via CIndex.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100431 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/CodeCompleteConsumer.cpp
test/Index/complete-macros.c [new file with mode: 0644]
tools/CIndex/CIndex.cpp