/external/llvm/lib/Support/ |
H A D | SourceMgr.cpp | 138 ArrayRef<SMFixIt> FixIts) const { 195 LineStr, ColRanges, FixIts); 218 ArrayRef<SMFixIt> FixIts, bool ShowColors) const { 219 PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors); 224 ArrayRef<SMFixIt> FixIts, bool ShowColors) const { 225 PrintMessage(llvm::errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors); local 239 FixIts(Hints.begin(), Hints.end()) { 240 std::sort(FixIts.begin(), FixIts.end()); 244 ArrayRef<SMFixIt> FixIts, ArrayRe 215 PrintMessage(raw_ostream &OS, SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, ArrayRef<SMRange> Ranges, ArrayRef<SMFixIt> FixIts, bool ShowColors) const argument 222 PrintMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, ArrayRef<SMRange> Ranges, ArrayRef<SMFixIt> FixIts, bool ShowColors) const argument 243 buildFixItLine(std::string &CaretLine, std::string &FixItLine, ArrayRef<SMFixIt> FixIts, ArrayRef<char> SourceLine) argument [all...] |
/external/llvm/include/llvm/Support/ |
H A D | SourceMgr.h | 164 ArrayRef<SMFixIt> FixIts = None, 170 ArrayRef<SMFixIt> FixIts = None, 187 ArrayRef<SMFixIt> FixIts = None) const; 241 SmallVector<SMFixIt, 4> FixIts; member in class:llvm::SMDiagnostic 257 ArrayRef<SMFixIt> FixIts = None); 272 FixIts.push_back(Hint); 276 return FixIts;
|
/external/clang/tools/libclang/ |
H A D | CXLoadedDiagnostic.h | 55 /// \brief Return the number of FixIts. 85 std::vector<std::pair<CXSourceRange, const char *> > FixIts; member in class:clang::CXLoadedDiagnostic
|
H A D | CXLoadedDiagnostic.cpp | 139 return FixIts.size(); 144 assert(FixIt < FixIts.size()); 146 *ReplacementRange = FixIts[FixIt].first; 147 return cxstring::createRef(FixIts[FixIt].second); 372 CurrentDiags.back()->FixIts.push_back(
|
/external/llvm/unittests/Support/ |
H A D | SourceMgrTest.cpp | 42 ArrayRef<SMFixIt> FixIts) { 44 SM.PrintMessage(OS, Loc, Kind, Msg, Ranges, FixIts); 40 printMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, ArrayRef<SMRange> Ranges, ArrayRef<SMFixIt> FixIts) argument
|
/external/clang/include/clang/Basic/ |
H A D | Diagnostic.h | 1256 std::vector<FixItHint> FixIts; 1290 fixit_iterator fixit_begin() const { return FixIts.begin(); } 1291 fixit_iterator fixit_end() const { return FixIts.end(); } 1292 unsigned fixit_size() const { return FixIts.size(); } 1295 return llvm::makeArrayRef(FixIts);
|
/external/clang/lib/Basic/ |
H A D | Diagnostic.cpp | 953 this->FixIts.assign(Info.getFixItHints().begin(), Info.getFixItHints().end()); 959 ArrayRef<FixItHint> FixIts) 961 Ranges(Ranges.begin(), Ranges.end()), FixIts(FixIts.begin(), FixIts.end()) 956 StoredDiagnostic(DiagnosticsEngine::Level Level, unsigned ID, StringRef Message, FullSourceLoc Loc, ArrayRef<CharSourceRange> Ranges, ArrayRef<FixItHint> FixIts) argument
|
/external/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 1299 OutDiag.FixIts.push_back(makeStandaloneFixIt(SM, LangOpts, FixIt)); 2521 SmallVector<FixItHint, 2> FixIts; local 2522 FixIts.reserve(SD.FixIts.size()); 2523 for (const StandaloneFixIt &FixIt : SD.FixIts) { 2524 FixIts.push_back(FixItHint()); 2525 FixItHint &FH = FixIts.back(); 2533 SD.Message, Loc, Ranges, FixIts));
|
/external/clang/include/clang/Frontend/ |
H A D | ASTUnit.h | 82 std::vector<StandaloneFixIt> FixIts; member in struct:clang::ASTUnit::StandaloneDiagnostic
|
/external/clang/lib/Sema/ |
H A D | SemaType.cpp | 2036 FixItHint FixIts[4]; local 2047 FixIts[NumQuals] = FixItHint::CreateRemoval(QualLoc); 2058 << QualStr << NumQuals << FixIts[0] << FixIts[1] << FixIts[2] << FixIts[3]; local
|