Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(728)

Unified Diff: include/clang/Rewrite/ASTConsumers.h

Issue 2826041: Rewriter that converts implicit scoped_refptr constructor calls to make_scoped_refptr calls Base URL: https://llvm.org/svn/llvm-project/cfe/trunk/
Patch Set: rebase on clang with correct cxxnewexpr sourceranges Created 13 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/clang/Frontend/FrontendOptions.h ('k') | include/clang/Rewrite/FrontendActions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/clang/Rewrite/ASTConsumers.h
===================================================================
--- include/clang/Rewrite/ASTConsumers.h (revision 119972)
+++ include/clang/Rewrite/ASTConsumers.h (working copy)
@@ -40,6 +40,14 @@
bool SyntaxHighlight = true,
bool HighlightMacros = true);
+// ScopedRefptr rewriter: attempts to rewrite code into pure code.
+ASTConsumer *CreateScopedRefptrRewriter(
+ const std::string &InFile,
+ llvm::raw_ostream *OS,
+ Diagnostic &Diags,
+ const LangOptions &LOpts,
+ bool SilenceRewriteMacroWarning);
+
} // end clang namespace
#endif
« no previous file with comments | « include/clang/Frontend/FrontendOptions.h ('k') | include/clang/Rewrite/FrontendActions.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b