Vendor import of clang trunk r321414:
https://llvm.org/svn/llvm-project/cfe/trunk@321414
This commit is contained in:
@@ -1304,11 +1304,11 @@ static CXIdxEntityKind getEntityKindFromSymbolKind(SymbolKind K, SymbolLanguage
|
||||
|
||||
static CXIdxEntityCXXTemplateKind
|
||||
getEntityKindFromSymbolProperties(SymbolPropertySet K) {
|
||||
if (K & (unsigned)SymbolProperty::TemplatePartialSpecialization)
|
||||
if (K & (SymbolPropertySet)SymbolProperty::TemplatePartialSpecialization)
|
||||
return CXIdxEntity_TemplatePartialSpecialization;
|
||||
if (K & (unsigned)SymbolProperty::TemplateSpecialization)
|
||||
if (K & (SymbolPropertySet)SymbolProperty::TemplateSpecialization)
|
||||
return CXIdxEntity_TemplateSpecialization;
|
||||
if (K & (unsigned)SymbolProperty::Generic)
|
||||
if (K & (SymbolPropertySet)SymbolProperty::Generic)
|
||||
return CXIdxEntity_Template;
|
||||
return CXIdxEntity_NonTemplate;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user