Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DDeclSpec.cpp523 const char *DeclSpec::getSpecifierName(TypeSpecifierWidth W) { in getSpecifierName()
525 case TypeSpecifierWidth::Unspecified: in getSpecifierName()
527 case TypeSpecifierWidth::Short: in getSpecifierName()
529 case TypeSpecifierWidth::Long: in getSpecifierName()
531 case TypeSpecifierWidth::LongLong: in getSpecifierName()
721 bool DeclSpec::SetTypeSpecWidth(TypeSpecifierWidth W, SourceLocation Loc, in SetTypeSpecWidth()
726 if (getTypeSpecWidth() == TypeSpecifierWidth::Unspecified) in SetTypeSpecWidth()
729 else if (W != TypeSpecifierWidth::LongLong || in SetTypeSpecWidth()
730 getTypeSpecWidth() != TypeSpecifierWidth::Long) in SetTypeSpecWidth()
1165 (getTypeSpecWidth() != TypeSpecifierWidth::Unspecified || in Finish()
[all …]
H A DSemaType.cpp1015 case TypeSpecifierWidth::Unspecified: in ConvertDeclSpecToType()
1018 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType()
1021 case TypeSpecifierWidth::Long: in ConvertDeclSpecToType()
1024 case TypeSpecifierWidth::LongLong: in ConvertDeclSpecToType()
1040 case TypeSpecifierWidth::Unspecified: in ConvertDeclSpecToType()
1043 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType()
1046 case TypeSpecifierWidth::Long: in ConvertDeclSpecToType()
1049 case TypeSpecifierWidth::LongLong: in ConvertDeclSpecToType()
1080 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType()
1083 case TypeSpecifierWidth::Unspecified: in ConvertDeclSpecToType()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSpecifiers.h47 enum class TypeSpecifierWidth { Unspecified, Short, Long, LongLong }; enum
115 LLVM_PREFERRED_TYPE(TypeSpecifierWidth)
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h364 LLVM_PREFERRED_TYPE(TypeSpecifierWidth)
486 TypeSpecWidth(static_cast<unsigned>(TypeSpecifierWidth::Unspecified)), in DeclSpec()
529 TypeSpecifierWidth getTypeSpecWidth() const { in getTypeSpecWidth()
530 return static_cast<TypeSpecifierWidth>(TypeSpecWidth); in getTypeSpecWidth()
607 static const char *getSpecifierName(TypeSpecifierWidth W);
692 getTypeSpecWidth() != TypeSpecifierWidth::Unspecified || in hasTypeSpecifier()
725 bool SetTypeSpecWidth(TypeSpecifierWidth W, SourceLocation Loc,
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeLoc.h631 TypeSpecifierWidth getWrittenWidthSpec() const { in getWrittenWidthSpec()
633 return static_cast<TypeSpecifierWidth>(getWrittenBuiltinSpecs().Width); in getWrittenWidthSpec()
635 return TypeSpecifierWidth::Unspecified; in getWrittenWidthSpec()
639 return getWrittenWidthSpec() != TypeSpecifierWidth::Unspecified; in hasWrittenWidthSpec()
642 void setWrittenWidthSpec(TypeSpecifierWidth written) { in setWrittenWidthSpec()
675 wbs.Width = static_cast<unsigned>(TypeSpecifierWidth::Unspecified); in initializeLocal()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExprCXX.cpp2100 DS.SetTypeSpecWidth(TypeSpecifierWidth::Short, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
2104 DS.SetTypeSpecWidth(TypeSpecifierWidth::Long, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
2108 DS.SetTypeSpecWidth(TypeSpecifierWidth::LongLong, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
H A DParseDecl.cpp4248 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::Short, Loc, PrevSpec, in ParseDeclarationSpecifiers()
4252 if (DS.getTypeSpecWidth() != TypeSpecifierWidth::Long) in ParseDeclarationSpecifiers()
4253 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::Long, Loc, PrevSpec, in ParseDeclarationSpecifiers()
4256 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::LongLong, Loc, in ParseDeclarationSpecifiers()
4260 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::LongLong, Loc, in ParseDeclarationSpecifiers()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp7127 TL.setWrittenWidthSpec(static_cast<TypeSpecifierWidth>(Reader.readInt())); in VisitBuiltinTypeLoc()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc4561 …ierNameENS_18TypeSpecifierWidthE", "clang::DeclSpec::getSpecifierName(clang::TypeSpecifierWidth)"},
4568 …4SourceLocationERPKcRj", "clang::DeclSpec::SetTypeSpecWidth(clang::TypeSpecifierWidth, clang::Sour…