Home
last modified time | relevance | path

Searched refs:Diagnoser (Results 1 – 6 of 6) sorted by relevance

/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp233 CompleteTypeDiagnoser Diagnoser(false); in TEST() local
234 Installer->PushSource(&Diagnoser); in TEST()
242 ASSERT_EQ(0, Diagnoser.CallCount); in TEST()
/external/clang/lib/Sema/
DSemaType.cpp1942 } Diagnoser; in isArraySizeVLA() local
1944 return S.VerifyIntegerConstantExpression(ArraySize, &SizeVal, Diagnoser, in isArraySizeVLA()
6424 bool Sema::RequireCompleteExprType(Expr *E, TypeDiagnoser &Diagnoser) { in RequireCompleteExprType() argument
6439 return RequireCompleteType(E->getExprLoc(), T, Diagnoser); in RequireCompleteExprType()
6443 BoundTypeDiagnoser<> Diagnoser(DiagID); in RequireCompleteExprType() local
6444 return RequireCompleteExprType(E, Diagnoser); in RequireCompleteExprType()
6465 TypeDiagnoser &Diagnoser) { in RequireCompleteType() argument
6466 if (RequireCompleteTypeImpl(Loc, T, &Diagnoser)) in RequireCompleteType()
6570 TypeDiagnoser *Diagnoser) { in RequireCompleteTypeImpl() argument
6599 bool TreatAsComplete = Diagnoser && !isSFINAEContext(); in RequireCompleteTypeImpl()
[all …]
DSemaExpr.cpp12064 } Diagnoser; in VerifyIntegerConstantExpression() local
12066 return VerifyIntegerConstantExpression(E, Result, Diagnoser); in VerifyIntegerConstantExpression()
12083 } Diagnoser(DiagID); in VerifyIntegerConstantExpression() local
12085 return VerifyIntegerConstantExpression(E, Result, Diagnoser, AllowFold); in VerifyIntegerConstantExpression()
12095 VerifyICEDiagnoser &Diagnoser, in VerifyIntegerConstantExpression() argument
12148 } ConvertDiagnoser(Diagnoser.Suppress); in VerifyIntegerConstantExpression()
12159 if (!Diagnoser.Suppress) in VerifyIntegerConstantExpression()
12160 Diagnoser.diagnoseNotICE(*this, DiagLoc, E->getSourceRange()); in VerifyIntegerConstantExpression()
12200 if (!Diagnoser.Suppress) { in VerifyIntegerConstantExpression()
12201 Diagnoser.diagnoseNotICE(*this, DiagLoc, E->getSourceRange()); in VerifyIntegerConstantExpression()
[all …]
DSemaTemplate.cpp5079 } Diagnoser(ArgType); in CheckTemplateArgument() local
5081 Arg = VerifyIntegerConstantExpression(Arg, &Value, Diagnoser, in CheckTemplateArgument()
DSemaDeclCXX.cpp4445 TypeDiagnoser &Diagnoser) { in RequireNonAbstractType() argument
4450 Diagnoser.diagnose(*this, Loc, T); in RequireNonAbstractType()
/external/clang/include/clang/Sema/
DSema.h1368 TypeDiagnoser *Diagnoser);
1418 TypeDiagnoser &Diagnoser);
1425 BoundTypeDiagnoser<Ts...> Diagnoser(DiagID, Args...); in RequireCompleteType()
1426 return RequireCompleteType(Loc, T, Diagnoser); in RequireCompleteType()
1430 bool RequireCompleteExprType(Expr *E, TypeDiagnoser &Diagnoser);
1435 BoundTypeDiagnoser<Ts...> Diagnoser(DiagID, Args...); in RequireCompleteExprType()
1436 return RequireCompleteExprType(E, Diagnoser); in RequireCompleteExprType()
1440 TypeDiagnoser &Diagnoser);
1446 BoundTypeDiagnoser<Ts...> Diagnoser(DiagID, Args...); in RequireLiteralType()
1447 return RequireLiteralType(Loc, T, Diagnoser); in RequireLiteralType()
[all …]