diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-11-23 20:27:36 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-11-23 20:27:36 +0000 |
commit | 8ad3bab5057fedbe4cec33e27684d28b22fc97e2 (patch) | |
tree | fb6d2d4e0928385ccf579d7990cee9e6623d4536 /llvm/lib/Support/APInt.cpp | |
parent | e4d082827de840d5e829b48a175f3daf8078993d (diff) | |
download | llvm-8ad3bab5057fedbe4cec33e27684d28b22fc97e2.zip llvm-8ad3bab5057fedbe4cec33e27684d28b22fc97e2.tar.gz llvm-8ad3bab5057fedbe4cec33e27684d28b22fc97e2.tar.bz2 |
[libclang] Fix operations (token annotation, getting cursor, etc.) with a file region
inside an objc container that "contains" other file-level declarations.
When getting the array of file-level declarations that overlap with a file region,
we failed to report that the region overlaps with an objc container, if
the container had other file-level declarations declared lexically inside it.
Fix this by marking such declarations as "isTopLevelDeclInObjCContainer" in the AST
and handling them appropriately.
llvm-svn: 145109
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions