commit | b49e728a4d1a84b72f3aebf60ff494684f9cb004 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Tue Nov 29 03:14:11 2011 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Tue Nov 29 03:14:11 2011 +0000 |
tree | 95adfffe4770e34404e95d2aa0371722a8b5b349 | |
parent | 375f7c48428ef64920dab4017a056ee1d6989ed1 [diff] |
[libclang] Make clang_findReferencesInFile also work on macros (find all expansions/definition of a macro in a file). As a bonus, also make searching for declarations more efficient by ignoring preprocessing entities when we know that we are looking for a declaration. Fixes rdar://10427411. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145369 91177308-0d34-0410-b5e6-96231b3b80d8