/external/llvm/lib/Support/ |
D | SourceMgr.cpp | 138 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/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | SourceMgr.h | 159 ArrayRef<SMFixIt> FixIts = None, 165 ArrayRef<SMFixIt> FixIts = None, 182 ArrayRef<SMFixIt> FixIts = None) const; 236 SmallVector<SMFixIt, 4> FixIts; variable 252 ArrayRef<SMFixIt> FixIts = None); 267 FixIts.push_back(Hint); in addFixIt() 271 return FixIts; in getFixIts()
|
/external/llvm/include/llvm/Support/ |
D | SourceMgr.h | 164 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/ |
D | CXLoadedDiagnostic.cpp | 140 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()
|
D | CXLoadedDiagnostic.h | 85 std::vector<std::pair<CXSourceRange, const char *> > FixIts; variable
|
/external/llvm/unittests/Support/ |
D | SourceMgrTest.cpp | 42 ArrayRef<SMFixIt> FixIts) { in printMessage() argument 44 SM.PrintMessage(OS, Loc, Kind, Msg, Ranges, FixIts); in printMessage()
|
/external/clang/lib/Basic/ |
D | Diagnostic.cpp | 965 this->FixIts.assign(Info.getFixItHints().begin(), Info.getFixItHints().end()); in StoredDiagnostic() 971 ArrayRef<FixItHint> FixIts) in StoredDiagnostic() argument 973 Ranges(Ranges.begin(), Ranges.end()), FixIts(FixIts.begin(), FixIts.end()) in StoredDiagnostic()
|
/external/clang/include/clang/Basic/ |
D | Diagnostic.h | 1270 std::vector<FixItHint> FixIts; variable 1303 fixit_iterator fixit_begin() const { return FixIts.begin(); } in fixit_begin() 1304 fixit_iterator fixit_end() const { return FixIts.end(); } in fixit_end() 1305 unsigned fixit_size() const { return FixIts.size(); } in fixit_size() 1308 return llvm::makeArrayRef(FixIts); in getFixIts()
|
/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 1314 OutDiag.FixIts.push_back(makeStandaloneFixIt(SM, LangOpts, FixIt)); in makeStandaloneDiagnostic() 2561 SmallVector<FixItHint, 2> FixIts; in TranslateStoredDiagnostics() local 2562 FixIts.reserve(SD.FixIts.size()); in TranslateStoredDiagnostics() 2563 for (const StandaloneFixIt &FixIt : SD.FixIts) { in TranslateStoredDiagnostics() 2564 FixIts.push_back(FixItHint()); in TranslateStoredDiagnostics() 2565 FixItHint &FH = FixIts.back(); in TranslateStoredDiagnostics() 2573 SD.Message, Loc, Ranges, FixIts)); in TranslateStoredDiagnostics()
|
/external/clang/include/clang/Frontend/ |
D | ASTUnit.h | 84 std::vector<StandaloneFixIt> FixIts; member
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 2679 FixItHint FixIts[5]; in diagnoseIgnoredQualifiers() local 2690 FixIts[NumQuals] = FixItHint::CreateRemoval(QualLoc); in diagnoseIgnoredQualifiers() 2701 << QualStr << NumQuals << FixIts[0] << FixIts[1] << FixIts[2] << FixIts[3]; in diagnoseIgnoredQualifiers()
|