summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/pluginhandler.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-08-06 17:57:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-08-06 17:59:09 +0200
commit653cdcf50c760ac026931c156c69cdc791a6f0f5 (patch)
treeec2047b75b051e42c1f03464c5378ed0be663d37 /compilerplugins/clang/pluginhandler.hxx
parent05944477039d68154e5360f0e8baff572eaa7917 (diff)
error: cannot use dynamic_cast with -fno-rtti
...with recent Clang trunk towards 3.4 Change-Id: Ie0991c7bd560c30551aeaada426382a889b46391
Diffstat (limited to 'compilerplugins/clang/pluginhandler.hxx')
-rw-r--r--compilerplugins/clang/pluginhandler.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/pluginhandler.hxx b/compilerplugins/clang/pluginhandler.hxx
index ef960d1ff2b5..d042c553a704 100644
--- a/compilerplugins/clang/pluginhandler.hxx
+++ b/compilerplugins/clang/pluginhandler.hxx
@@ -29,7 +29,7 @@ class PluginHandler
PluginHandler( CompilerInstance& compiler, const vector< string >& args );
virtual ~PluginHandler();
virtual void HandleTranslationUnit( ASTContext& context ) override;
- static void registerPlugin( Plugin* (*create)( CompilerInstance&, Rewriter& ), const char* optionName, bool isRewriter );
+ static void registerPlugin( Plugin* (*create)( CompilerInstance&, Rewriter& ), const char* optionName, bool isRewriter, bool isPPCallback );
private:
void handleOption( const string& option );
void createPlugin( const string& name );