/external/clang/lib/Sema/ |
D | DeclSpec.cpp | 314 const char *&PrevSpec, in BadSpecifier() argument 316 PrevSpec = DeclSpec::getSpecifierName(TPrev); in BadSpecifier() 407 const char *&PrevSpec, in SetStorageClassSpec() argument 420 PrevSpec = getSpecifierName(S); in SetStorageClassSpec() 434 return BadSpecifier(S, (SCS)StorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpec() 443 const char *&PrevSpec, in SetStorageClassSpecThread() argument 446 PrevSpec = "__thread"; in SetStorageClassSpecThread() 459 const char *&PrevSpec, in SetTypeSpecWidth() argument 467 return BadSpecifier(W, (TSW)TypeSpecWidth, PrevSpec, DiagID); in SetTypeSpecWidth() 471 PrevSpec = DeclSpec::getSpecifierName((TST) TypeSpecType); in SetTypeSpecWidth() [all …]
|
D | SemaDecl.cpp | 2501 const char* PrevSpec = 0; in BuildAnonymousStructOrUnion() local 2515 PrevSpec, DiagID, getLangOptions()); in BuildAnonymousStructOrUnion() 2528 PrevSpec, DiagID, getLangOptions()); in BuildAnonymousStructOrUnion() 6226 const char* PrevSpec; // unused in ActOnFinishKNRParamDeclarations() local 6229 PrevSpec, DiagID); in ActOnFinishKNRParamDeclarations()
|
/external/clang/lib/Parse/ |
D | ParseDecl.cpp | 1231 const char *PrevSpec; in ParseImplicitInt() local 1233 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T); in ParseImplicitInt() 1250 const char *PrevSpec; in ParseImplicitInt() local 1252 DS.SetTypeSpecType(DeclSpec::TST_error, Loc, PrevSpec, DiagID); in ParseImplicitInt() 1311 const char *PrevSpec = 0; in ParseDeclarationSpecifiers() local 1442 PrevSpec, DiagID, T); in ParseDeclarationSpecifiers() 1491 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers() 1505 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers() 1564 if (TryAltiVecToken(DS, Loc, PrevSpec, DiagID, isInvalid)) in ParseDeclarationSpecifiers() 1586 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers() [all …]
|
D | ParseExprCXX.cpp | 1018 const char *PrevSpec; in ParseCXXSimpleTypeSpecifier() local 1033 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier() 1054 DS.SetTypeSpecWidth(DeclSpec::TSW_short, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1057 DS.SetTypeSpecWidth(DeclSpec::TSW_long, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1060 DS.SetTypeSpecWidth(DeclSpec::TSW_longlong, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1063 DS.SetTypeSpecSign(DeclSpec::TSS_signed, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1066 DS.SetTypeSpecSign(DeclSpec::TSS_unsigned, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1069 DS.SetTypeSpecType(DeclSpec::TST_void, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1072 DS.SetTypeSpecType(DeclSpec::TST_char, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1075 DS.SetTypeSpecType(DeclSpec::TST_int, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() [all …]
|
D | ParseDeclCXX.cpp | 649 const char *PrevSpec = 0; in ParseDecltypeSpecifier() local 652 if (DS.SetTypeSpecType(DeclSpec::TST_decltype, StartLoc, PrevSpec, in ParseDecltypeSpecifier() 654 Diag(StartLoc, DiagID) << PrevSpec; in ParseDecltypeSpecifier() 686 const char *PrevSpec = 0; in ParseUnderlyingTypeSpecifier() local 688 if (DS.SetTypeSpecType(DeclSpec::TST_underlyingType, StartLoc, PrevSpec, in ParseUnderlyingTypeSpecifier() 690 Diag(StartLoc, DiagID) << PrevSpec; in ParseUnderlyingTypeSpecifier() 789 const char *PrevSpec = 0; in ParseClassName() local 791 DS.SetTypeSpecType(TST_typename, IdLoc, PrevSpec, DiagID, Type); in ParseClassName() 1214 const char *PrevSpec = 0; in ParseClassSpecifier() local 1220 PrevSpec, DiagID, TypeResult.get()); in ParseClassSpecifier() [all …]
|
D | Parser.cpp | 780 const char *PrevSpec = 0; in ParseDeclarationOrFunctionDefinition() local 782 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID)) in ParseDeclarationOrFunctionDefinition() 783 Diag(AtLoc, DiagID) << PrevSpec; in ParseDeclarationOrFunctionDefinition() 838 const char *PrevSpec; in ParseFunctionDefinition() local 842 PrevSpec, DiagID); in ParseFunctionDefinition()
|
D | ParseExpr.cpp | 740 const char *PrevSpec = 0; in ParseCastExpression() local 742 DS.SetTypeSpecType(TST_typename, ILoc, PrevSpec, DiagID, Typ); in ParseCastExpression() 888 const char *PrevSpec = 0; in ParseCastExpression() local 891 PrevSpec, DiagID, Type); in ParseCastExpression()
|
/external/clang/include/clang/Sema/ |
D | DeclSpec.h | 540 bool SetStorageClassSpec(SCS S, SourceLocation Loc, const char *&PrevSpec, 542 bool SetStorageClassSpecThread(SourceLocation Loc, const char *&PrevSpec, 544 bool SetTypeSpecWidth(TSW W, SourceLocation Loc, const char *&PrevSpec, 546 bool SetTypeSpecComplex(TSC C, SourceLocation Loc, const char *&PrevSpec, 548 bool SetTypeSpecSign(TSS S, SourceLocation Loc, const char *&PrevSpec, 550 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, 552 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, 554 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, 557 SourceLocation TagNameLoc, const char *&PrevSpec, 560 SourceLocation TagNameLoc, const char *&PrevSpec, [all …]
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 434 const char *&PrevSpec, unsigned &DiagID, in TryAltiVecToken() argument 441 return TryAltiVecTokenOutOfLine(DS, Loc, PrevSpec, DiagID, isInvalid); in TryAltiVecToken() 455 const char *&PrevSpec, unsigned &DiagID, 1427 const char *&PrevSpec,
|