Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp574 for (const FixItHint &FixIt : Results[I].FixIts) { in ProcessCodeCompleteResults() local
575 const SourceLocation BLoc = FixIt.RemoveRange.getBegin(); in ProcessCodeCompleteResults()
576 const SourceLocation ELoc = FixIt.RemoveRange.getEnd(); in ProcessCodeCompleteResults()
582 if (FixIt.RemoveRange.isTokenRange()) in ProcessCodeCompleteResults()
590 << " to \"" << FixIt.CodeToInsert << "\")"; in ProcessCodeCompleteResults()
H A DSemaObjCProperty.cpp1884 std::string FixIt = in DefaultSynthesizeProperties() local
1887 << FixItHint::CreateInsertion(AtEnd, FixIt); in DefaultSynthesizeProperties()
H A DSemaDeclCXX.cpp10352 FixItHint FixIt; in CheckUsingDeclQualifier() local
10355 FixIt = FixItHint::CreateReplacement( in CheckUsingDeclQualifier()
10361 << FixIt; in CheckUsingDeclQualifier()
10366 FixItHint FixIt; in CheckUsingDeclQualifier() local
10369 FixIt = FixItHint::CreateReplacement( in CheckUsingDeclQualifier()
10376 << FixIt; in CheckUsingDeclQualifier()
H A DSemaChecking.cpp7124 ArrayRef<FixItHint> FixIt) { in EmitFormatDiagnostic() argument
7126 Loc, IsStringLocation, StringRange, FixIt); in EmitFormatDiagnostic()
7160 Range StringRange, ArrayRef<FixItHint> FixIt) { in EmitFormatDiagnostic() argument
7164 D << FixIt; in EmitFormatDiagnostic()
7174 Note << FixIt; in EmitFormatDiagnostic()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/
H A DFrontendOptions.h77 FixIt, enumerator
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParsePragma.cpp1348 std::string FixIt; in createExpectedAttributeSubjectRulesTokenDiagnostic() local
1352 FixIt = ", "; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1355 FixIt += "apply_to"; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1358 FixIt += " = "; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1369 FixIt += "any("; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1377 FixIt += ", "; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1380 FixIt += attr::getSubjectMatchRuleSpelling(I.first); in createExpectedAttributeSubjectRulesTokenDiagnostic()
1382 FixIt += ")"; in createExpectedAttributeSubjectRulesTokenDiagnostic()
1388 Diagnostic << FixItHint::CreateInsertion(FixItRange.getBegin(), FixIt); in createExpectedAttributeSubjectRulesTokenDiagnostic()
1391 CharSourceRange::getCharRange(FixItRange), FixIt); in createExpectedAttributeSubjectRulesTokenDiagnostic()
/freebsd-12.1/contrib/llvm/tools/clang/lib/FrontendTool/
H A DExecuteCompilerInvocation.cpp60 case FixIt: return llvm::make_unique<FixItAction>(); in CreateFrontendBaseAction()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DASTUnit.cpp1253 for (const auto &FixIt : InDiag.getFixIts()) in makeStandaloneDiagnostic() local
1254 OutDiag.FixIts.push_back(makeStandaloneFixIt(SM, LangOpts, FixIt)); in makeStandaloneDiagnostic()
2372 for (const auto &FixIt : SD.FixIts) { in TranslateStoredDiagnostics() local
2375 FH.CodeToInsert = FixIt.CodeToInsert; in TranslateStoredDiagnostics()
2376 SourceLocation BL = FileLoc.getLocWithOffset(FixIt.RemoveRange.first); in TranslateStoredDiagnostics()
2377 SourceLocation EL = FileLoc.getLocWithOffset(FixIt.RemoveRange.second); in TranslateStoredDiagnostics()
H A DCompilerInvocation.cpp1627 Opts.ProgramAction = frontend::FixIt; break; in ParseFrontendArgs()
3048 case frontend::FixIt: in isStrictlyPreprocessorAction()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang-c/
H A DIndex.h1112 unsigned FixIt,
/freebsd-12.1/lib/clang/libclang/
H A DMakefile631 SRCS_MIN+= Tooling/FixIt.cpp