diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-03-27 23:34:16 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-03-27 23:34:16 +0000 |
commit | 78254c8880671f527e5145bc107f0c73e3cd9487 (patch) | |
tree | 567d620bf2b636551cca2ea22e3a91f4917e2e4d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 43f340f440388f947e8046375ef4ba79a09edd70 (diff) | |
download | llvm-78254c8880671f527e5145bc107f0c73e3cd9487.zip llvm-78254c8880671f527e5145bc107f0c73e3cd9487.tar.gz llvm-78254c8880671f527e5145bc107f0c73e3cd9487.tar.bz2 |
Introduce a new libclang API to determine the parent context of a code
completion item. For example, if the code completion itself represents
a declaration in a namespace (say, std::vector), then this API
retrieves the cursor kind and name of the namespace (std). Implements
<rdar://problem/11121951>.
llvm-svn: 153545
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions