/external/clang/lib/Sema/ |
D | DeclSpec.cpp | 328 const char *&PrevSpec, in BadSpecifier() argument 331 PrevSpec = DeclSpec::getSpecifierName(TPrev); in BadSpecifier() 429 const char *&PrevSpec, in SetStorageClassSpec() argument 446 PrevSpec = getSpecifierName(SC); in SetStorageClassSpec() 453 PrevSpec = getSpecifierName(SC); in SetStorageClassSpec() 465 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID); in SetStorageClassSpec() 468 PrevSpec, DiagID); in SetStorageClassSpec() 480 return BadSpecifier(SC, (SCS)StorageClassSpec, PrevSpec, DiagID); in SetStorageClassSpec() 489 const char *&PrevSpec, in SetStorageClassSpecThread() argument 492 PrevSpec = "__thread"; in SetStorageClassSpecThread() [all …]
|
D | SemaDecl.cpp | 2965 const char* PrevSpec = 0; in BuildAnonymousStructOrUnion() local 2980 PrevSpec, DiagID); in BuildAnonymousStructOrUnion() 2994 PrevSpec, DiagID); in BuildAnonymousStructOrUnion() 7516 const char* PrevSpec; // unused in ActOnFinishKNRParamDeclarations() local 7519 PrevSpec, DiagID); in ActOnFinishKNRParamDeclarations()
|
/external/clang/lib/Parse/ |
D | ParseDecl.cpp | 1965 const char *PrevSpec; in ParseImplicitInt() local 1967 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, T); in ParseImplicitInt() 2129 const char *PrevSpec = 0; in ParseDeclarationSpecifiers() local 2279 PrevSpec, DiagID, T); in ParseDeclarationSpecifiers() 2329 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers() 2343 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers() 2403 if (TryAltiVecToken(DS, Loc, PrevSpec, DiagID, isInvalid)) in ParseDeclarationSpecifiers() 2429 isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, in ParseDeclarationSpecifiers() 2483 isInvalid = DS.SetFunctionSpecInline(Loc, PrevSpec, DiagID); in ParseDeclarationSpecifiers() 2517 PrevSpec, DiagID); in ParseDeclarationSpecifiers() [all …]
|
D | ParseExprCXX.cpp | 1425 const char *PrevSpec; in ParseCXXSimpleTypeSpecifier() local 1439 DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec, DiagID, in ParseCXXSimpleTypeSpecifier() 1460 DS.SetTypeSpecWidth(DeclSpec::TSW_short, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1463 DS.SetTypeSpecWidth(DeclSpec::TSW_long, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1466 DS.SetTypeSpecWidth(DeclSpec::TSW_longlong, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1469 DS.SetTypeSpecSign(DeclSpec::TSS_signed, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1472 DS.SetTypeSpecSign(DeclSpec::TSS_unsigned, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1475 DS.SetTypeSpecType(DeclSpec::TST_void, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1478 DS.SetTypeSpecType(DeclSpec::TST_char, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() 1481 DS.SetTypeSpecType(DeclSpec::TST_int, Loc, PrevSpec, DiagID); in ParseCXXSimpleTypeSpecifier() [all …]
|
D | ParseDeclCXX.cpp | 720 const char *PrevSpec = 0; in ParseDecltypeSpecifier() local 723 if (DS.SetTypeSpecType(DeclSpec::TST_decltype, StartLoc, PrevSpec, in ParseDecltypeSpecifier() 725 Diag(StartLoc, DiagID) << PrevSpec; in ParseDecltypeSpecifier() 770 const char *PrevSpec = 0; in ParseUnderlyingTypeSpecifier() local 772 if (DS.SetTypeSpecType(DeclSpec::TST_underlyingType, StartLoc, PrevSpec, in ParseUnderlyingTypeSpecifier() 774 Diag(StartLoc, DiagID) << PrevSpec; in ParseUnderlyingTypeSpecifier() 910 const char *PrevSpec = 0; in ParseBaseTypeSpecifier() local 912 DS.SetTypeSpecType(TST_typename, IdLoc, PrevSpec, DiagID, Type); in ParseBaseTypeSpecifier() 1443 const char *PrevSpec = 0; in ParseClassSpecifier() local 1449 PrevSpec, DiagID, TypeResult.get()); in ParseClassSpecifier() [all …]
|
D | Parser.cpp | 860 const char *PrevSpec = 0; in ParseDeclOrFunctionDefInternal() local 862 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID)) in ParseDeclOrFunctionDefInternal() 863 Diag(AtLoc, DiagID) << PrevSpec; in ParseDeclOrFunctionDefInternal() 927 const char *PrevSpec; in ParseFunctionDefinition() local 931 PrevSpec, DiagID); in ParseFunctionDefinition()
|
D | ParseExpr.cpp | 863 const char *PrevSpec = 0; in ParseCastExpression() local 865 DS.SetTypeSpecType(TST_typename, ILoc, PrevSpec, DiagID, Typ); in ParseCastExpression() 1025 const char *PrevSpec = 0; in ParseCastExpression() local 1028 PrevSpec, DiagID, Type); in ParseCastExpression()
|
/external/clang/include/clang/Sema/ |
D | DeclSpec.h | 560 const char *&PrevSpec, unsigned &DiagID); 561 bool SetStorageClassSpecThread(SourceLocation Loc, const char *&PrevSpec, 563 bool SetTypeSpecWidth(TSW W, SourceLocation Loc, const char *&PrevSpec, 565 bool SetTypeSpecComplex(TSC C, SourceLocation Loc, const char *&PrevSpec, 567 bool SetTypeSpecSign(TSS S, SourceLocation Loc, const char *&PrevSpec, 569 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, 571 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, 573 bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, 576 SourceLocation TagNameLoc, const char *&PrevSpec, 579 SourceLocation TagNameLoc, const char *&PrevSpec, [all …]
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 520 const char *&PrevSpec, unsigned &DiagID, in TryAltiVecToken() argument 527 return TryAltiVecTokenOutOfLine(DS, Loc, PrevSpec, DiagID, isInvalid); in TryAltiVecToken() 541 const char *&PrevSpec, unsigned &DiagID,
|