Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DSourceMgr.cpp138 ArrayRef<SMFixIt> FixIts) const { in GetMessage()
195 LineStr, ColRanges, FixIts); in GetMessage()
218 ArrayRef<SMFixIt> FixIts, bool ShowColors) const { in PrintMessage() argument
219 PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors); in PrintMessage()
224 ArrayRef<SMFixIt> FixIts, bool ShowColors) const { in PrintMessage() argument
225 PrintMessage(llvm::errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors); in PrintMessage()
239 FixIts(Hints.begin(), Hints.end()) { in SMDiagnostic()
240 std::sort(FixIts.begin(), FixIts.end()); in SMDiagnostic()
244 ArrayRef<SMFixIt> FixIts, ArrayRef<char> SourceLine){ in buildFixItLine() argument
245 if (FixIts.empty()) in buildFixItLine()
[all …]
/external/llvm/include/llvm/Support/
DSourceMgr.h164 ArrayRef<SMFixIt> FixIts = None,
170 ArrayRef<SMFixIt> FixIts = None,
187 ArrayRef<SMFixIt> FixIts = None) const;
241 SmallVector<SMFixIt, 4> FixIts; variable
257 ArrayRef<SMFixIt> FixIts = None);
272 FixIts.push_back(Hint); in addFixIt()
276 return FixIts; in getFixIts()
/external/clang/tools/libclang/
DCXLoadedDiagnostic.cpp140 return FixIts.size(); in getNumFixIts()
145 assert(FixIt < FixIts.size()); in getFixIt()
147 *ReplacementRange = FixIts[FixIt].first; in getFixIt()
148 return cxstring::createRef(FixIts[FixIt].second); in getFixIt()
373 CurrentDiags.back()->FixIts.push_back( in visitFixitRecord()
DCXLoadedDiagnostic.h85 std::vector<std::pair<CXSourceRange, const char *> > FixIts; variable
/external/llvm/unittests/Support/
DSourceMgrTest.cpp42 ArrayRef<SMFixIt> FixIts) { in printMessage() argument
44 SM.PrintMessage(OS, Loc, Kind, Msg, Ranges, FixIts); in printMessage()
/external/clang/lib/Basic/
DDiagnostic.cpp964 this->FixIts.assign(Info.getFixItHints().begin(), Info.getFixItHints().end()); in StoredDiagnostic()
970 ArrayRef<FixItHint> FixIts) in StoredDiagnostic() argument
972 Ranges(Ranges.begin(), Ranges.end()), FixIts(FixIts.begin(), FixIts.end()) in StoredDiagnostic()
/external/clang/include/clang/Basic/
DDiagnostic.h1263 std::vector<FixItHint> FixIts; variable
1296 fixit_iterator fixit_begin() const { return FixIts.begin(); } in fixit_begin()
1297 fixit_iterator fixit_end() const { return FixIts.end(); } in fixit_end()
1298 unsigned fixit_size() const { return FixIts.size(); } in fixit_size()
1301 return llvm::makeArrayRef(FixIts); in getFixIts()
/external/clang/lib/Frontend/
DASTUnit.cpp1316 OutDiag.FixIts.push_back(makeStandaloneFixIt(SM, LangOpts, FixIt)); in makeStandaloneDiagnostic()
2551 SmallVector<FixItHint, 2> FixIts; in TranslateStoredDiagnostics() local
2552 FixIts.reserve(SD.FixIts.size()); in TranslateStoredDiagnostics()
2553 for (const StandaloneFixIt &FixIt : SD.FixIts) { in TranslateStoredDiagnostics()
2554 FixIts.push_back(FixItHint()); in TranslateStoredDiagnostics()
2555 FixItHint &FH = FixIts.back(); in TranslateStoredDiagnostics()
2563 SD.Message, Loc, Ranges, FixIts)); in TranslateStoredDiagnostics()
/external/clang/include/clang/Frontend/
DASTUnit.h84 std::vector<StandaloneFixIt> FixIts; member
/external/clang/lib/Sema/
DSemaType.cpp2471 FixItHint FixIts[4]; in diagnoseIgnoredQualifiers() local
2482 FixIts[NumQuals] = FixItHint::CreateRemoval(QualLoc); in diagnoseIgnoredQualifiers()
2493 << QualStr << NumQuals << FixIts[0] << FixIts[1] << FixIts[2] << FixIts[3]; in diagnoseIgnoredQualifiers()