Lines Matching refs:DeclarationName
80 int DeclarationName::compare(DeclarationName LHS, DeclarationName RHS) { in compare()
85 case DeclarationName::Identifier: { in compare()
94 case DeclarationName::ObjCZeroArgSelector: in compare()
95 case DeclarationName::ObjCOneArgSelector: in compare()
96 case DeclarationName::ObjCMultiArgSelector: { in compare()
112 case DeclarationName::CXXConstructorName: in compare()
113 case DeclarationName::CXXDestructorName: in compare()
114 case DeclarationName::CXXConversionFunctionName: in compare()
121 case DeclarationName::CXXOperatorName: in compare()
125 case DeclarationName::CXXLiteralOperatorName: in compare()
129 case DeclarationName::CXXUsingDirective: in compare()
155 void DeclarationName::print(raw_ostream &OS, const PrintingPolicy &Policy) { in print()
156 DeclarationName &N = *this; in print()
158 case DeclarationName::Identifier: in print()
163 case DeclarationName::ObjCZeroArgSelector: in print()
164 case DeclarationName::ObjCOneArgSelector: in print()
165 case DeclarationName::ObjCMultiArgSelector: in print()
169 case DeclarationName::CXXConstructorName: in print()
172 case DeclarationName::CXXDestructorName: { in print()
177 case DeclarationName::CXXOperatorName: { in print()
194 case DeclarationName::CXXLiteralOperatorName: in print()
198 case DeclarationName::CXXConversionFunctionName: { in print()
211 case DeclarationName::CXXUsingDirective: in print()
219 raw_ostream &operator<<(raw_ostream &OS, DeclarationName N) { in operator <<()
227 DeclarationName::NameKind DeclarationName::getNameKind() const { in getNameKind()
264 bool DeclarationName::isDependentName() const { in isDependentName()
269 std::string DeclarationName::getAsString() const { in getAsString()
276 QualType DeclarationName::getCXXNameType() const { in getCXXNameType()
283 OverloadedOperatorKind DeclarationName::getCXXOverloadedOperator() const { in getCXXOverloadedOperator()
293 IdentifierInfo *DeclarationName::getCXXLiteralIdentifier() const { in getCXXLiteralIdentifier()
300 void *DeclarationName::getFETokenInfoAsVoidSlow() const { in getFETokenInfoAsVoidSlow()
321 void DeclarationName::setFETokenInfo(void *T) { in setFETokenInfo()
346 DeclarationName DeclarationName::getUsingDirectiveName() { in getUsingDirectiveName()
354 return DeclarationName(Ptr); in getUsingDirectiveName()
357 LLVM_DUMP_METHOD void DeclarationName::dump() const { in dump()
385 DeclarationName DeclarationNameTable::getCXXConstructorName(CanQualType Ty) { in getCXXConstructorName()
386 return getCXXSpecialName(DeclarationName::CXXConstructorName, in getCXXConstructorName()
390 DeclarationName DeclarationNameTable::getCXXDestructorName(CanQualType Ty) { in getCXXDestructorName()
391 return getCXXSpecialName(DeclarationName::CXXDestructorName, in getCXXDestructorName()
395 DeclarationName
397 return getCXXSpecialName(DeclarationName::CXXConversionFunctionName, Ty); in getCXXConversionFunctionName()
400 DeclarationName
401 DeclarationNameTable::getCXXSpecialName(DeclarationName::NameKind Kind, in getCXXSpecialName()
403 assert(Kind >= DeclarationName::CXXConstructorName && in getCXXSpecialName()
404 Kind <= DeclarationName::CXXConversionFunctionName && in getCXXSpecialName()
411 case DeclarationName::CXXConstructorName: in getCXXSpecialName()
415 case DeclarationName::CXXDestructorName: in getCXXSpecialName()
419 case DeclarationName::CXXConversionFunctionName: in getCXXSpecialName()
423 return DeclarationName(); in getCXXSpecialName()
433 return DeclarationName(Name); in getCXXSpecialName()
441 return DeclarationName(SpecialName); in getCXXSpecialName()
444 DeclarationName
446 return DeclarationName(&CXXOperatorNames[(unsigned)Op]); in getCXXOperatorName()
449 DeclarationName
461 return DeclarationName (Name); in getCXXLiteralOperatorName()
469 return DeclarationName(LiteralName); in getCXXLiteralOperatorName()
472 DeclarationNameLoc::DeclarationNameLoc(DeclarationName Name) { in DeclarationNameLoc()
474 case DeclarationName::Identifier: in DeclarationNameLoc()
476 case DeclarationName::CXXConstructorName: in DeclarationNameLoc()
477 case DeclarationName::CXXDestructorName: in DeclarationNameLoc()
478 case DeclarationName::CXXConversionFunctionName: in DeclarationNameLoc()
481 case DeclarationName::CXXOperatorName: in DeclarationNameLoc()
485 case DeclarationName::CXXLiteralOperatorName: in DeclarationNameLoc()
488 case DeclarationName::ObjCZeroArgSelector: in DeclarationNameLoc()
489 case DeclarationName::ObjCOneArgSelector: in DeclarationNameLoc()
490 case DeclarationName::ObjCMultiArgSelector: in DeclarationNameLoc()
493 case DeclarationName::CXXUsingDirective: in DeclarationNameLoc()
500 case DeclarationName::Identifier: in containsUnexpandedParameterPack()
501 case DeclarationName::ObjCZeroArgSelector: in containsUnexpandedParameterPack()
502 case DeclarationName::ObjCOneArgSelector: in containsUnexpandedParameterPack()
503 case DeclarationName::ObjCMultiArgSelector: in containsUnexpandedParameterPack()
504 case DeclarationName::CXXOperatorName: in containsUnexpandedParameterPack()
505 case DeclarationName::CXXLiteralOperatorName: in containsUnexpandedParameterPack()
506 case DeclarationName::CXXUsingDirective: in containsUnexpandedParameterPack()
509 case DeclarationName::CXXConstructorName: in containsUnexpandedParameterPack()
510 case DeclarationName::CXXDestructorName: in containsUnexpandedParameterPack()
511 case DeclarationName::CXXConversionFunctionName: in containsUnexpandedParameterPack()
522 case DeclarationName::Identifier: in isInstantiationDependent()
523 case DeclarationName::ObjCZeroArgSelector: in isInstantiationDependent()
524 case DeclarationName::ObjCOneArgSelector: in isInstantiationDependent()
525 case DeclarationName::ObjCMultiArgSelector: in isInstantiationDependent()
526 case DeclarationName::CXXOperatorName: in isInstantiationDependent()
527 case DeclarationName::CXXLiteralOperatorName: in isInstantiationDependent()
528 case DeclarationName::CXXUsingDirective: in isInstantiationDependent()
531 case DeclarationName::CXXConstructorName: in isInstantiationDependent()
532 case DeclarationName::CXXDestructorName: in isInstantiationDependent()
533 case DeclarationName::CXXConversionFunctionName: in isInstantiationDependent()
551 case DeclarationName::Identifier: in printName()
552 case DeclarationName::ObjCZeroArgSelector: in printName()
553 case DeclarationName::ObjCOneArgSelector: in printName()
554 case DeclarationName::ObjCMultiArgSelector: in printName()
555 case DeclarationName::CXXOperatorName: in printName()
556 case DeclarationName::CXXLiteralOperatorName: in printName()
557 case DeclarationName::CXXUsingDirective: in printName()
561 case DeclarationName::CXXConstructorName: in printName()
562 case DeclarationName::CXXDestructorName: in printName()
563 case DeclarationName::CXXConversionFunctionName: in printName()
565 if (Name.getNameKind() == DeclarationName::CXXDestructorName) in printName()
567 else if (Name.getNameKind() == DeclarationName::CXXConversionFunctionName) in printName()
582 case DeclarationName::Identifier: in getEndLoc()
585 case DeclarationName::CXXOperatorName: { in getEndLoc()
590 case DeclarationName::CXXLiteralOperatorName: { in getEndLoc()
595 case DeclarationName::CXXConstructorName: in getEndLoc()
596 case DeclarationName::CXXDestructorName: in getEndLoc()
597 case DeclarationName::CXXConversionFunctionName: in getEndLoc()
604 case DeclarationName::ObjCZeroArgSelector: in getEndLoc()
605 case DeclarationName::ObjCOneArgSelector: in getEndLoc()
606 case DeclarationName::ObjCMultiArgSelector: in getEndLoc()
607 case DeclarationName::CXXUsingDirective: in getEndLoc()