Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnosticError.h22 DiagnosticError(PartialDiagnosticAt Diag) : Diag(std::move(Diag)) {} in DiagnosticError()
26 PartialDiagnosticAt &getDiagnostic() { return Diag; } in getDiagnostic()
27 const PartialDiagnosticAt &getDiagnostic() const { return Diag; } in getDiagnostic()
33 PartialDiagnosticAt(Loc, std::move(Diag))); in create()
39 static Optional<PartialDiagnosticAt> take(llvm::Error &Err) { in take()
40 Optional<PartialDiagnosticAt> Result; in take()
55 PartialDiagnosticAt Diag;
H A DPartialDiagnostic.h205 using PartialDiagnosticAt = std::pair<SourceLocation, PartialDiagnostic>; variable
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DTemplateDeduction.h62 SmallVector<PartialDiagnosticAt, 4> SuppressedDiagnostics;
102 void takeSFINAEDiagnostic(PartialDiagnosticAt &PD) { in takeSFINAEDiagnostic()
116 const PartialDiagnosticAt &peekSFINAEDiagnostic() const { in peekSFINAEDiagnostic()
158 using diag_iterator = SmallVectorImpl<PartialDiagnosticAt>::const_iterator;
253 alignas(PartialDiagnosticAt) char Diagnostic[sizeof(PartialDiagnosticAt)];
257 PartialDiagnosticAt *getSFINAEDiagnostic();
H A DOverload.h1155 PartialDiagnosticAt PA, Sema &S, OverloadCandidateDisplayKind OCD,
H A DSema.h9195 typedef llvm::DenseMap<Decl *, SmallVector<PartialDiagnosticAt, 1> >
10730 const PartialDiagnosticAt &NoteCausedDiagIDAt,
10731 const PartialDiagnosticAt &NoSupportDiagIDAt,
10732 const PartialDiagnosticAt &DiffDiagIDAt, bool TemplatesSupported,
12576 std::vector<PartialDiagnosticAt>>
/llvm-project-15.0.7/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp1868 PartialDiagnosticAt Warning( in handleIncorrectUnlockKind()
1916 PartialDiagnosticAt Warning(Loc1, in handleExclusiveAndShared()
2003 PartialDiagnosticAt Warning(Loc, in handleNegativeNotHeld()
2011 PartialDiagnosticAt Warning( in handleNegativeNotHeld()
2025 PartialDiagnosticAt Warning(Loc, in handleLockAcquiredBefore()
2031 PartialDiagnosticAt Warning(Loc, in handleBeforeAfterCycle()
2086 PartialDiagnosticAt Warning(Loc, S.PDiag( in warnParamReturnTypestateMismatch()
2096 PartialDiagnosticAt Warning(Loc, S.PDiag( in warnParamTypestateMismatch()
2104 PartialDiagnosticAt Warning(Loc, S.PDiag( in warnReturnTypestateForUnconsumableType()
2113 PartialDiagnosticAt Warning(Loc, S.PDiag( in warnReturnTypestateMismatch()
[all …]
H A DSemaConcept.cpp175 SmallVector<PartialDiagnosticAt, 2> EvaluationDiags; in calculateConstraintSatisfaction()
186 for (const PartialDiagnosticAt &PDiag : EvaluationDiags) in calculateConstraintSatisfaction()
240 PartialDiagnosticAt SubstDiag{SourceLocation(), in calculateConstraintSatisfaction()
H A DSemaOverload.cpp670 PartialDiagnosticAt *Diag = new (Result.Diagnostic) PartialDiagnosticAt( in MakeDeductionFailureInfo()
720 Diag->~PartialDiagnosticAt(); in Destroy()
729 Diag->~PartialDiagnosticAt(); in Destroy()
5811 SmallVector<PartialDiagnosticAt, 8> Notes; in CheckConvertedConstantExpression()
13284 PartialDiagnosticAt( in FinishOverloadedCallExpr()
13554 PartialDiagnosticAt(OpLoc, in CreateOverloadedUnaryOp()
14056 PartialDiagnosticAt( in CreateOverloadedBinOp()
14348 PartialDiagnosticAt( in CreateOverloadedArraySubscriptExpr()
14355 PartialDiagnosticAt(LLoc, in CreateOverloadedArraySubscriptExpr()
14553 PartialDiagnosticAt( in BuildCallToMemberFunction()
[all …]
H A DSemaInit.cpp6327 PartialDiagnosticAt( in CopyObject()
6340 PartialDiagnosticAt(Loc, S.PDiag(diag::err_temp_copy_ambiguous) in CopyObject()
6480 CandidateSet.NoteCandidates(PartialDiagnosticAt(Loc, Diag), S, in CheckCXX98CompatAccessibleCopy()
6485 CandidateSet.NoteCandidates(PartialDiagnosticAt(Loc, Diag), S, in CheckCXX98CompatAccessibleCopy()
9149 PartialDiagnosticAt( in Diagnose()
9360 PartialDiagnosticAt(Kind.getLocation(), in Diagnose()
9413 PartialDiagnosticAt( in Diagnose()
10228 PartialDiagnosticAt( in DeduceTemplateSpecializationFromInitializer()
10241 PartialDiagnosticAt( in DeduceTemplateSpecializationFromInitializer()
H A DSemaAttr.cpp389 llvm::SmallVector<PartialDiagnosticAt, 8> Notes; in ConstantFoldAttrArgs()
H A DSemaExprCXX.cpp2588 PartialDiagnosticAt(R.getNameLoc(), in resolveAllocationOverload()
2598 PartialDiagnosticAt(R.getNameLoc(), in resolveAllocationOverload()
3795 PartialDiagnosticAt(R.getNameLoc(), in resolveBuiltinNewDeleteOverload()
3803 PartialDiagnosticAt(R.getNameLoc(), in resolveBuiltinNewDeleteOverload()
3811 PartialDiagnosticAt(R.getNameLoc(), S.PDiag(diag::err_ovl_deleted_call) in resolveBuiltinNewDeleteOverload()
H A DSemaDecl.cpp10736 const PartialDiagnosticAt &NoteCausedDiagIDAt, in areMultiversionVariantFunctionsCompatible()
10737 const PartialDiagnosticAt &NoSupportDiagIDAt, in areMultiversionVariantFunctionsCompatible()
10738 const PartialDiagnosticAt &DiffDiagIDAt, bool TemplatesSupported, in areMultiversionVariantFunctionsCompatible()
10874 PartialDiagnosticAt(NewFD->getLocation(), in CheckMultiVersionAdditionalRules()
10876 PartialDiagnosticAt(NewFD->getLocation(), in CheckMultiVersionAdditionalRules()
10879 PartialDiagnosticAt(NewFD->getLocation(), in CheckMultiVersionAdditionalRules()
13677 SmallVector<PartialDiagnosticAt, 8> Notes; in CheckCompleteVariableDeclaration()
17938 OCS.NoteCandidates(PartialDiagnosticAt(Loc, Diag), S, DisplayKind, {}); in ComputeSelectedDestructor()
H A DSemaStmt.cpp2659 PartialDiagnosticAt(BeginRange->getBeginLoc(), in BuildNonArrayForRange()
2939 PartialDiagnosticAt(Range->getBeginLoc(), in BuildCXXForRangeStmt()
H A DSema.cpp1734 for (PartialDiagnosticAt &PDAt : It->second) { in emitDeferredDiags()
/llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/
H A DConsumed.h52 using OptionalNotes = SmallVector<PartialDiagnosticAt, 1>;
53 using DelayedDiag = std::pair<PartialDiagnosticAt, OptionalNotes>;
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DState.h114 void addNotes(ArrayRef<PartialDiagnosticAt> Diags);
H A DState.cpp68 void State::addNotes(ArrayRef<PartialDiagnosticAt> Diags) { in addNotes()
/llvm-project-15.0.7/clang/unittests/Basic/
H A DDiagnosticTest.cpp119 Optional<PartialDiagnosticAt> ErrDiag = DiagnosticError::take(Err); in TEST()
/llvm-project-15.0.7/clang/tools/clang-refactor/
H A DTestSupport.cpp191 const PartialDiagnosticAt &Diag = Err.getDiagnostic(); in handleAllResults()
H A DClangRefactor.cpp319 Optional<PartialDiagnosticAt> Diag = DiagnosticError::take(Err); in handleError()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExpr.h556 PartialDiagnosticAt> &Diags);
566 PartialDiagnosticAt> &Diags);
599 SmallVectorImpl<PartialDiagnosticAt> *Diag;
687 SmallVectorImpl<PartialDiagnosticAt> *Diag = nullptr) const;
691 SmallVectorImpl<PartialDiagnosticAt> *Diag = nullptr) const;
706 SmallVectorImpl<PartialDiagnosticAt> &Notes,
H A DDecl.h1324 APValue *evaluateValueImpl(SmallVectorImpl<PartialDiagnosticAt> &Notes,
1339 bool evaluateDestruction(SmallVectorImpl<PartialDiagnosticAt> &Notes) const;
1358 SmallVectorImpl<PartialDiagnosticAt> &Notes) const;
/llvm-project-15.0.7/clang/lib/AST/
H A DComputeDependence.cpp60 SmallVector<PartialDiagnosticAt, 8> Diag; in computeDependence()
H A DDecl.cpp2455 SmallVector<PartialDiagnosticAt, 8> Notes; in evaluateValue()
2459 APValue *VarDecl::evaluateValueImpl(SmallVectorImpl<PartialDiagnosticAt> &Notes, in evaluateValueImpl()
2538 SmallVectorImpl<PartialDiagnosticAt> &Notes) const { in checkForConstantInitialization()
H A DExprConstant.cpp1315 EvalInfo &Info, SmallVectorImpl<PartialDiagnosticAt> *NewDiag = nullptr) in SpeculativeEvaluationRAII()
7359 SmallVector<PartialDiagnosticAt, 8> Diag; in CheckPotentialConstantConditional()
15138 SmallVectorImpl<PartialDiagnosticAt> &Notes, in EvaluateAsInitializer()
15188 SmallVectorImpl<PartialDiagnosticAt> &Notes) const { in evaluateDestruction()
15227 SmallVectorImpl<PartialDiagnosticAt> *Diag) const { in EvaluateKnownConstInt()
15245 const ASTContext &Ctx, SmallVectorImpl<PartialDiagnosticAt> *Diag) const { in EvaluateKnownConstIntCheckOverflow()
15821 SmallVector<PartialDiagnosticAt, 8> Diags; in isCXX11ConstantExpr()
15907 PartialDiagnosticAt> &Diags) { in isPotentialConstantExpr()
15956 PartialDiagnosticAt> &Diags) { in isPotentialConstantExprUnevaluated()

12