Home
last modified time | relevance | path

Searched refs:SemaDiagnosticBuilder (Results 1 – 24 of 24) sorted by relevance

/external/llvm-project/clang/lib/Sema/
DSemaSYCL.cpp20 Sema::SemaDiagnosticBuilder Sema::SYCLDiagIfDeviceCode(SourceLocation Loc, in SYCLDiagIfDeviceCode()
25 SemaDiagnosticBuilder::Kind DiagKind = [this, FD] { in SYCLDiagIfDeviceCode()
27 return SemaDiagnosticBuilder::K_Nop; in SYCLDiagIfDeviceCode()
29 return SemaDiagnosticBuilder::K_ImmediateWithCallStack; in SYCLDiagIfDeviceCode()
30 return SemaDiagnosticBuilder::K_Deferred; in SYCLDiagIfDeviceCode()
32 return SemaDiagnosticBuilder(DiagKind, Loc, DiagID, FD, *this); in SYCLDiagIfDeviceCode()
45 SemaDiagnosticBuilder::Kind DiagKind = SemaDiagnosticBuilder::K_Nop; in checkSYCLDeviceFunction()
47 return DiagKind != SemaDiagnosticBuilder::K_Immediate && in checkSYCLDeviceFunction()
48 DiagKind != SemaDiagnosticBuilder::K_ImmediateWithCallStack; in checkSYCLDeviceFunction()
DSemaCUDA.cpp641 Sema::SemaDiagnosticBuilder Sema::CUDADiagIfDeviceCode(SourceLocation Loc, in CUDADiagIfDeviceCode()
644 SemaDiagnosticBuilder::Kind DiagKind = [&] { in CUDADiagIfDeviceCode()
646 return SemaDiagnosticBuilder::K_Nop; in CUDADiagIfDeviceCode()
650 return SemaDiagnosticBuilder::K_Immediate; in CUDADiagIfDeviceCode()
656 return SemaDiagnosticBuilder::K_Nop; in CUDADiagIfDeviceCode()
658 return SemaDiagnosticBuilder::K_Immediate; in CUDADiagIfDeviceCode()
661 ? SemaDiagnosticBuilder::K_ImmediateWithCallStack in CUDADiagIfDeviceCode()
662 : SemaDiagnosticBuilder::K_Deferred; in CUDADiagIfDeviceCode()
664 return SemaDiagnosticBuilder::K_Nop; in CUDADiagIfDeviceCode()
667 return SemaDiagnosticBuilder(DiagKind, Loc, DiagID, in CUDADiagIfDeviceCode()
[all …]
DSema.cpp1448 Sema::SemaDiagnosticBuilder
1679 Sema::SemaDiagnosticBuilder::SemaDiagnosticBuilder(Kind K, SourceLocation Loc, in SemaDiagnosticBuilder() function in Sema::SemaDiagnosticBuilder
1701 Sema::SemaDiagnosticBuilder::SemaDiagnosticBuilder(SemaDiagnosticBuilder &&D) in SemaDiagnosticBuilder() function in Sema::SemaDiagnosticBuilder
1711 Sema::SemaDiagnosticBuilder::~SemaDiagnosticBuilder() { in ~SemaDiagnosticBuilder()
1726 Sema::SemaDiagnosticBuilder Sema::targetDiag(SourceLocation Loc, in targetDiag()
1738 return SemaDiagnosticBuilder(SemaDiagnosticBuilder::K_Immediate, Loc, DiagID, in targetDiag()
1742 Sema::SemaDiagnosticBuilder Sema::Diag(SourceLocation Loc, unsigned DiagID, in Diag()
1754 return SemaDiagnosticBuilder(SemaDiagnosticBuilder::K_Immediate, Loc, in Diag()
1758 SemaDiagnosticBuilder DB = in Diag()
DSemaExprCXX.cpp2030 SemaDiagnosticBuilder diagnoseNotInt(Sema &S, SourceLocation Loc, in BuildCXXNew()
2036 SemaDiagnosticBuilder diagnoseIncomplete( in BuildCXXNew()
2042 SemaDiagnosticBuilder diagnoseExplicitConv( in BuildCXXNew()
2047 SemaDiagnosticBuilder noteExplicitConv( in BuildCXXNew()
2053 SemaDiagnosticBuilder diagnoseAmbiguous( in BuildCXXNew()
2058 SemaDiagnosticBuilder noteAmbiguous( in BuildCXXNew()
2064 SemaDiagnosticBuilder diagnoseConversion(Sema &S, SourceLocation Loc, in BuildCXXNew()
3413 SemaDiagnosticBuilder diagnoseNoMatch(Sema &S, SourceLocation Loc, in ActOnCXXDelete()
3418 SemaDiagnosticBuilder diagnoseIncomplete(Sema &S, SourceLocation Loc, in ActOnCXXDelete()
3423 SemaDiagnosticBuilder diagnoseExplicitConv(Sema &S, SourceLocation Loc, in ActOnCXXDelete()
[all …]
DSemaStmt.cpp718 SemaDiagnosticBuilder diagnoseNotInt(Sema &S, SourceLocation Loc, in CheckSwitchCondition()
723 SemaDiagnosticBuilder diagnoseIncomplete( in CheckSwitchCondition()
729 SemaDiagnosticBuilder diagnoseExplicitConv( in CheckSwitchCondition()
734 SemaDiagnosticBuilder noteExplicitConv( in CheckSwitchCondition()
740 SemaDiagnosticBuilder diagnoseAmbiguous(Sema &S, SourceLocation Loc, in CheckSwitchCondition()
745 SemaDiagnosticBuilder noteAmbiguous( in CheckSwitchCondition()
751 SemaDiagnosticBuilder diagnoseConversion( in CheckSwitchCondition()
DSemaOpenMP.cpp1899 Sema::SemaDiagnosticBuilder Sema::diagIfOpenMPDeviceCode(SourceLocation Loc, in diagIfOpenMPDeviceCode()
1905 SemaDiagnosticBuilder::Kind Kind = SemaDiagnosticBuilder::K_Nop; in diagIfOpenMPDeviceCode()
1910 Kind = SemaDiagnosticBuilder::K_Immediate; in diagIfOpenMPDeviceCode()
1914 ? SemaDiagnosticBuilder::K_Deferred in diagIfOpenMPDeviceCode()
1915 : SemaDiagnosticBuilder::K_Immediate; in diagIfOpenMPDeviceCode()
1919 Kind = SemaDiagnosticBuilder::K_Nop; in diagIfOpenMPDeviceCode()
1927 return SemaDiagnosticBuilder(Kind, Loc, DiagID, getCurFunctionDecl(), *this); in diagIfOpenMPDeviceCode()
1930 Sema::SemaDiagnosticBuilder Sema::diagIfOpenMPHostCode(SourceLocation Loc, in diagIfOpenMPHostCode()
1935 SemaDiagnosticBuilder::Kind Kind = SemaDiagnosticBuilder::K_Nop; in diagIfOpenMPHostCode()
1938 Kind = SemaDiagnosticBuilder::K_Immediate; in diagIfOpenMPHostCode()
[all …]
DSemaExpr.cpp15997 SemaDiagnosticBuilder diagnoseNotICEType(Sema &S, SourceLocation Loc, in VerifyIntegerConstantExpression()
16002 SemaDiagnosticBuilder diagnoseNotICE(Sema &S, SourceLocation Loc) override { in VerifyIntegerConstantExpression()
16021 SemaDiagnosticBuilder diagnoseNotICE(Sema &S, SourceLocation Loc) override { in VerifyIntegerConstantExpression()
16029 Sema::SemaDiagnosticBuilder
16035 Sema::SemaDiagnosticBuilder
16061 SemaDiagnosticBuilder diagnoseNotInt(Sema &S, SourceLocation Loc, in VerifyIntegerConstantExpression()
16066 SemaDiagnosticBuilder diagnoseIncomplete( in VerifyIntegerConstantExpression()
16071 SemaDiagnosticBuilder diagnoseExplicitConv( in VerifyIntegerConstantExpression()
16076 SemaDiagnosticBuilder noteExplicitConv( in VerifyIntegerConstantExpression()
16082 SemaDiagnosticBuilder diagnoseAmbiguous( in VerifyIntegerConstantExpression()
[all …]
DSemaDeclAttr.cpp411 static const Sema::SemaDiagnosticBuilder&
412 appendDiagnostics(const Sema::SemaDiagnosticBuilder &Bldr) { in appendDiagnostics()
417 static const Sema::SemaDiagnosticBuilder&
418 appendDiagnostics(const Sema::SemaDiagnosticBuilder &Bldr, T &&ExtraArg, in appendDiagnostics()
434 Sema::SemaDiagnosticBuilder DB = S.Diag(D->getBeginLoc(), DiagID); in handleSimpleAttributeOrDiagnose()
DSemaType.cpp2276 Sema::SemaDiagnosticBuilder diagnoseNotICEType(Sema &S, SourceLocation Loc, in checkArraySize()
2281 Sema::SemaDiagnosticBuilder diagnoseNotICE(Sema &S, in checkArraySize()
2287 Sema::SemaDiagnosticBuilder diagnoseFold(Sema &S, in checkArraySize()
DSemaDeclCXX.cpp1081 Sema::SemaDiagnosticBuilder diagnoseNotICE(Sema &S, in isTupleLike()
3301 SemaDiagnosticBuilder B = in ActOnCXXMemberDeclarator()
5296 Sema::SemaDiagnosticBuilder D = in DiagnoseBaseOrMemInitializerOrder()
10681 Sema::SemaDiagnosticBuilder Diagnostic;
16590 SemaDiagnosticBuilder DB in ActOnFriendFunctionDecl()
DSemaDeclObjC.cpp2230 const Sema::SemaDiagnosticBuilder &B = S.Diag(ImpLoc, DiagID); in WarnUndefinedMethod()
DSemaChecking.cpp7926 const Sema::SemaDiagnosticBuilder &D = S.Diag(Loc, PDiag); in EmitFormatDiagnostic()
7933 const Sema::SemaDiagnosticBuilder &Note = in EmitFormatDiagnostic()
11544 Sema &S, Expr *SourceExpr, const Sema::SemaDiagnosticBuilder &Builder) { in adornObjCBoolConversionDiagWithTernaryFixit()
DSemaDecl.cpp11525 friend const Sema::SemaDiagnosticBuilder &
11526 operator<<(const Sema::SemaDiagnosticBuilder &Diag, VarDeclOrName VN) { in operator <<()
DSemaTemplate.cpp7147 SemaDiagnosticBuilder diagnoseNotICE(Sema &S, in CheckTemplateArgument()
/external/llvm-project/clang/include/clang/Sema/
DSema.h1530 class SemaDiagnosticBuilder {
1547 SemaDiagnosticBuilder(Kind K, SourceLocation Loc, unsigned DiagID,
1549 SemaDiagnosticBuilder(SemaDiagnosticBuilder &&D);
1550 SemaDiagnosticBuilder(const SemaDiagnosticBuilder &) = default;
1551 ~SemaDiagnosticBuilder();
1568 friend const SemaDiagnosticBuilder &
1569 operator<<(const SemaDiagnosticBuilder &Diag, const T &Value) {
1583 const SemaDiagnosticBuilder &operator<<(T &&V) const {
1591 friend const SemaDiagnosticBuilder &
1592 operator<<(const SemaDiagnosticBuilder &Diag, const PartialDiagnostic &PD) {
[all …]
/external/clang/include/clang/Sema/
DSema.h1091 class SemaDiagnosticBuilder : public DiagnosticBuilder {
1096 SemaDiagnosticBuilder(DiagnosticBuilder &DB, Sema &SemaRef, unsigned DiagID) in SemaDiagnosticBuilder() function
1105 SemaDiagnosticBuilder(const SemaDiagnosticBuilder&) = default;
1107 ~SemaDiagnosticBuilder() { in ~SemaDiagnosticBuilder()
1129 friend const SemaDiagnosticBuilder &operator<<(
1130 const SemaDiagnosticBuilder &Diag, const T &Value) {
1138 SemaDiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { in Diag()
1140 return SemaDiagnosticBuilder(DB, *this, DiagID); in Diag()
1144 SemaDiagnosticBuilder Diag(SourceLocation Loc, const PartialDiagnostic& PD);
1368 void emit(const SemaDiagnosticBuilder &DB, in emit()
[all …]
/external/clang/lib/Sema/
DSemaExprCXX.cpp313 SemaDiagnosticBuilder DtorDiag = Diag(NameLoc, in getDestructorName()
1628 SemaDiagnosticBuilder diagnoseNotInt(Sema &S, SourceLocation Loc, in BuildCXXNew()
1634 SemaDiagnosticBuilder diagnoseIncomplete( in BuildCXXNew()
1640 SemaDiagnosticBuilder diagnoseExplicitConv( in BuildCXXNew()
1645 SemaDiagnosticBuilder noteExplicitConv( in BuildCXXNew()
1651 SemaDiagnosticBuilder diagnoseAmbiguous( in BuildCXXNew()
1656 SemaDiagnosticBuilder noteAmbiguous( in BuildCXXNew()
1662 SemaDiagnosticBuilder diagnoseConversion(Sema &S, SourceLocation Loc, in BuildCXXNew()
2877 SemaDiagnosticBuilder diagnoseNoMatch(Sema &S, SourceLocation Loc, in ActOnCXXDelete()
2882 SemaDiagnosticBuilder diagnoseIncomplete(Sema &S, SourceLocation Loc, in ActOnCXXDelete()
[all …]
DSemaStmt.cpp618 SemaDiagnosticBuilder diagnoseNotInt(Sema &S, SourceLocation Loc, in CheckSwitchCondition()
623 SemaDiagnosticBuilder diagnoseIncomplete( in CheckSwitchCondition()
629 SemaDiagnosticBuilder diagnoseExplicitConv( in CheckSwitchCondition()
634 SemaDiagnosticBuilder noteExplicitConv( in CheckSwitchCondition()
640 SemaDiagnosticBuilder diagnoseAmbiguous(Sema &S, SourceLocation Loc, in CheckSwitchCondition()
645 SemaDiagnosticBuilder noteAmbiguous( in CheckSwitchCondition()
651 SemaDiagnosticBuilder diagnoseConversion( in CheckSwitchCondition()
DSema.cpp1061 Sema::SemaDiagnosticBuilder
1063 SemaDiagnosticBuilder Builder(Diag(Loc, PD.getDiagID())); in Diag()
DSemaOpenMP.cpp7380 SemaDiagnosticBuilder diagnoseNotInt(Sema &S, SourceLocation Loc, in PerformOpenMPImplicitIntegerConversion()
7384 SemaDiagnosticBuilder diagnoseIncomplete(Sema &S, SourceLocation Loc, in PerformOpenMPImplicitIntegerConversion()
7388 SemaDiagnosticBuilder diagnoseExplicitConv(Sema &S, SourceLocation Loc, in PerformOpenMPImplicitIntegerConversion()
7393 SemaDiagnosticBuilder noteExplicitConv(Sema &S, CXXConversionDecl *Conv, in PerformOpenMPImplicitIntegerConversion()
7398 SemaDiagnosticBuilder diagnoseAmbiguous(Sema &S, SourceLocation Loc, in PerformOpenMPImplicitIntegerConversion()
7402 SemaDiagnosticBuilder noteAmbiguous(Sema &S, CXXConversionDecl *Conv, in PerformOpenMPImplicitIntegerConversion()
7407 SemaDiagnosticBuilder diagnoseConversion(Sema &, SourceLocation, QualType, in PerformOpenMPImplicitIntegerConversion()
DSemaExpr.cpp12653 SemaDiagnosticBuilder diagnoseNotInt(Sema &S, SourceLocation Loc, in VerifyIntegerConstantExpression()
12658 SemaDiagnosticBuilder diagnoseIncomplete( in VerifyIntegerConstantExpression()
12663 SemaDiagnosticBuilder diagnoseExplicitConv( in VerifyIntegerConstantExpression()
12668 SemaDiagnosticBuilder noteExplicitConv( in VerifyIntegerConstantExpression()
12674 SemaDiagnosticBuilder diagnoseAmbiguous( in VerifyIntegerConstantExpression()
12679 SemaDiagnosticBuilder noteAmbiguous( in VerifyIntegerConstantExpression()
12685 SemaDiagnosticBuilder diagnoseConversion( in VerifyIntegerConstantExpression()
DSemaDeclCXX.cpp2100 SemaDiagnosticBuilder B = in ActOnCXXMemberDeclarator()
4113 Sema::SemaDiagnosticBuilder D = in DiagnoseBaseOrMemInitializerOrder()
12892 SemaDiagnosticBuilder DB in ActOnFriendFunctionDecl()
DSemaDeclObjC.cpp2135 const Sema::SemaDiagnosticBuilder &B = S.Diag(ImpLoc, DiagID); in WarnUndefinedMethod()
DSemaChecking.cpp4561 const Sema::SemaDiagnosticBuilder &D = S.Diag(Loc, PDiag); in EmitFormatDiagnostic()
4568 const Sema::SemaDiagnosticBuilder &Note = in EmitFormatDiagnostic()