Home
last modified time | relevance | path

Searched refs:TypeSpecifierWidth (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DDeclSpec.cpp509 case TypeSpecifierWidth::Unspecified: in getSpecifierName()
511 case TypeSpecifierWidth::Short: in getSpecifierName()
513 case TypeSpecifierWidth::Long: in getSpecifierName()
515 case TypeSpecifierWidth::LongLong: in getSpecifierName()
702 else if (W != TypeSpecifierWidth::LongLong || in SetTypeSpecWidth()
703 getTypeSpecWidth() != TypeSpecifierWidth::Long) in SetTypeSpecWidth()
1206 if (getTypeSpecWidth() == TypeSpecifierWidth::Long || in Finish()
1265 case TypeSpecifierWidth::Unspecified: in Finish()
1267 case TypeSpecifierWidth::Short: // short int in Finish()
1268 case TypeSpecifierWidth::LongLong: // long long int in Finish()
[all …]
H A DSemaType.cpp1379 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType()
1382 case TypeSpecifierWidth::Long: in ConvertDeclSpecToType()
1385 case TypeSpecifierWidth::LongLong: in ConvertDeclSpecToType()
1404 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType()
1407 case TypeSpecifierWidth::Long: in ConvertDeclSpecToType()
1441 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType()
1447 case TypeSpecifierWidth::Long: in ConvertDeclSpecToType()
1450 case TypeSpecifierWidth::LongLong: in ConvertDeclSpecToType()
1464 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType()
1470 case TypeSpecifierWidth::Long: in ConvertDeclSpecToType()
[all …]
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DSpecifiers.h44 enum class TypeSpecifierWidth { Unspecified, Short, Long, LongLong }; enum
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DDeclSpec.h426 TypeSpecWidth(static_cast<unsigned>(TypeSpecifierWidth::Unspecified)), in DeclSpec()
469 TypeSpecifierWidth getTypeSpecWidth() const { in getTypeSpecWidth()
470 return static_cast<TypeSpecifierWidth>(TypeSpecWidth); in getTypeSpecWidth()
540 static const char *getSpecifierName(TypeSpecifierWidth W);
624 getTypeSpecWidth() != TypeSpecifierWidth::Unspecified || in hasTypeSpecifier()
657 bool SetTypeSpecWidth(TypeSpecifierWidth W, SourceLocation Loc,
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTypeLoc.h617 TypeSpecifierWidth getWrittenWidthSpec() const { in getWrittenWidthSpec()
619 return static_cast<TypeSpecifierWidth>(getWrittenBuiltinSpecs().Width); in getWrittenWidthSpec()
621 return TypeSpecifierWidth::Unspecified; in getWrittenWidthSpec()
625 return getWrittenWidthSpec() != TypeSpecifierWidth::Unspecified; in hasWrittenWidthSpec()
628 void setWrittenWidthSpec(TypeSpecifierWidth written) { in setWrittenWidthSpec()
661 wbs.Width = static_cast<unsigned>(TypeSpecifierWidth::Unspecified); in initializeLocal()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseExprCXX.cpp2219 DS.SetTypeSpecWidth(TypeSpecifierWidth::Short, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
2223 DS.SetTypeSpecWidth(TypeSpecifierWidth::Long, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
2227 DS.SetTypeSpecWidth(TypeSpecifierWidth::LongLong, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
H A DParseDecl.cpp3934 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::Short, Loc, PrevSpec, in ParseDeclarationSpecifiers()
3938 if (DS.getTypeSpecWidth() != TypeSpecifierWidth::Long) in ParseDeclarationSpecifiers()
3939 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::Long, Loc, PrevSpec, in ParseDeclarationSpecifiers()
3942 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::LongLong, Loc, in ParseDeclarationSpecifiers()
3946 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::LongLong, Loc, in ParseDeclarationSpecifiers()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReader.cpp6550 TL.setWrittenWidthSpec(static_cast<TypeSpecifierWidth>(Reader.readInt())); in VisitBuiltinTypeLoc()