Remove completely irrelevant code from USR generation.
authorTed Kremenek <kremenek@apple.com>
Tue, 6 Nov 2012 06:36:45 +0000 (06:36 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 6 Nov 2012 06:36:45 +0000 (06:36 +0000)
commitccf3b4299d8c74f8c5cb8918bcfe2e0e09186a2f
tree655020983c893143a3f4899b6f902be4d13d6831
parent00420eddc3e44fef405d375ddc75411ac3432dbc
Remove completely irrelevant code from USR generation.

Thanks to Richard Smith for pointing this out.  This code stopped
serving its purpose during r103212 in a refactoring.  My initial
fix was to add back the logic to abort the USR generation for
InternalLinkage, but enough tests broke suspiciously that I fear
that USR generation for cursors with InternalLinkage is now expected
by some clients (where it wasn't the case when the refactoring
took place).  I don't own this code anymore and have not looked
at it for some time, but clearly this code is dead and can be removed
pending further review on the proper logic here.

llvm-svn: 167442
clang/tools/libclang/CIndexUSRs.cpp