Home
last modified time | relevance | path

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

/external/clang/lib/Frontend/Rewrite/
DFrontendActions.cpp91 FixItOpts.reset(new FixItActionSuffixInserter(FEOpts.FixItSuffix, in BeginSourceFileAction()
94 FixItOpts.reset(new FixItRewriteInPlace); in BeginSourceFileAction()
95 FixItOpts->FixWhatYouCan = FEOpts.FixWhatYouCan; in BeginSourceFileAction()
98 CI.getLangOpts(), FixItOpts.get())); in BeginSourceFileAction()
115 std::unique_ptr<FixItOptions> FixItOpts; in BeginInvocation() local
117 FixItOpts.reset(new FixItRewriteToTemp()); in BeginInvocation()
119 FixItOpts.reset(new FixItRewriteInPlace()); in BeginInvocation()
120 FixItOpts->Silent = true; in BeginInvocation()
121 FixItOpts->FixWhatYouCan = FEOpts.FixWhatYouCan; in BeginInvocation()
122 FixItOpts->FixOnlyWarnings = FEOpts.FixOnlyWarnings; in BeginInvocation()
[all …]
DFixItRewriter.cpp32 FixItOptions *FixItOpts) in FixItRewriter() argument
36 FixItOpts(FixItOpts), in FixItRewriter()
76 if (NumFailures > 0 && !FixItOpts->FixWhatYouCan) { in WriteFixedFiles()
87 std::string Filename = FixItOpts->RewriteFilename(Entry->getName(), fd); in WriteFixedFiles()
120 if (!FixItOpts->Silent || in HandleDiagnostic()
134 if (DiagLevel >= DiagnosticsEngine::Error && FixItOpts->FixOnlyWarnings) { in HandleDiagnostic()
/external/clang/tools/clang-check/
DClangCheck.cpp114 clang::FixItOptions* FixItOpts) in FixItRewriter() argument
115 : clang::FixItRewriter(Diags, SourceMgr, LangOpts, FixItOpts) { in FixItRewriter()
127 FixItOpts.reset(new FixItOptions); in BeginSourceFileAction()
129 CI.getLangOpts(), FixItOpts.get())); in BeginSourceFileAction()
/external/clang/include/clang/Rewrite/Frontend/
DFixItRewriter.h73 FixItOptions *FixItOpts; variable
86 const LangOptions &LangOpts, FixItOptions *FixItOpts);
DFrontendActions.h32 std::unique_ptr<FixItOptions> FixItOpts; variable