Searched refs:FixIt (Results 1 - 19 of 19) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXStoredDiagnostic.cpp99 CXString CXStoredDiagnostic::getFixIt(unsigned FixIt, argument
101 const FixItHint &Hint = Diag.fixit_begin()[FixIt];
H A DCIndexDiagnostic.h88 /// Return the FixIt information (source range and inserted text).
89 virtual CXString getFixIt(unsigned FixIt,
149 /// Return the FixIt information (source range and inserted text).
150 CXString getFixIt(unsigned FixIt,
H A DCXLoadedDiagnostic.h57 /// Return the FixIt information (source range and inserted text).
58 CXString getFixIt(unsigned FixIt,
H A DCXLoadedDiagnostic.cpp140 CXString CXLoadedDiagnostic::getFixIt(unsigned FixIt,
142 assert(FixIt < FixIts.size());
144 *ReplacementRange = FixIts[FixIt].first;
145 return cxstring::createRef(FixIts[FixIt].second);
H A DCIndexDiagnostic.cpp74 CXString getFixIt(unsigned FixIt,
430 CXString clang_getDiagnosticFixIt(CXDiagnostic Diag, unsigned FixIt, argument
433 if (!D || FixIt >= D->getNumFixIts()) {
438 return D->getFixIt(FixIt, ReplacementRange);
H A DCIndexCodeCompletion.cpp341 const FixItHint &FixIt = FixIts[fixit_index]; local
345 FixIt.RemoveRange);
348 return cxstring::createRef(FixIt.CodeToInsert.c_str());
/netbsd-current/external/apache2/llvm/lib/libclangTooling/
H A DMakefile16 FixIt.cpp \
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp591 for (const FixItHint &FixIt : Results[I].FixIts) {
592 const SourceLocation BLoc = FixIt.RemoveRange.getBegin();
593 const SourceLocation ELoc = FixIt.RemoveRange.getEnd();
599 if (FixIt.RemoveRange.isTokenRange())
607 << " to \"" << FixIt.CodeToInsert << "\")";
H A DSemaObjCProperty.cpp1941 std::string FixIt = local
1944 << FixItHint::CreateInsertion(AtEnd, FixIt);
H A DSemaChecking.cpp8091 ArrayRef<FixItHint> FixIt) {
8093 Loc, IsStringLocation, StringRange, FixIt);
8122 /// \param FixIt optional fix it hint for the format string.
8127 Range StringRange, ArrayRef<FixItHint> FixIt) {
8131 D << FixIt; local
8141 Note << FixIt; local
8087 EmitFormatDiagnostic(PartialDiagnostic PDiag, SourceLocation Loc, bool IsStringLocation, Range StringRange, ArrayRef<FixItHint> FixIt) argument
8124 EmitFormatDiagnostic( Sema &S, bool InFunctionCall, const Expr *ArgumentExpr, const PartialDiagnostic &PDiag, SourceLocation Loc, bool IsStringLocation, Range StringRange, ArrayRef<FixItHint> FixIt) argument
H A DSemaDeclCXX.cpp12436 FixItHint FixIt;
12439 FixIt = FixItHint::CreateReplacement(
12445 << FixIt;
12450 FixItHint FixIt;
12453 FixIt = FixItHint::CreateReplacement(
12460 << FixIt;
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Frontend/
H A DFrontendOptions.h79 FixIt, enumerator in enum:clang::frontend::ActionKind
/netbsd-current/external/apache2/llvm/dist/clang/lib/FrontendTool/
H A DExecuteCompilerInvocation.cpp60 case FixIt: return std::make_unique<FixItAction>();
/netbsd-current/external/apache2/llvm/dist/clang/lib/Parse/
H A DParsePragma.cpp1502 std::string FixIt; local
1506 FixIt = ", ";
1509 FixIt += "apply_to";
1512 FixIt += " = ";
1523 FixIt += "any(";
1531 FixIt += ", ";
1534 FixIt += attr::getSubjectMatchRuleSpelling(I.first);
1536 FixIt += ")";
1542 Diagnostic << FixItHint::CreateInsertion(FixItRange.getBegin(), FixIt);
1545 CharSourceRange::getCharRange(FixItRange), FixIt); local
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/Frontend/
H A DASTUnit.cpp1266 for (const auto &FixIt : InDiag.getFixIts())
1267 OutDiag.FixIts.push_back(makeStandaloneFixIt(SM, LangOpts, FixIt));
2373 for (const auto &FixIt : SD.FixIts) {
2376 FH.CodeToInsert = FixIt.CodeToInsert;
2377 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first);
2378 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second);
H A DCompilerInvocation.cpp2377 {frontend::FixIt, OPT_fixit_EQ},
2378 {frontend::FixIt, OPT_fixit},
2486 if (Opts.ProgramAction == frontend::FixIt && !Opts.FixItSuffix.empty()) {
2620 if (ProgramAction == frontend::FixIt && Opt == OPT_fixit_EQ)
4058 case frontend::FixIt:
/netbsd-current/external/apache2/llvm/dist/clang/bindings/python/clang/
H A Dcindex.py438 return FixIt(range, value)
504 class FixIt(object): class in inherits:object
506 A FixIt represents a transformation to be applied to the source to
516 return "<FixIt range %r, value %r>" % (self.range, self.value)
4208 'FixIt',
/netbsd-current/external/apache2/llvm/dist/clang/tools/c-index-test/
H A Dc-index-test.c2580 CXString FixIt = clang_getCompletionFixIt(completion_results, index, i, local
2585 fprintf(file, " to \"%s\")", clang_getCString(FixIt));
2586 clang_disposeString(FixIt);
/netbsd-current/external/apache2/llvm/dist/clang/include/clang-c/
H A DIndex.h1093 * \param FixIt The zero-based index of the fix-it.
1104 CXDiagnostic Diagnostic, unsigned FixIt, CXSourceRange *ReplacementRange);

Completed in 504 milliseconds