Searched refs:FixIts (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/Support/ |
D | SourceMgr.cpp | 154 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/ |
D | SourceMgr.h | 149 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/ |
D | CXLoadedDiagnostic.cpp | 129 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()
|
D | CXLoadedDiagnostic.h | 85 std::vector<std::pair<CXSourceRange, const char *> > FixIts; variable
|
/external/clang/lib/Basic/ |
D | Diagnostic.cpp | 950 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/ |
D | Diagnostic.h | 1206 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/ |
D | ASTUnit.cpp | 2596 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()
|