Searched refs:TypeSpecifierWidth (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | DeclSpec.cpp | 524 const char *DeclSpec::getSpecifierName(TypeSpecifierWidth W) { in getSpecifierName() 526 case TypeSpecifierWidth::Unspecified: in getSpecifierName() 528 case TypeSpecifierWidth::Short: in getSpecifierName() 530 case TypeSpecifierWidth::Long: in getSpecifierName() 532 case TypeSpecifierWidth::LongLong: in getSpecifierName() 718 bool DeclSpec::SetTypeSpecWidth(TypeSpecifierWidth W, SourceLocation Loc, in SetTypeSpecWidth() 723 if (getTypeSpecWidth() == TypeSpecifierWidth::Unspecified) in SetTypeSpecWidth() 726 else if (W != TypeSpecifierWidth::LongLong || in SetTypeSpecWidth() 727 getTypeSpecWidth() != TypeSpecifierWidth::Long) in SetTypeSpecWidth() 1162 (getTypeSpecWidth() != TypeSpecifierWidth::Unspecified || in Finish() [all …]
|
| H A D | SemaType.cpp | 1004 case TypeSpecifierWidth::Unspecified: in ConvertDeclSpecToType() 1007 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType() 1010 case TypeSpecifierWidth::Long: in ConvertDeclSpecToType() 1013 case TypeSpecifierWidth::LongLong: in ConvertDeclSpecToType() 1029 case TypeSpecifierWidth::Unspecified: in ConvertDeclSpecToType() 1032 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType() 1035 case TypeSpecifierWidth::Long: in ConvertDeclSpecToType() 1038 case TypeSpecifierWidth::LongLong: in ConvertDeclSpecToType() 1069 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType() 1072 case TypeSpecifierWidth::Unspecified: in ConvertDeclSpecToType() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Specifiers.h | 47 enum class TypeSpecifierWidth { Unspecified, Short, Long, LongLong }; enum 112 LLVM_PREFERRED_TYPE(TypeSpecifierWidth)
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 362 LLVM_PREFERRED_TYPE(TypeSpecifierWidth) 484 TypeSpecWidth(static_cast<unsigned>(TypeSpecifierWidth::Unspecified)), in DeclSpec() 527 TypeSpecifierWidth getTypeSpecWidth() const { in getTypeSpecWidth() 528 return static_cast<TypeSpecifierWidth>(TypeSpecWidth); in getTypeSpecWidth() 605 static const char *getSpecifierName(TypeSpecifierWidth W); 690 getTypeSpecWidth() != TypeSpecifierWidth::Unspecified || in hasTypeSpecifier() 723 bool SetTypeSpecWidth(TypeSpecifierWidth W, SourceLocation Loc,
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | TypeLoc.h | 629 TypeSpecifierWidth getWrittenWidthSpec() const { in getWrittenWidthSpec() 631 return static_cast<TypeSpecifierWidth>(getWrittenBuiltinSpecs().Width); in getWrittenWidthSpec() 633 return TypeSpecifierWidth::Unspecified; in getWrittenWidthSpec() 637 return getWrittenWidthSpec() != TypeSpecifierWidth::Unspecified; in hasWrittenWidthSpec() 640 void setWrittenWidthSpec(TypeSpecifierWidth written) { in setWrittenWidthSpec() 673 wbs.Width = static_cast<unsigned>(TypeSpecifierWidth::Unspecified); in initializeLocal()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseExprCXX.cpp | 2376 DS.SetTypeSpecWidth(TypeSpecifierWidth::Short, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier() 2380 DS.SetTypeSpecWidth(TypeSpecifierWidth::Long, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier() 2384 DS.SetTypeSpecWidth(TypeSpecifierWidth::LongLong, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
|
| H A D | ParseDecl.cpp | 4455 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::Short, Loc, PrevSpec, in ParseDeclarationSpecifiers() 4459 if (DS.getTypeSpecWidth() != TypeSpecifierWidth::Long) in ParseDeclarationSpecifiers() 4460 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::Long, Loc, PrevSpec, in ParseDeclarationSpecifiers() 4463 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::LongLong, Loc, in ParseDeclarationSpecifiers() 4467 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::LongLong, Loc, in ParseDeclarationSpecifiers()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 6792 TL.setWrittenWidthSpec(static_cast<TypeSpecifierWidth>(Reader.readInt())); in VisitBuiltinTypeLoc()
|