Home
last modified time | relevance | path

Searched refs:FixIts (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Support/
DSourceMgr.cpp154 ArrayRef<SMFixIt> FixIts) const { in GetMessage()
211 LineStr, ColRanges, FixIts); in GetMessage()
216 ArrayRef<SMFixIt> FixIts, bool ShowColors) const { in PrintMessage() argument
217 SMDiagnostic Diagnostic = GetMessage(Loc, Kind, Msg, Ranges, FixIts); in PrintMessage()
247 FixIts(Hints.begin(), Hints.end()) { in SMDiagnostic()
248 std::sort(FixIts.begin(), FixIts.end()); in SMDiagnostic()
252 ArrayRef<SMFixIt> FixIts, ArrayRef<char> SourceLine){ in buildFixItLine() argument
253 if (FixIts.empty()) in buildFixItLine()
261 for (ArrayRef<SMFixIt>::iterator I = FixIts.begin(), E = FixIts.end(); in buildFixItLine()
425 buildFixItLine(CaretLine, FixItInsertionLine, FixIts, in print()
/external/llvm/include/llvm/Support/
DSourceMgr.h149 ArrayRef<SMFixIt> FixIts = ArrayRef<SMFixIt>(),
160 ArrayRef<SMFixIt> FixIts = ArrayRef<SMFixIt>()) const;
214 SmallVector<SMFixIt, 4> FixIts; variable
230 ArrayRef<SMFixIt> FixIts = ArrayRef<SMFixIt>());
245 FixIts.push_back(Hint); in addFixIt()
249 return FixIts; in getFixIts()
/external/clang/tools/libclang/
DCXLoadedDiagnostic.cpp129 return FixIts.size(); in getNumFixIts()
134 assert(FixIt < FixIts.size()); in getFixIt()
136 *ReplacementRange = FixIts[FixIt].first; in getFixIt()
137 return cxstring::createRef(FixIts[FixIt].second); in getFixIt()
628 D->FixIts.push_back(std::make_pair(SR, RetStr)); in readDiagnosticBlock()
DCXLoadedDiagnostic.h85 std::vector<std::pair<CXSourceRange, const char *> > FixIts; variable
/external/clang/lib/Basic/
DDiagnostic.cpp950 FixIts.reserve(Info.getNumFixItHints()); in StoredDiagnostic()
952 FixIts.push_back(Info.getFixItHint(I)); in StoredDiagnostic()
958 ArrayRef<FixItHint> FixIts) in StoredDiagnostic() argument
960 Ranges(Ranges.begin(), Ranges.end()), FixIts(FixIts.begin(), FixIts.end()) in StoredDiagnostic()
/external/clang/include/clang/Basic/
DDiagnostic.h1206 std::vector<FixItHint> FixIts; variable
1240 fixit_iterator fixit_begin() const { return FixIts.begin(); } in fixit_begin()
1241 fixit_iterator fixit_end() const { return FixIts.end(); } in fixit_end()
1242 unsigned fixit_size() const { return FixIts.size(); } in fixit_size()
1245 return llvm::makeArrayRef(FixIts); in getFixIts()
/external/clang/lib/Frontend/
DASTUnit.cpp2596 SmallVector<FixItHint, 2> FixIts; in TranslateStoredDiagnostics() local
2597 FixIts.reserve(SD.fixit_size()); in TranslateStoredDiagnostics()
2601 FixIts.push_back(FixItHint()); in TranslateStoredDiagnostics()
2602 FixItHint &FH = FixIts.back(); in TranslateStoredDiagnostics()
2613 SD.getMessage(), Loc, Ranges, FixIts)); in TranslateStoredDiagnostics()