diff options
author | Alex Lorenz <arphaman@gmail.com> | 2017-06-21 13:51:04 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2017-06-21 13:51:04 +0000 |
commit | d283dd4e060e627b844a15be1030dc0bb7ae53c7 (patch) | |
tree | f6ba715960d27edad312a19101563aa42ae04abc /clang/lib/Format/Format.cpp | |
parent | 5309b7d5c92f96e73ca5f4c0bfef05a66bdf5f31 (diff) | |
download | bcm5719-llvm-d283dd4e060e627b844a15be1030dc0bb7ae53c7.tar.gz bcm5719-llvm-d283dd4e060e627b844a15be1030dc0bb7ae53c7.zip |
[index] Nested class declarations should be annotated with the
"specializationOf" relation if they pseudo-override a type in the base template
This commit fixes an issue where Xcode's renaming engine couldn't find the
reference to the second occurrence of "InnerClass" in this example:
template<typename T> struct Ts { template<typename U> struct InnerClass { }; };
template<> struct Ts<int> {
template<typename U> struct InnerClass; // This occurrence wasn't renamed
};
rdar://31884960
Differential Revision: https://reviews.llvm.org/D34392
llvm-svn: 305911
Diffstat (limited to 'clang/lib/Format/Format.cpp')
0 files changed, 0 insertions, 0 deletions