]> granicus.if.org Git - clang/commit
[index] Take advantage of 'external_source_symbol' attribute for indexing purposes
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 21 Apr 2017 05:42:46 +0000 (05:42 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 21 Apr 2017 05:42:46 +0000 (05:42 +0000)
commitefab042a8baf752e593cbe1e4741df966f94bca7
tree997b8efff136ae9f38d73dcead25c5f4dae8bf9f
parent4802bbed82dedaca155c62f3c6c10bfa25fea3aa
[index] Take advantage of 'external_source_symbol' attribute for indexing purposes

- Ignore decls marked as 'generated_declaration'
- Include the 'defined_in' in the USR for additional namespacing

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300949 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Index/USRGeneration.h
lib/Index/IndexDecl.cpp
lib/Index/IndexTypeSourceInfo.cpp
lib/Index/IndexingContext.cpp
lib/Index/IndexingContext.h
lib/Index/USRGeneration.cpp
test/Index/Core/external-source-symbol-attr.m [new file with mode: 0644]