Home
last modified time | relevance | path

Searched refs:PartialDiagnosticAt (Results 1 – 25 of 31) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticError.h23 DiagnosticError(PartialDiagnosticAt Diag) : Diag(std::move(Diag)) {} in DiagnosticError()
27 PartialDiagnosticAt &getDiagnostic() { return Diag; } in getDiagnostic()
28 const PartialDiagnosticAt &getDiagnostic() const { return Diag; } in getDiagnostic()
34 PartialDiagnosticAt(Loc, std::move(Diag))); in create()
40 static std::optional<PartialDiagnosticAt> take(llvm::Error &Err) { in take()
41 std::optional<PartialDiagnosticAt> Result; in take()
56 PartialDiagnosticAt Diag;
H A DPartialDiagnostic.h205 using PartialDiagnosticAt = std::pair<SourceLocation, PartialDiagnostic>; variable
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplateDeduction.h62 SmallVector<PartialDiagnosticAt, 4> SuppressedDiagnostics;
107 void takeSFINAEDiagnostic(PartialDiagnosticAt &PD) { in takeSFINAEDiagnostic()
121 const PartialDiagnosticAt &peekSFINAEDiagnostic() const { in peekSFINAEDiagnostic()
168 using diag_iterator = SmallVectorImpl<PartialDiagnosticAt>::const_iterator;
270 alignas(PartialDiagnosticAt) char Diagnostic[sizeof(PartialDiagnosticAt)];
274 PartialDiagnosticAt *getSFINAEDiagnostic();
H A DOverload.h1176 PartialDiagnosticAt PA, Sema &S, OverloadCandidateDisplayKind OCD,
H A DSema.h9731 typedef llvm::DenseMap<Decl *, SmallVector<PartialDiagnosticAt, 1> >
11437 const PartialDiagnosticAt &NoteCausedDiagIDAt,
11438 const PartialDiagnosticAt &NoSupportDiagIDAt,
11439 const PartialDiagnosticAt &DiffDiagIDAt, bool TemplatesSupported,
13354 std::vector<PartialDiagnosticAt>>
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp1896 PartialDiagnosticAt Warning( in handleIncorrectUnlockKind()
1944 PartialDiagnosticAt Warning(Loc1, in handleExclusiveAndShared()
2043 PartialDiagnosticAt Warning(Loc, in handleNegativeNotHeld()
2051 PartialDiagnosticAt Warning( in handleNegativeNotHeld()
2065 PartialDiagnosticAt Warning(Loc, in handleLockAcquiredBefore()
2071 PartialDiagnosticAt Warning(Loc, in handleBeforeAfterCycle()
2126 PartialDiagnosticAt Warning(Loc, S.PDiag( in warnParamReturnTypestateMismatch()
2136 PartialDiagnosticAt Warning(Loc, S.PDiag( in warnParamTypestateMismatch()
2144 PartialDiagnosticAt Warning(Loc, S.PDiag( in warnReturnTypestateForUnconsumableType()
2153 PartialDiagnosticAt Warning(Loc, S.PDiag( in warnReturnTypestateMismatch()
[all …]
H A DSemaOverload.cpp688 PartialDiagnosticAt *Diag = new (Result.Diagnostic) PartialDiagnosticAt( in MakeDeductionFailureInfo()
739 Diag->~PartialDiagnosticAt(); in Destroy()
748 Diag->~PartialDiagnosticAt(); in Destroy()
6185 SmallVector<PartialDiagnosticAt, 8> Notes; in EvaluateConvertedConstantExpression()
13944 PartialDiagnosticAt( in FinishOverloadedCallExpr()
14313 PartialDiagnosticAt(OpLoc, in CreateOverloadedUnaryOp()
14863 PartialDiagnosticAt( in CreateOverloadedBinOp()
15168 PartialDiagnosticAt( in CreateOverloadedArraySubscriptExpr()
15175 PartialDiagnosticAt(LLoc, in CreateOverloadedArraySubscriptExpr()
15390 PartialDiagnosticAt( in BuildCallToMemberFunction()
[all …]
H A DSemaConcept.cpp285 SmallVector<PartialDiagnosticAt, 2> EvaluationDiags; in calculateConstraintSatisfaction()
296 for (const PartialDiagnosticAt &PDiag : EvaluationDiags) in calculateConstraintSatisfaction()
380 PartialDiagnosticAt SubstDiag{SourceLocation(), in calculateConstraintSatisfaction()
H A DSemaInit.cpp6793 PartialDiagnosticAt( in CopyObject()
6806 PartialDiagnosticAt(Loc, S.PDiag(diag::err_temp_copy_ambiguous) in CopyObject()
6944 CandidateSet.NoteCandidates(PartialDiagnosticAt(Loc, Diag), S, in CheckCXX98CompatAccessibleCopy()
6949 CandidateSet.NoteCandidates(PartialDiagnosticAt(Loc, Diag), S, in CheckCXX98CompatAccessibleCopy()
9663 PartialDiagnosticAt( in Diagnose()
9874 PartialDiagnosticAt(Kind.getLocation(), in Diagnose()
9928 PartialDiagnosticAt( in Diagnose()
10890 PartialDiagnosticAt( in DeduceTemplateSpecializationFromInitializer()
10903 PartialDiagnosticAt( in DeduceTemplateSpecializationFromInitializer()
H A DSemaAttr.cpp390 llvm::SmallVector<PartialDiagnosticAt, 8> Notes; in ConstantFoldAttrArgs()
H A DSemaExprCXX.cpp2650 PartialDiagnosticAt(R.getNameLoc(), in resolveAllocationOverload()
2660 PartialDiagnosticAt(R.getNameLoc(), in resolveAllocationOverload()
3908 PartialDiagnosticAt(R.getNameLoc(), in resolveBuiltinNewDeleteOverload()
3916 PartialDiagnosticAt(R.getNameLoc(), in resolveBuiltinNewDeleteOverload()
3924 PartialDiagnosticAt(R.getNameLoc(), S.PDiag(diag::err_ovl_deleted_call) in resolveBuiltinNewDeleteOverload()
H A DSemaDecl.cpp11195 const PartialDiagnosticAt &NoteCausedDiagIDAt, in areMultiversionVariantFunctionsCompatible()
11196 const PartialDiagnosticAt &NoSupportDiagIDAt, in areMultiversionVariantFunctionsCompatible()
11197 const PartialDiagnosticAt &DiffDiagIDAt, bool TemplatesSupported, in areMultiversionVariantFunctionsCompatible()
11333 PartialDiagnosticAt(NewFD->getLocation(), in CheckMultiVersionAdditionalRules()
11335 PartialDiagnosticAt(NewFD->getLocation(), in CheckMultiVersionAdditionalRules()
11338 PartialDiagnosticAt(NewFD->getLocation(), in CheckMultiVersionAdditionalRules()
14535 SmallVector<PartialDiagnosticAt, 8> Notes; in CheckCompleteVariableDeclaration()
19010 OCS.NoteCandidates(PartialDiagnosticAt(Loc, Diag), S, DisplayKind, {}); in ComputeSelectedDestructor()
H A DSemaStmt.cpp2678 PartialDiagnosticAt(BeginRange->getBeginLoc(), in BuildNonArrayForRange()
2958 PartialDiagnosticAt(Range->getBeginLoc(), in BuildCXXForRangeStmt()
H A DSema.cpp1795 for (PartialDiagnosticAt &PDAt : It->second) { in emitDeferredDiags()
H A DSemaCast.cpp508 PartialDiagnosticAt(range.getBegin(), in tryDiagnoseOverloadedCast()
H A DSemaExpr.cpp236 for (const PartialDiagnosticAt &Suppressed : Pos->second) in DiagnoseUseOfDecl()
18077 SmallVector<PartialDiagnosticAt, 8> Notes; in VerifyIntegerConstantExpression()
18110 for (const PartialDiagnosticAt &Note : Notes) in VerifyIntegerConstantExpression()
18118 for (const PartialDiagnosticAt &Note : Notes) in VerifyIntegerConstantExpression()
18340 llvm::SmallVector<PartialDiagnosticAt, 8> Notes; in CheckForImmediateInvocation()
18395 llvm::SmallVector<PartialDiagnosticAt, 8> Notes; in EvaluateAndDiagnoseImmediateInvocation()
H A DSemaTemplate.cpp4069 PartialDiagnosticAt OldDiag = in CheckTemplateIdType()
4537 PartialDiagnosticAt Diag = {SourceLocation(), in checkMoreSpecializedThanPrimary()
6675 SmallVector<PartialDiagnosticAt, 8> Notes; in isNullPointerValueTemplateArgument()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DConsumed.h52 using OptionalNotes = SmallVector<PartialDiagnosticAt, 1>;
53 using DelayedDiag = std::pair<PartialDiagnosticAt, OptionalNotes>;
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DState.h115 void addNotes(ArrayRef<PartialDiagnosticAt> Diags);
H A DState.cpp69 void State::addNotes(ArrayRef<PartialDiagnosticAt> Diags) { in addNotes()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h568 PartialDiagnosticAt> &Diags);
578 PartialDiagnosticAt> &Diags);
618 SmallVectorImpl<PartialDiagnosticAt> *Diag = nullptr;
705 SmallVectorImpl<PartialDiagnosticAt> *Diag = nullptr) const;
709 SmallVectorImpl<PartialDiagnosticAt> *Diag = nullptr) const;
724 SmallVectorImpl<PartialDiagnosticAt> &Notes,
H A DDecl.h1393 APValue *evaluateValueImpl(SmallVectorImpl<PartialDiagnosticAt> &Notes,
1408 bool evaluateDestruction(SmallVectorImpl<PartialDiagnosticAt> &Notes) const;
1427 SmallVectorImpl<PartialDiagnosticAt> &Notes) const;
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DComputeDependence.cpp60 SmallVector<PartialDiagnosticAt, 8> Diag; in computeDependence()
H A DDecl.cpp2547 SmallVector<PartialDiagnosticAt, 8> Notes; in evaluateValue()
2551 APValue *VarDecl::evaluateValueImpl(SmallVectorImpl<PartialDiagnosticAt> &Notes, in evaluateValueImpl()
2630 SmallVectorImpl<PartialDiagnosticAt> &Notes) const { in checkForConstantInitialization()
H A DExprConstant.cpp1371 EvalInfo &Info, SmallVectorImpl<PartialDiagnosticAt> *NewDiag = nullptr) in SpeculativeEvaluationRAII()
7612 SmallVector<PartialDiagnosticAt, 8> Diag; in CheckPotentialConstantConditional()
15741 SmallVectorImpl<PartialDiagnosticAt> &Notes, in EvaluateAsInitializer()
15808 SmallVectorImpl<PartialDiagnosticAt> &Notes) const { in evaluateDestruction()
15847 SmallVectorImpl<PartialDiagnosticAt> *Diag) const { in EvaluateKnownConstInt()
15866 const ASTContext &Ctx, SmallVectorImpl<PartialDiagnosticAt> *Diag) const { in EvaluateKnownConstIntCheckOverflow()
16446 SmallVector<PartialDiagnosticAt, 8> Diags; in isCXX11ConstantExpr()
16542 PartialDiagnosticAt> &Diags) { in isPotentialConstantExpr()
16601 PartialDiagnosticAt> &Diags) { in isPotentialConstantExprUnevaluated()

12