Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/include/clang/Basic/
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;
DPartialDiagnostic.h208 using PartialDiagnosticAt = std::pair<SourceLocation, PartialDiagnostic>; variable
/external/llvm-project/clang/include/clang/Sema/
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();
DOverload.h1134 PartialDiagnosticAt PA, Sema &S, OverloadCandidateDisplayKind OCD,
/external/clang/include/clang/Sema/
DTemplateDeduction.h45 SmallVector<PartialDiagnosticAt, 4> SuppressedDiagnostics;
69 void takeSFINAEDiagnostic(PartialDiagnosticAt &PD) { in takeSFINAEDiagnostic()
107 typedef SmallVectorImpl<PartialDiagnosticAt>::const_iterator
204 char Diagnostic[sizeof(PartialDiagnosticAt)];
209 PartialDiagnosticAt *getSFINAEDiagnostic();
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp1449 typedef SmallVector<PartialDiagnosticAt, 1> OptionalNotes;
1450 typedef std::pair<PartialDiagnosticAt, OptionalNotes> DelayedDiag;
1482 PartialDiagnosticAt FNote(CurrentFunction->getBody()->getLocStart(), in getNotes()
1490 OptionalNotes getNotes(const PartialDiagnosticAt &Note) const { in getNotes()
1493 PartialDiagnosticAt FNote(CurrentFunction->getBody()->getLocStart(), in getNotes()
1501 OptionalNotes getNotes(const PartialDiagnosticAt &Note1, in getNotes()
1502 const PartialDiagnosticAt &Note2) const { in getNotes()
1507 PartialDiagnosticAt FNote(CurrentFunction->getBody()->getLocStart(), in getNotes()
1522 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) << Kind << LockName); in warnLockMismatch()
1547 PartialDiagnosticAt Warning(Loc, S.PDiag(diag::warn_cannot_resolve_lock) in handleInvalidLockExp()
[all …]
/external/llvm-project/clang/lib/Sema/
DAnalysisBasedWarnings.cpp1630 typedef SmallVector<PartialDiagnosticAt, 1> OptionalNotes;
1631 typedef std::pair<PartialDiagnosticAt, OptionalNotes> DelayedDiag;
1663 PartialDiagnosticAt FNote(CurrentFunction->getBody()->getBeginLoc(), in getNotes()
1671 OptionalNotes getNotes(const PartialDiagnosticAt &Note) const { in getNotes()
1674 PartialDiagnosticAt FNote(CurrentFunction->getBody()->getBeginLoc(), in getNotes()
1682 OptionalNotes getNotes(const PartialDiagnosticAt &Note1, in getNotes()
1683 const PartialDiagnosticAt &Note2) const { in getNotes()
1688 PartialDiagnosticAt FNote(CurrentFunction->getBody()->getBeginLoc(), in getNotes()
1698 ? getNotes(PartialDiagnosticAt( in makeLockedHereNote()
1706 ? getNotes(PartialDiagnosticAt( in makeUnlockedHereNote()
[all …]
DSemaConcept.cpp172 SmallVector<PartialDiagnosticAt, 2> EvaluationDiags; in calculateConstraintSatisfaction()
181 for (const PartialDiagnosticAt &PDiag : EvaluationDiags) in calculateConstraintSatisfaction()
226 PartialDiagnosticAt SubstDiag{SourceLocation(), in calculateConstraintSatisfaction()
DSemaOverload.cpp671 PartialDiagnosticAt *Diag = new (Result.Diagnostic) PartialDiagnosticAt( in MakeDeductionFailureInfo()
720 if (PartialDiagnosticAt *Diag = getSFINAEDiagnostic()) { in Destroy()
721 Diag->~PartialDiagnosticAt(); in Destroy()
729 if (PartialDiagnosticAt *Diag = getSFINAEDiagnostic()) { in Destroy()
730 Diag->~PartialDiagnosticAt(); in Destroy()
741 PartialDiagnosticAt *DeductionFailureInfo::getSFINAEDiagnostic() { in getSFINAEDiagnostic()
743 return static_cast<PartialDiagnosticAt*>(static_cast<void*>(Diagnostic)); in getSFINAEDiagnostic()
5750 SmallVector<PartialDiagnosticAt, 8> Notes; in CheckConvertedConstantExpression()
10870 PartialDiagnosticAt *PDiag = DeductionFailure.getSFINAEDiagnostic(); in DiagnoseBadDeduction()
11654 PartialDiagnosticAt PD, Sema &S, OverloadCandidateDisplayKind OCD, in NoteCandidates()
[all …]
DSemaInit.cpp6199 PartialDiagnosticAt( in CopyObject()
6212 PartialDiagnosticAt(Loc, S.PDiag(diag::err_temp_copy_ambiguous) in CopyObject()
6351 CandidateSet.NoteCandidates(PartialDiagnosticAt(Loc, Diag), S, in CheckCXX98CompatAccessibleCopy()
6356 CandidateSet.NoteCandidates(PartialDiagnosticAt(Loc, Diag), S, in CheckCXX98CompatAccessibleCopy()
8994 PartialDiagnosticAt( in Diagnose()
9205 PartialDiagnosticAt(Kind.getLocation(), in Diagnose()
9258 PartialDiagnosticAt( in Diagnose()
10074 PartialDiagnosticAt( in DeduceTemplateSpecializationFromInitializer()
10087 PartialDiagnosticAt( in DeduceTemplateSpecializationFromInitializer()
DSemaExprCXX.cpp2450 PartialDiagnosticAt PD(R.getNameLoc(), S.PDiag(diag::err_ovl_no_viable_function_in_call) in resolveAllocationOverload()
2480 PartialDiagnosticAt(R.getNameLoc(), in resolveAllocationOverload()
2490 PartialDiagnosticAt(R.getNameLoc(), in resolveAllocationOverload()
3663 PartialDiagnosticAt(R.getNameLoc(), in resolveBuiltinNewDeleteOverload()
3671 PartialDiagnosticAt(R.getNameLoc(), in resolveBuiltinNewDeleteOverload()
3679 PartialDiagnosticAt(R.getNameLoc(), S.PDiag(diag::err_ovl_deleted_call) in resolveBuiltinNewDeleteOverload()
/external/clang/include/clang/Analysis/Analyses/
DConsumed.h39 typedef SmallVector<PartialDiagnosticAt, 1> OptionalNotes;
40 typedef std::pair<PartialDiagnosticAt, OptionalNotes> DelayedDiag;
/external/llvm-project/clang/include/clang/Analysis/Analyses/
DConsumed.h52 using OptionalNotes = SmallVector<PartialDiagnosticAt, 1>;
53 using DelayedDiag = std::pair<PartialDiagnosticAt, OptionalNotes>;
/external/llvm-project/clang/unittests/Basic/
DDiagnosticTest.cpp84 Optional<PartialDiagnosticAt> ErrDiag = DiagnosticError::take(Err); in TEST()
/external/llvm-project/clang/lib/AST/Interp/
DState.h114 void addNotes(ArrayRef<PartialDiagnosticAt> Diags);
DState.cpp68 void State::addNotes(ArrayRef<PartialDiagnosticAt> Diags) { in addNotes()
/external/clang/include/clang/Basic/
DPartialDiagnostic.h407 typedef std::pair<SourceLocation, PartialDiagnostic> PartialDiagnosticAt; typedef
/external/llvm-project/clang/tools/clang-refactor/
DTestSupport.cpp191 const PartialDiagnosticAt &Diag = Err.getDiagnostic(); in handleAllResults()
DClangRefactor.cpp319 Optional<PartialDiagnosticAt> Diag = DiagnosticError::take(Err); in handleError()
/external/clang/include/clang/AST/
DExpr.h512 PartialDiagnosticAt> &Diags);
522 PartialDiagnosticAt> &Diags);
549 SmallVectorImpl<PartialDiagnosticAt> *Diag;
627 SmallVectorImpl<PartialDiagnosticAt> *Diag = nullptr) const;
641 SmallVectorImpl<PartialDiagnosticAt> &Notes) const;
/external/llvm-project/clang/include/clang/AST/
DExpr.h558 PartialDiagnosticAt> &Diags);
568 PartialDiagnosticAt> &Diags);
595 SmallVectorImpl<PartialDiagnosticAt> *Diag;
683 SmallVectorImpl<PartialDiagnosticAt> *Diag = nullptr) const;
687 SmallVectorImpl<PartialDiagnosticAt> *Diag = nullptr) const;
702 SmallVectorImpl<PartialDiagnosticAt> &Notes,
DDecl.h1281 APValue *evaluateValueImpl(SmallVectorImpl<PartialDiagnosticAt> &Notes,
1296 bool evaluateDestruction(SmallVectorImpl<PartialDiagnosticAt> &Notes) const;
1315 SmallVectorImpl<PartialDiagnosticAt> &Notes) const;
/external/clang/lib/AST/
DExprConstant.cpp700 void addNotes(ArrayRef<PartialDiagnosticAt> Diags) { in addNotes()
879 EvalInfo &Info, SmallVectorImpl<PartialDiagnosticAt> *NewDiag = nullptr) in SpeculativeEvaluationRAII()
2174 SmallVector<PartialDiagnosticAt, 8> Notes; in evaluateVarDeclInit()
4170 SmallVector<PartialDiagnosticAt, 8> Diag; in CheckPotentialConstantConditional()
9215 SmallVectorImpl<PartialDiagnosticAt> &Notes) const { in EvaluateAsInitializer()
9263 SmallVectorImpl<PartialDiagnosticAt> *Diag) const { in EvaluateKnownConstInt()
9782 SmallVector<PartialDiagnosticAt, 8> Diags; in isCXX11ConstantExpr()
9825 PartialDiagnosticAt> &Diags) { in isPotentialConstantExpr()
9867 PartialDiagnosticAt> &Diags) { in isPotentialConstantExprUnevaluated()
DDecl.cpp2135 SmallVector<PartialDiagnosticAt, 8> Notes; in evaluateValue()
2147 SmallVectorImpl<PartialDiagnosticAt> &Notes) const { in evaluateValue()
2230 SmallVector<PartialDiagnosticAt, 8> Notes; in checkInitIsICE()
/external/llvm-project/clang/lib/AST/
DDecl.cpp2389 SmallVector<PartialDiagnosticAt, 8> Notes; in evaluateValue()
2393 APValue *VarDecl::evaluateValueImpl(SmallVectorImpl<PartialDiagnosticAt> &Notes, in evaluateValueImpl()
2472 SmallVectorImpl<PartialDiagnosticAt> &Notes) const { in checkForConstantInitialization()

12