Home
last modified time | relevance | path

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

/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp292 CompleteTypeDiagnoser Diagnoser(false); in TEST() local
293 Installer->PushSource(&Diagnoser); in TEST()
301 ASSERT_EQ(0, Diagnoser.CallCount); in TEST()
/external/clang/lib/Sema/
DSemaType.cpp2063 } Diagnoser; in isArraySizeVLA() local
2065 return S.VerifyIntegerConstantExpression(ArraySize, &SizeVal, Diagnoser, in isArraySizeVLA()
6786 bool Sema::RequireCompleteExprType(Expr *E, TypeDiagnoser &Diagnoser) { in RequireCompleteExprType() argument
6801 return RequireCompleteType(E->getExprLoc(), T, Diagnoser); in RequireCompleteExprType()
6805 BoundTypeDiagnoser<> Diagnoser(DiagID); in RequireCompleteExprType() local
6806 return RequireCompleteExprType(E, Diagnoser); in RequireCompleteExprType()
6827 TypeDiagnoser &Diagnoser) { in RequireCompleteType() argument
6828 if (RequireCompleteTypeImpl(Loc, T, &Diagnoser)) in RequireCompleteType()
6933 TypeDiagnoser *Diagnoser) { in RequireCompleteTypeImpl() argument
6969 bool TreatAsComplete = Diagnoser && !isSFINAEContext(); in RequireCompleteTypeImpl()
[all …]
DSemaExpr.cpp12605 } Diagnoser; in VerifyIntegerConstantExpression() local
12607 return VerifyIntegerConstantExpression(E, Result, Diagnoser); in VerifyIntegerConstantExpression()
12624 } Diagnoser(DiagID); in VerifyIntegerConstantExpression() local
12626 return VerifyIntegerConstantExpression(E, Result, Diagnoser, AllowFold); in VerifyIntegerConstantExpression()
12636 VerifyICEDiagnoser &Diagnoser, in VerifyIntegerConstantExpression() argument
12689 } ConvertDiagnoser(Diagnoser.Suppress); in VerifyIntegerConstantExpression()
12700 if (!Diagnoser.Suppress) in VerifyIntegerConstantExpression()
12701 Diagnoser.diagnoseNotICE(*this, DiagLoc, E->getSourceRange()); in VerifyIntegerConstantExpression()
12741 if (!Diagnoser.Suppress) { in VerifyIntegerConstantExpression()
12742 Diagnoser.diagnoseNotICE(*this, DiagLoc, E->getSourceRange()); in VerifyIntegerConstantExpression()
[all …]
DSemaTemplate.cpp5120 } Diagnoser(ArgType); in CheckTemplateArgument() local
5122 Arg = VerifyIntegerConstantExpression(Arg, &Value, Diagnoser, in CheckTemplateArgument()
DSemaDeclCXX.cpp4421 TypeDiagnoser &Diagnoser) { in RequireNonAbstractType() argument
4426 Diagnoser.diagnose(*this, Loc, T); in RequireNonAbstractType()
/external/clang/include/clang/Sema/
DSema.h1390 TypeDiagnoser *Diagnoser);
1455 TypeDiagnoser &Diagnoser);
1462 BoundTypeDiagnoser<Ts...> Diagnoser(DiagID, Args...); in RequireCompleteType()
1463 return RequireCompleteType(Loc, T, Diagnoser); in RequireCompleteType()
1467 bool RequireCompleteExprType(Expr *E, TypeDiagnoser &Diagnoser);
1472 BoundTypeDiagnoser<Ts...> Diagnoser(DiagID, Args...); in RequireCompleteExprType()
1473 return RequireCompleteExprType(E, Diagnoser); in RequireCompleteExprType()
1477 TypeDiagnoser &Diagnoser);
1483 BoundTypeDiagnoser<Ts...> Diagnoser(DiagID, Args...); in RequireLiteralType()
1484 return RequireLiteralType(Loc, T, Diagnoser); in RequireLiteralType()
[all …]