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()
136 raw_ostream &operator<<(raw_ostream &OS, DeclarationName N) { in operator <<()
138 case DeclarationName::Identifier: in operator <<()
143 case DeclarationName::ObjCZeroArgSelector: in operator <<()
144 case DeclarationName::ObjCOneArgSelector: in operator <<()
145 case DeclarationName::ObjCMultiArgSelector: in operator <<()
149 case DeclarationName::CXXConstructorName: { in operator <<()
158 case DeclarationName::CXXDestructorName: { in operator <<()
168 case DeclarationName::CXXOperatorName: { in operator <<()
184 case DeclarationName::CXXLiteralOperatorName: in operator <<()
187 case DeclarationName::CXXConversionFunctionName: { in operator <<()
197 case DeclarationName::CXXUsingDirective: in operator <<()
206 DeclarationName::NameKind DeclarationName::getNameKind() const { in getNameKind()
243 bool DeclarationName::isDependentName() const { in isDependentName()
248 std::string DeclarationName::getAsString() const { in getAsString()
255 QualType DeclarationName::getCXXNameType() const { in getCXXNameType()
262 OverloadedOperatorKind DeclarationName::getCXXOverloadedOperator() const { in getCXXOverloadedOperator()
272 IdentifierInfo *DeclarationName::getCXXLiteralIdentifier() const { in getCXXLiteralIdentifier()
279 void *DeclarationName::getFETokenInfoAsVoidSlow() const { in getFETokenInfoAsVoidSlow()
300 void DeclarationName::setFETokenInfo(void *T) { in setFETokenInfo()
325 DeclarationName DeclarationName::getUsingDirectiveName() { in getUsingDirectiveName()
333 return DeclarationName(Ptr); in getUsingDirectiveName()
336 void DeclarationName::dump() const { in dump()
364 DeclarationName DeclarationNameTable::getCXXConstructorName(CanQualType Ty) { in getCXXConstructorName()
365 return getCXXSpecialName(DeclarationName::CXXConstructorName, in getCXXConstructorName()
369 DeclarationName DeclarationNameTable::getCXXDestructorName(CanQualType Ty) { in getCXXDestructorName()
370 return getCXXSpecialName(DeclarationName::CXXDestructorName, in getCXXDestructorName()
374 DeclarationName
376 return getCXXSpecialName(DeclarationName::CXXConversionFunctionName, Ty); in getCXXConversionFunctionName()
379 DeclarationName
380 DeclarationNameTable::getCXXSpecialName(DeclarationName::NameKind Kind, in getCXXSpecialName()
382 assert(Kind >= DeclarationName::CXXConstructorName && in getCXXSpecialName()
383 Kind <= DeclarationName::CXXConversionFunctionName && in getCXXSpecialName()
390 case DeclarationName::CXXConstructorName: in getCXXSpecialName()
394 case DeclarationName::CXXDestructorName: in getCXXSpecialName()
398 case DeclarationName::CXXConversionFunctionName: in getCXXSpecialName()
402 return DeclarationName(); in getCXXSpecialName()
412 return DeclarationName(Name); in getCXXSpecialName()
420 return DeclarationName(SpecialName); in getCXXSpecialName()
423 DeclarationName
425 return DeclarationName(&CXXOperatorNames[(unsigned)Op]); in getCXXOperatorName()
428 DeclarationName
440 return DeclarationName (Name); in getCXXLiteralOperatorName()
448 return DeclarationName(LiteralName); in getCXXLiteralOperatorName()
451 DeclarationNameLoc::DeclarationNameLoc(DeclarationName Name) { in DeclarationNameLoc()
453 case DeclarationName::Identifier: in DeclarationNameLoc()
455 case DeclarationName::CXXConstructorName: in DeclarationNameLoc()
456 case DeclarationName::CXXDestructorName: in DeclarationNameLoc()
457 case DeclarationName::CXXConversionFunctionName: in DeclarationNameLoc()
460 case DeclarationName::CXXOperatorName: in DeclarationNameLoc()
464 case DeclarationName::CXXLiteralOperatorName: in DeclarationNameLoc()
467 case DeclarationName::ObjCZeroArgSelector: in DeclarationNameLoc()
468 case DeclarationName::ObjCOneArgSelector: in DeclarationNameLoc()
469 case DeclarationName::ObjCMultiArgSelector: in DeclarationNameLoc()
472 case DeclarationName::CXXUsingDirective: in DeclarationNameLoc()
479 case DeclarationName::Identifier: in containsUnexpandedParameterPack()
480 case DeclarationName::ObjCZeroArgSelector: in containsUnexpandedParameterPack()
481 case DeclarationName::ObjCOneArgSelector: in containsUnexpandedParameterPack()
482 case DeclarationName::ObjCMultiArgSelector: in containsUnexpandedParameterPack()
483 case DeclarationName::CXXOperatorName: in containsUnexpandedParameterPack()
484 case DeclarationName::CXXLiteralOperatorName: in containsUnexpandedParameterPack()
485 case DeclarationName::CXXUsingDirective: in containsUnexpandedParameterPack()
488 case DeclarationName::CXXConstructorName: in containsUnexpandedParameterPack()
489 case DeclarationName::CXXDestructorName: in containsUnexpandedParameterPack()
490 case DeclarationName::CXXConversionFunctionName: in containsUnexpandedParameterPack()
501 case DeclarationName::Identifier: in isInstantiationDependent()
502 case DeclarationName::ObjCZeroArgSelector: in isInstantiationDependent()
503 case DeclarationName::ObjCOneArgSelector: in isInstantiationDependent()
504 case DeclarationName::ObjCMultiArgSelector: in isInstantiationDependent()
505 case DeclarationName::CXXOperatorName: in isInstantiationDependent()
506 case DeclarationName::CXXLiteralOperatorName: in isInstantiationDependent()
507 case DeclarationName::CXXUsingDirective: in isInstantiationDependent()
510 case DeclarationName::CXXConstructorName: in isInstantiationDependent()
511 case DeclarationName::CXXDestructorName: in isInstantiationDependent()
512 case DeclarationName::CXXConversionFunctionName: in isInstantiationDependent()
530 case DeclarationName::Identifier: in printName()
531 case DeclarationName::ObjCZeroArgSelector: in printName()
532 case DeclarationName::ObjCOneArgSelector: in printName()
533 case DeclarationName::ObjCMultiArgSelector: in printName()
534 case DeclarationName::CXXOperatorName: in printName()
535 case DeclarationName::CXXLiteralOperatorName: in printName()
536 case DeclarationName::CXXUsingDirective: in printName()
540 case DeclarationName::CXXConstructorName: in printName()
541 case DeclarationName::CXXDestructorName: in printName()
542 case DeclarationName::CXXConversionFunctionName: in printName()
544 if (Name.getNameKind() == DeclarationName::CXXDestructorName) in printName()
546 else if (Name.getNameKind() == DeclarationName::CXXConversionFunctionName) in printName()
561 case DeclarationName::Identifier: in getEndLoc()
564 case DeclarationName::CXXOperatorName: { in getEndLoc()
569 case DeclarationName::CXXLiteralOperatorName: { in getEndLoc()
574 case DeclarationName::CXXConstructorName: in getEndLoc()
575 case DeclarationName::CXXDestructorName: in getEndLoc()
576 case DeclarationName::CXXConversionFunctionName: in getEndLoc()
583 case DeclarationName::ObjCZeroArgSelector: in getEndLoc()
584 case DeclarationName::ObjCOneArgSelector: in getEndLoc()
585 case DeclarationName::ObjCMultiArgSelector: in getEndLoc()
586 case DeclarationName::CXXUsingDirective: in getEndLoc()