diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-09-10 22:58:04 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-09-10 22:58:04 +0000 |
commit | 3bed3d196dbb5ad2ea7442da4b6c2fbf6bb5fcc6 (patch) | |
tree | 5c363089c186d5caac88a271f9d3af229b574817 /tools/libclang/IndexDecl.cpp | |
parent | 57330eed3fbe530cb05996e4a346cc5fc217c0d9 (diff) |
[libclang] Do index 'extern' declarations inside functions.
rdar://12257073
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163563 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang/IndexDecl.cpp')
-rw-r--r-- | tools/libclang/IndexDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libclang/IndexDecl.cpp b/tools/libclang/IndexDecl.cpp index 4c78f5e1b5..53a98f111c 100644 --- a/tools/libclang/IndexDecl.cpp +++ b/tools/libclang/IndexDecl.cpp @@ -325,7 +325,7 @@ void IndexingContext::indexDeclContext(const DeclContext *DC) { } } -void IndexingContext::indexTopLevelDecl(Decl *D) { +void IndexingContext::indexTopLevelDecl(const Decl *D) { if (isNotFromSourceFile(D->getLocation())) return; |