]> granicus.if.org Git - clang/commit
[libclang] Declarations inside anonymous namespaces have internal linkage so
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 7 Dec 2012 22:41:46 +0000 (22:41 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 7 Dec 2012 22:41:46 +0000 (22:41 +0000)
commite1c2c2023ee160bd3051682faff04c4f9c5e8ebd
tree95e465cec02135139802e06ec86badb167bb05bf
parent60c4612d70229d1d079deaec62c7c8613070fbff
[libclang] Declarations inside anonymous namespaces have internal linkage so
their USR should contain a location.

This uniques them from other declarations with the same name but in different translation units.
rdar://10546541

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169647 91177308-0d34-0410-b5e6-96231b3b80d8
test/Index/usrs.cpp
tools/libclang/CIndexUSRs.cpp