]> granicus.if.org Git - clang/commit
Update all of the libclang code corresponding to the preprocessor
authorChandler Carruth <chandlerc@gmail.com>
Thu, 14 Jul 2011 08:41:15 +0000 (08:41 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 14 Jul 2011 08:41:15 +0000 (08:41 +0000)
commit9b2a0ac970a077bdc0bf08c6c682f80ad733c892
tree388f58385fe64d0f6b5c2ed34939002452e115e3
parent9e5bb85ac899eeab7c21b5ff9030c3da6ff4837b
Update all of the libclang code corresponding to the preprocessor
MacroInstantiation -> MacroExpansion rename. Internally, everything is
switched.

Introduce a new cursor kind enum with the new name, but retain the old
name as an alias so that we don't break backwards compatibility.

Also update the debug printing routine to use 'macro expansions' as its
explicitly not guaranteed to be stable, and mechanically switch the test
cases over to that.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135140 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h
test/Index/annotate-tokens-pp.c
test/Index/annotate-tokens.m
test/Index/c-index-getCursor-pp.c
test/Index/c-index-getCursor-test.m
test/Index/nested-macro-instantiations.cpp
tools/libclang/CIndex.cpp
tools/libclang/CXCursor.cpp