diff options
| author | Alex Lorenz <arphaman@gmail.com> | 2017-05-04 10:42:06 +0000 |
|---|---|---|
| committer | Alex Lorenz <arphaman@gmail.com> | 2017-05-04 10:42:06 +0000 |
| commit | 9e2fea198c8ca45e1c1613797b0cb25d6f2742d7 (patch) | |
| tree | 1c57eb480c3acfa5bf6e503f28a5a021a3e5afea /clang/lib | |
| parent | 763e60e1f820d1472c738fd19dbd1bd3a7924489 (diff) | |
| download | bcm5719-llvm-9e2fea198c8ca45e1c1613797b0cb25d6f2742d7.tar.gz bcm5719-llvm-9e2fea198c8ca45e1c1613797b0cb25d6f2742d7.zip | |
[Index] The relation between the declarations in template
specializations that 'override' declarations in the base template should use
the 'specializationOf' relation instead of 'specializationOf | overrideOf'.
The indexer relations are meant to be orthogonal, so 'specializationOf' is
better than the combined relation.
llvm-svn: 302136
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Index/IndexDecl.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/Index/IndexDecl.cpp b/clang/lib/Index/IndexDecl.cpp index e8b2f1052d7..7de70a10b69 100644 --- a/clang/lib/Index/IndexDecl.cpp +++ b/clang/lib/Index/IndexDecl.cpp @@ -184,9 +184,7 @@ public: continue; } Relations.emplace_back( - SymbolRoleSet(SymbolRole::RelationOverrideOf) | - SymbolRoleSet(SymbolRole::RelationSpecializationOf), - ND); + SymbolRoleSet(SymbolRole::RelationSpecializationOf), ND); } } } |

