Searched refs:FixItHints (Results 1 – 9 of 9) sorted by relevance
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | StaticAssertCheck.cpp | 114 SmallVector<FixItHint, 4> FixItHints; in check() local 118 FixItHints.push_back( in check() 123 FixItHints.push_back(FixItHint::CreateRemoval( in check() 125 FixItHints.push_back(FixItHint::CreateRemoval( in check() 130 FixItHints.push_back( in check() 135 << FixItHints; in check()
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 50 static void mergeFixits(ArrayRef<FixItHint> FixItHints, in mergeFixits() argument 55 I = FixItHints.begin(), E = FixItHints.end(); I != E; ++I) { in mergeFixits() 85 ArrayRef<FixItHint> FixItHints, in emitDiagnostic() argument 101 if (!FixItHints.empty()) { in emitDiagnostic() 102 mergeFixits(FixItHints, *SM, LangOpts, MergedFixits); in emitDiagnostic() 103 FixItHints = MergedFixits; in emitDiagnostic() 106 for (ArrayRef<FixItHint>::const_iterator I = FixItHints.begin(), in emitDiagnostic() 107 E = FixItHints.end(); in emitDiagnostic() 125 emitCaret(Loc, Level, MutableRanges, FixItHints, *SM); in emitDiagnostic() 130 emitMacroExpansions(UnexpandedLoc, Level, MutableRanges, FixItHints, *SM); in emitDiagnostic()
|
/external/llvm-project/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 59 static void mergeFixits(ArrayRef<FixItHint> FixItHints, in mergeFixits() argument 63 for (const auto &Hint : FixItHints) in mergeFixits() 91 ArrayRef<FixItHint> FixItHints, in emitDiagnostic() argument 106 if (!FixItHints.empty()) { in emitDiagnostic() 107 mergeFixits(FixItHints, Loc.getManager(), LangOpts, MergedFixits); in emitDiagnostic() 108 FixItHints = MergedFixits; in emitDiagnostic() 111 for (const auto &Hint : FixItHints) in emitDiagnostic() 128 emitCaret(Loc, Level, MutableRanges, FixItHints); in emitDiagnostic() 133 emitMacroExpansions(UnexpandedLoc, Level, MutableRanges, FixItHints); in emitDiagnostic()
|
/external/clang/include/clang/Basic/ |
D | PartialDiagnostic.h | 73 SmallVector<FixItHint, 6> FixItHints; member 96 Result->FixItHints.clear(); in Allocate() 174 DiagStorage->FixItHints.push_back(Hint); in AddFixItHint() 307 for (const FixItHint &Fix : DiagStorage->FixItHints) in Emit()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | Diagnostic.h | 180 SmallVector<FixItHint, 6> FixItHints; member 1088 Result->FixItHints.clear(); in Allocate() 1175 DiagStorage->FixItHints.push_back(Hint); in AddFixItHint() 1249 DiagStorage->FixItHints.clear(); in DiagnosticBuilder() 1589 return DiagObj->DiagStorage.FixItHints.size(); in getNumFixItHints() 1594 return DiagObj->DiagStorage.FixItHints[Idx]; in getFixItHint() 1598 return DiagObj->DiagStorage.FixItHints; in getFixItHints()
|
D | PartialDiagnostic.h | 166 for (const FixItHint &Fix : DiagStorage->FixItHints) in Emit()
|
/external/llvm-project/clang/include/clang/Frontend/ |
D | DiagnosticRenderer.h | 134 ArrayRef<FixItHint> FixItHints,
|
/external/clang/include/clang/Frontend/ |
D | DiagnosticRenderer.h | 146 ArrayRef<FixItHint> FixItHints,
|
/external/llvm-project/clang/lib/Basic/ |
D | Diagnostic.cpp | 497 DiagStorage.FixItHints.clear(); in Report() 498 DiagStorage.FixItHints.append(storedDiag.fixit_begin(), in Report()
|