Home
last modified time | relevance | path

Searched refs:FixIt (Results 1 – 15 of 15) sorted by relevance

/external/clang/tools/libclang/
DCXStoredDiagnostic.cpp103 CXString CXStoredDiagnostic::getFixIt(unsigned FixIt, in getFixIt() argument
105 const FixItHint &Hint = Diag.fixit_begin()[FixIt]; in getFixIt()
DCIndexDiagnostic.h89 virtual CXString getFixIt(unsigned FixIt,
150 CXString getFixIt(unsigned FixIt,
DCXLoadedDiagnostic.cpp143 CXString CXLoadedDiagnostic::getFixIt(unsigned FixIt, in getFixIt() argument
145 assert(FixIt < FixIts.size()); in getFixIt()
147 *ReplacementRange = FixIts[FixIt].first; in getFixIt()
148 return cxstring::createRef(FixIts[FixIt].second); in getFixIt()
DCIndexDiagnostic.cpp79 CXString getFixIt(unsigned FixIt, in getFixIt() argument
443 CXString clang_getDiagnosticFixIt(CXDiagnostic Diag, unsigned FixIt, in clang_getDiagnosticFixIt() argument
446 if (!D || FixIt >= D->getNumFixIts()) { in clang_getDiagnosticFixIt()
451 return D->getFixIt(FixIt, ReplacementRange); in clang_getDiagnosticFixIt()
DCXLoadedDiagnostic.h59 CXString getFixIt(unsigned FixIt,
/external/clang/include/clang/Frontend/
DFrontendOptions.h41 FixIt, ///< Parse and apply any fixits to the source. enumerator
/external/clang/lib/FrontendTool/
DExecuteCompilerInvocation.cpp53 case FixIt: return new FixItAction(); in CreateFrontendBaseAction()
/external/clang/lib/Frontend/
DASTUnit.cpp1315 for (const FixItHint &FixIt : InDiag.getFixIts()) in makeStandaloneDiagnostic() local
1316 OutDiag.FixIts.push_back(makeStandaloneFixIt(SM, LangOpts, FixIt)); in makeStandaloneDiagnostic()
2553 for (const StandaloneFixIt &FixIt : SD.FixIts) { in TranslateStoredDiagnostics() local
2556 FH.CodeToInsert = FixIt.CodeToInsert; in TranslateStoredDiagnostics()
2557 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in TranslateStoredDiagnostics()
2558 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in TranslateStoredDiagnostics()
DCompilerInvocation.cpp935 Opts.ProgramAction = frontend::FixIt; break; in ParseFrontendArgs()
1935 case frontend::FixIt: in ParsePreprocessorOutputArgs()
/external/clang/utils/TableGen/
DClangDiagnosticsEmitter.cpp244 SMFixIt FixIt(InGroupRange, Replacement); in groupDiagnostics() local
251 InGroupRange.isValid() ? FixIt in groupDiagnostics()
/external/clang/bindings/python/clang/
Dcindex.py358 return FixIt(range, value)
392 class FixIt(object): class
/external/clang/include/clang-c/
DIndex.h1013 unsigned FixIt,
/external/clang/lib/Sema/
DSemaChecking.cpp3636 ArrayRef<FixItHint> FixIt) { in EmitFormatDiagnostic() argument
3638 Loc, IsStringLocation, StringRange, FixIt); in EmitFormatDiagnostic()
3675 ArrayRef<FixItHint> FixIt) { in EmitFormatDiagnostic() argument
3679 D << FixIt; in EmitFormatDiagnostic()
3689 Note << FixIt; in EmitFormatDiagnostic()
DSemaDeclCXX.cpp8386 FixItHint FixIt; in CheckUsingDeclQualifier() local
8389 FixIt = FixItHint::CreateReplacement( in CheckUsingDeclQualifier()
8395 << FixIt; in CheckUsingDeclQualifier()
/external/clang/docs/
DUsersManual.rst319 Enable "FixIt" information in the diagnostics output.
646 #. "FixIt" information, which is a concise explanation of how to fix the