]> granicus.if.org Git - clang/commit
[Index] Make the USRs more stable.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 23 Feb 2014 18:23:29 +0000 (18:23 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 23 Feb 2014 18:23:29 +0000 (18:23 +0000)
commitd403cc9e76509787e46c4ae659ae981430b17047
tree8bf5f3628119a3f0aab12407291ede99259cc1d4
parent06f29ae09406bd240e478bc9f89f385d24db5f88
[Index] Make the USRs more stable.

- Only include offsets with local (in function scope) symbols, where we don't encode scoping
- Only include the filename with non-system symbols. Presumably the system headers will not provide conflicting definitions.

rdar://15976823

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201990 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Index/USRGeneration.cpp
test/Index/annotate-comments-typedef.m
test/Index/cxx11-lambdas.cpp
test/Index/index-refs.cpp
test/Index/usrs.cpp
test/Index/usrs.m