Home
last modified time | relevance | path

Searched refs:FixItOpts (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp99 FixItOpts.reset(new FixItActionSuffixInserter(FEOpts.FixItSuffix, in BeginSourceFileAction()
102 FixItOpts.reset(new FixItRewriteInPlace); in BeginSourceFileAction()
103 FixItOpts->FixWhatYouCan = FEOpts.FixWhatYouCan; in BeginSourceFileAction()
106 CI.getLangOpts(), FixItOpts.get())); in BeginSourceFileAction()
123 std::unique_ptr<FixItOptions> FixItOpts; in BeginInvocation() local
125 FixItOpts.reset(new FixItRewriteToTemp()); in BeginInvocation()
127 FixItOpts.reset(new FixItRewriteInPlace()); in BeginInvocation()
128 FixItOpts->Silent = true; in BeginInvocation()
129 FixItOpts->FixWhatYouCan = FEOpts.FixWhatYouCan; in BeginInvocation()
130 FixItOpts->FixOnlyWarnings = FEOpts.FixOnlyWarnings; in BeginInvocation()
[all …]
H A DFixItRewriter.cpp39 FixItOptions *FixItOpts) in FixItRewriter() argument
41 FixItOpts(FixItOpts) { in FixItRewriter()
80 if (NumFailures > 0 && !FixItOpts->FixWhatYouCan) { in WriteFixedFiles()
88 if (FixItOpts->InPlace) { in WriteFixedFiles()
99 FixItOpts->RewriteFilename(std::string(Entry->getName()), fd); in WriteFixedFiles()
133 if (!FixItOpts->Silent || in HandleDiagnostic()
147 if (DiagLevel >= DiagnosticsEngine::Error && FixItOpts->FixOnlyWarnings) { in HandleDiagnostic()
/llvm-project-15.0.7/clang/tools/clang-check/
H A DClangCheck.cpp130 clang::FixItOptions* FixItOpts) in FixItRewriter() argument
131 : clang::FixItRewriter(Diags, SourceMgr, LangOpts, FixItOpts) { in FixItRewriter()
142 FixItOpts.reset(new FixItOptions); in BeginSourceFileAction()
144 CI.getLangOpts(), FixItOpts.get())); in BeginSourceFileAction()
/llvm-project-15.0.7/clang/include/clang/Rewrite/Frontend/
H A DFixItRewriter.h79 FixItOptions *FixItOpts; variable
90 const LangOptions &LangOpts, FixItOptions *FixItOpts);
H A DFrontendActions.h32 std::unique_ptr<FixItOptions> FixItOpts; variable