Home
last modified time | relevance | path

Searched refs:TypeSpecifierSign (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/clang/lib/Sema/
DDeclSpec.cpp528 const char *DeclSpec::getSpecifierName(TypeSpecifierSign S) { in getSpecifierName()
530 case TypeSpecifierSign::Unspecified: in getSpecifierName()
532 case TypeSpecifierSign::Signed: in getSpecifierName()
534 case TypeSpecifierSign::Unsigned: in getSpecifierName()
718 bool DeclSpec::SetTypeSpecSign(TypeSpecifierSign S, SourceLocation Loc, in SetTypeSpecSign()
720 if (getTypeSpecSign() != TypeSpecifierSign::Unspecified) in SetTypeSpecSign()
1125 getTypeSpecSign() != TypeSpecifierSign::Unspecified || in Finish()
1146 TypeSpecSign = static_cast<unsigned>(TypeSpecifierSign::Unspecified); in Finish()
1158 if (getTypeSpecSign() != TypeSpecifierSign::Unspecified) { in Finish()
1195 TypeSpecSign = static_cast<unsigned>(TypeSpecifierSign::Unsigned); in Finish()
[all …]
DSemaType.cpp1304 if (DS.getTypeSpecSign() == TypeSpecifierSign::Unspecified) in ConvertDeclSpecToType()
1306 else if (DS.getTypeSpecSign() == TypeSpecifierSign::Signed) in ConvertDeclSpecToType()
1309 assert(DS.getTypeSpecSign() == TypeSpecifierSign::Unsigned && in ConvertDeclSpecToType()
1315 if (DS.getTypeSpecSign() == TypeSpecifierSign::Unspecified) in ConvertDeclSpecToType()
1317 else if (DS.getTypeSpecSign() == TypeSpecifierSign::Signed) { in ConvertDeclSpecToType()
1323 assert(DS.getTypeSpecSign() == TypeSpecifierSign::Unsigned && in ConvertDeclSpecToType()
1332 assert(DS.getTypeSpecSign() == TypeSpecifierSign::Unspecified && in ConvertDeclSpecToType()
1337 assert(DS.getTypeSpecSign() == TypeSpecifierSign::Unspecified && in ConvertDeclSpecToType()
1342 assert(DS.getTypeSpecSign() == TypeSpecifierSign::Unspecified && in ConvertDeclSpecToType()
1405 if (DS.getTypeSpecSign() != TypeSpecifierSign::Unsigned) { in ConvertDeclSpecToType()
[all …]
DSemaCodeComplete.cpp4263 DS.getTypeSpecSign() == TypeSpecifierSign::Unspecified && in CodeCompleteDeclSpec()
/external/clang/include/clang/Basic/
DSpecifiers.h33 enum TypeSpecifierSign { enum
/external/llvm-project/clang/include/clang/Basic/
DSpecifiers.h38 enum class TypeSpecifierSign { Unspecified, Signed, Unsigned }; enum
/external/llvm-project/clang/include/clang/Sema/
DDeclSpec.h427 TypeSpecSign(static_cast<unsigned>(TypeSpecifierSign::Unspecified)), in DeclSpec()
473 TypeSpecifierSign getTypeSpecSign() const { in getTypeSpecSign()
474 return static_cast<TypeSpecifierSign>(TypeSpecSign); in getTypeSpecSign()
537 static const char *getSpecifierName(TypeSpecifierSign S);
625 getTypeSpecSign() != TypeSpecifierSign::Unspecified; in hasTypeSpecifier()
661 bool SetTypeSpecSign(TypeSpecifierSign S, SourceLocation Loc,
/external/llvm-project/clang/include/clang/AST/
DTypeLoc.h602 TypeSpecifierSign getWrittenSignSpec() const { in getWrittenSignSpec()
604 return static_cast<TypeSpecifierSign>(getWrittenBuiltinSpecs().Sign); in getWrittenSignSpec()
606 return TypeSpecifierSign::Unspecified; in getWrittenSignSpec()
610 return getWrittenSignSpec() != TypeSpecifierSign::Unspecified; in hasWrittenSignSpec()
613 void setWrittenSignSpec(TypeSpecifierSign written) { in setWrittenSignSpec()
661 wbs.Sign = static_cast<unsigned>(TypeSpecifierSign::Unspecified); in initializeLocal()
/external/clang/include/clang/AST/
DTypeLoc.h558 TypeSpecifierSign getWrittenSignSpec() const { in getWrittenSignSpec()
560 return static_cast<TypeSpecifierSign>(getWrittenBuiltinSpecs().Sign); in getWrittenSignSpec()
567 void setWrittenSignSpec(TypeSpecifierSign written) { in setWrittenSignSpec()
/external/llvm-project/clang/lib/Parse/
DParseExprCXX.cpp2209 DS.SetTypeSpecSign(TypeSpecifierSign::Signed, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier()
2212 DS.SetTypeSpecSign(TypeSpecifierSign::Unsigned, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier()
DParseDecl.cpp3736 DS.SetTypeSpecSign(TypeSpecifierSign::Signed, Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers()
3739 isInvalid = DS.SetTypeSpecSign(TypeSpecifierSign::Unsigned, Loc, PrevSpec, in ParseDeclarationSpecifiers()
/external/clang/include/clang/Sema/
DDeclSpec.h265 typedef TypeSpecifierSign TSS;
/external/llvm-project/clang/lib/Serialization/
DASTReader.cpp6460 TL.setWrittenSignSpec(static_cast<TypeSpecifierSign>(Reader.readInt())); in VisitBuiltinTypeLoc()