Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DDeclSpec.cpp510 const char *DeclSpec::getSpecifierName(TypeSpecifierWidth W) { in getSpecifierName()
512 case TypeSpecifierWidth::Unspecified: in getSpecifierName()
514 case TypeSpecifierWidth::Short: in getSpecifierName()
516 case TypeSpecifierWidth::Long: in getSpecifierName()
518 case TypeSpecifierWidth::LongLong: in getSpecifierName()
702 bool DeclSpec::SetTypeSpecWidth(TypeSpecifierWidth W, SourceLocation Loc, in SetTypeSpecWidth()
707 if (getTypeSpecWidth() == TypeSpecifierWidth::Unspecified) in SetTypeSpecWidth()
710 else if (W != TypeSpecifierWidth::LongLong || in SetTypeSpecWidth()
711 getTypeSpecWidth() != TypeSpecifierWidth::Long) in SetTypeSpecWidth()
1133 (getTypeSpecWidth() != TypeSpecifierWidth::Unspecified || in Finish()
[all …]
H A DSemaType.cpp1389 case TypeSpecifierWidth::Unspecified: in ConvertDeclSpecToType()
1392 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType()
1395 case TypeSpecifierWidth::Long: in ConvertDeclSpecToType()
1398 case TypeSpecifierWidth::LongLong: in ConvertDeclSpecToType()
1414 case TypeSpecifierWidth::Unspecified: in ConvertDeclSpecToType()
1417 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType()
1420 case TypeSpecifierWidth::Long: in ConvertDeclSpecToType()
1423 case TypeSpecifierWidth::LongLong: in ConvertDeclSpecToType()
1454 case TypeSpecifierWidth::Short: in ConvertDeclSpecToType()
1457 case TypeSpecifierWidth::Unspecified: in ConvertDeclSpecToType()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DSpecifiers.h44 enum class TypeSpecifierWidth { Unspecified, Short, Long, LongLong }; enum
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DDeclSpec.h445 TypeSpecWidth(static_cast<unsigned>(TypeSpecifierWidth::Unspecified)), in DeclSpec()
488 TypeSpecifierWidth getTypeSpecWidth() const { in getTypeSpecWidth()
489 return static_cast<TypeSpecifierWidth>(TypeSpecWidth); in getTypeSpecWidth()
559 static const char *getSpecifierName(TypeSpecifierWidth W);
643 getTypeSpecWidth() != TypeSpecifierWidth::Unspecified || in hasTypeSpecifier()
676 bool SetTypeSpecWidth(TypeSpecifierWidth W, SourceLocation Loc,
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseExprCXX.cpp2270 DS.SetTypeSpecWidth(TypeSpecifierWidth::Short, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
2274 DS.SetTypeSpecWidth(TypeSpecifierWidth::Long, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
2278 DS.SetTypeSpecWidth(TypeSpecifierWidth::LongLong, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier()
H A DParseDecl.cpp4012 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::Short, Loc, PrevSpec, in ParseDeclarationSpecifiers()
4016 if (DS.getTypeSpecWidth() != TypeSpecifierWidth::Long) in ParseDeclarationSpecifiers()
4017 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::Long, Loc, PrevSpec, in ParseDeclarationSpecifiers()
4020 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::LongLong, Loc, in ParseDeclarationSpecifiers()
4024 isInvalid = DS.SetTypeSpecWidth(TypeSpecifierWidth::LongLong, Loc, in ParseDeclarationSpecifiers()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReader.cpp6590 TL.setWrittenWidthSpec(static_cast<TypeSpecifierWidth>(Reader.readInt())); in VisitBuiltinTypeLoc()