Lines Matching refs:DeclSpec
180 assert(!(TypeQuals & DeclSpec::TQ_atomic) && in getFunction()
343 return getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static || in isStaticMember()
354 bool DeclSpec::hasTagDefinition() const { in hasTagDefinition()
363 unsigned DeclSpec::getParsedSpecifiers() const { in getParsedSpecifiers()
385 PrevSpec = DeclSpec::getSpecifierName(TPrev); in BadSpecifier()
394 const char *DeclSpec::getSpecifierName(DeclSpec::SCS S) { in getSpecifierName()
396 case DeclSpec::SCS_unspecified: return "unspecified"; in getSpecifierName()
397 case DeclSpec::SCS_typedef: return "typedef"; in getSpecifierName()
398 case DeclSpec::SCS_extern: return "extern"; in getSpecifierName()
399 case DeclSpec::SCS_static: return "static"; in getSpecifierName()
400 case DeclSpec::SCS_auto: return "auto"; in getSpecifierName()
401 case DeclSpec::SCS_register: return "register"; in getSpecifierName()
402 case DeclSpec::SCS_private_extern: return "__private_extern__"; in getSpecifierName()
403 case DeclSpec::SCS_mutable: return "mutable"; in getSpecifierName()
408 const char *DeclSpec::getSpecifierName(DeclSpec::TSCS S) { in getSpecifierName()
410 case DeclSpec::TSCS_unspecified: return "unspecified"; in getSpecifierName()
411 case DeclSpec::TSCS___thread: return "__thread"; in getSpecifierName()
412 case DeclSpec::TSCS_thread_local: return "thread_local"; in getSpecifierName()
413 case DeclSpec::TSCS__Thread_local: return "_Thread_local"; in getSpecifierName()
418 const char *DeclSpec::getSpecifierName(TSW W) { in getSpecifierName()
428 const char *DeclSpec::getSpecifierName(TSC C) { in getSpecifierName()
438 const char *DeclSpec::getSpecifierName(TSS S) { in getSpecifierName()
447 const char *DeclSpec::getSpecifierName(DeclSpec::TST T, in getSpecifierName()
450 case DeclSpec::TST_unspecified: return "unspecified"; in getSpecifierName()
451 case DeclSpec::TST_void: return "void"; in getSpecifierName()
452 case DeclSpec::TST_char: return "char"; in getSpecifierName()
453 case DeclSpec::TST_wchar: return Policy.MSWChar ? "__wchar_t" : "wchar_t"; in getSpecifierName()
454 case DeclSpec::TST_char16: return "char16_t"; in getSpecifierName()
455 case DeclSpec::TST_char32: return "char32_t"; in getSpecifierName()
456 case DeclSpec::TST_int: return "int"; in getSpecifierName()
457 case DeclSpec::TST_int128: return "__int128"; in getSpecifierName()
458 case DeclSpec::TST_half: return "half"; in getSpecifierName()
459 case DeclSpec::TST_float: return "float"; in getSpecifierName()
460 case DeclSpec::TST_double: return "double"; in getSpecifierName()
461 case DeclSpec::TST_float128: return "__float128"; in getSpecifierName()
462 case DeclSpec::TST_bool: return Policy.Bool ? "bool" : "_Bool"; in getSpecifierName()
463 case DeclSpec::TST_decimal32: return "_Decimal32"; in getSpecifierName()
464 case DeclSpec::TST_decimal64: return "_Decimal64"; in getSpecifierName()
465 case DeclSpec::TST_decimal128: return "_Decimal128"; in getSpecifierName()
466 case DeclSpec::TST_enum: return "enum"; in getSpecifierName()
467 case DeclSpec::TST_class: return "class"; in getSpecifierName()
468 case DeclSpec::TST_union: return "union"; in getSpecifierName()
469 case DeclSpec::TST_struct: return "struct"; in getSpecifierName()
470 case DeclSpec::TST_interface: return "__interface"; in getSpecifierName()
471 case DeclSpec::TST_typename: return "type-name"; in getSpecifierName()
472 case DeclSpec::TST_typeofType: in getSpecifierName()
473 case DeclSpec::TST_typeofExpr: return "typeof"; in getSpecifierName()
474 case DeclSpec::TST_auto: return "auto"; in getSpecifierName()
475 case DeclSpec::TST_auto_type: return "__auto_type"; in getSpecifierName()
476 case DeclSpec::TST_decltype: return "(decltype)"; in getSpecifierName()
477 case DeclSpec::TST_decltype_auto: return "decltype(auto)"; in getSpecifierName()
478 case DeclSpec::TST_underlyingType: return "__underlying_type"; in getSpecifierName()
479 case DeclSpec::TST_unknown_anytype: return "__unknown_anytype"; in getSpecifierName()
480 case DeclSpec::TST_atomic: return "_Atomic"; in getSpecifierName()
482 case DeclSpec::TST_##ImgType##_t: \ in getSpecifierName()
485 case DeclSpec::TST_error: return "(error)"; in getSpecifierName()
490 const char *DeclSpec::getSpecifierName(TQ T) { in getSpecifierName()
492 case DeclSpec::TQ_unspecified: return "unspecified"; in getSpecifierName()
493 case DeclSpec::TQ_const: return "const"; in getSpecifierName()
494 case DeclSpec::TQ_restrict: return "restrict"; in getSpecifierName()
495 case DeclSpec::TQ_volatile: return "volatile"; in getSpecifierName()
496 case DeclSpec::TQ_atomic: return "_Atomic"; in getSpecifierName()
497 case DeclSpec::TQ_unaligned: return "__unaligned"; in getSpecifierName()
502 bool DeclSpec::SetStorageClassSpec(Sema &S, SCS SC, SourceLocation Loc, in SetStorageClassSpec()
563 bool DeclSpec::SetStorageClassSpecThread(TSCS TSC, SourceLocation Loc, in SetStorageClassSpecThread()
577 bool DeclSpec::SetTypeSpecWidth(TSW W, SourceLocation Loc, in SetTypeSpecWidth()
592 bool DeclSpec::SetTypeSpecComplex(TSC C, SourceLocation Loc, in SetTypeSpecComplex()
602 bool DeclSpec::SetTypeSpecSign(TSS S, SourceLocation Loc, in SetTypeSpecSign()
612 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType()
620 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation TagKwLoc, in SetTypeSpecType()
629 PrevSpec = DeclSpec::getSpecifierName((TST) TypeSpecType, Policy); in SetTypeSpecType()
641 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType()
649 PrevSpec = DeclSpec::getSpecifierName((TST) TypeSpecType, Policy); in SetTypeSpecType()
661 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType()
669 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation TagKwLoc, in SetTypeSpecType()
679 PrevSpec = DeclSpec::getSpecifierName((TST) TypeSpecType, Policy); in SetTypeSpecType()
691 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType()
698 PrevSpec = DeclSpec::getSpecifierName((TST) TypeSpecType, Policy); in SetTypeSpecType()
713 bool DeclSpec::SetTypeAltiVecVector(bool isAltiVecVector, SourceLocation Loc, in SetTypeAltiVecVector()
717 PrevSpec = DeclSpec::getSpecifierName((TST) TypeSpecType, Policy); in SetTypeAltiVecVector()
726 bool DeclSpec::SetTypePipe(bool isPipe, SourceLocation Loc, in SetTypePipe()
731 PrevSpec = DeclSpec::getSpecifierName((TST)TypeSpecType, Policy); in SetTypePipe()
742 bool DeclSpec::SetTypeAltiVecPixel(bool isAltiVecPixel, SourceLocation Loc, in SetTypeAltiVecPixel()
747 PrevSpec = DeclSpec::getSpecifierName((TST) TypeSpecType, Policy); in SetTypeAltiVecPixel()
757 bool DeclSpec::SetTypeAltiVecBool(bool isAltiVecBool, SourceLocation Loc, in SetTypeAltiVecBool()
762 PrevSpec = DeclSpec::getSpecifierName((TST) TypeSpecType, Policy); in SetTypeAltiVecBool()
772 bool DeclSpec::SetTypeSpecError() { in SetTypeSpecError()
780 bool DeclSpec::SetTypeQual(TQ T, SourceLocation Loc, const char *&PrevSpec, in SetTypeQual()
806 bool DeclSpec::setFunctionSpecInline(SourceLocation Loc, const char *&PrevSpec, in setFunctionSpecInline()
820 bool DeclSpec::setFunctionSpecForceInline(SourceLocation Loc, const char *&PrevSpec, in setFunctionSpecForceInline()
832 bool DeclSpec::setFunctionSpecVirtual(SourceLocation Loc, in setFunctionSpecVirtual()
847 bool DeclSpec::setFunctionSpecExplicit(SourceLocation Loc, in setFunctionSpecExplicit()
862 bool DeclSpec::setFunctionSpecNoreturn(SourceLocation Loc, in setFunctionSpecNoreturn()
877 bool DeclSpec::SetFriendSpec(SourceLocation Loc, const char *&PrevSpec, in SetFriendSpec()
895 bool DeclSpec::setModulePrivateSpec(SourceLocation Loc, const char *&PrevSpec, in setModulePrivateSpec()
907 bool DeclSpec::SetConstexprSpec(SourceLocation Loc, const char *&PrevSpec, in SetConstexprSpec()
921 bool DeclSpec::SetConceptSpec(SourceLocation Loc, const char *&PrevSpec, in SetConceptSpec()
933 void DeclSpec::SaveWrittenBuiltinSpecs() { in SaveWrittenBuiltinSpecs()
953 void DeclSpec::Finish(Sema &S, const PrintingPolicy &Policy) { in Finish()
1130 << DeclSpec::getSpecifierName(getThreadStorageClassSpec()) in Finish()
1135 << DeclSpec::getSpecifierName(getStorageClassSpec()) in Finish()
1177 if (DeclSpec::SCS SC = getStorageClassSpec()) { in Finish()
1183 if (DeclSpec::TSCS TSC = getThreadStorageClassSpec()) { in Finish()
1232 bool DeclSpec::isMissingDeclaratorOk() { in isMissingDeclaratorOk()
1235 StorageClassSpec != DeclSpec::SCS_typedef; in isMissingDeclaratorOk()