error: cannot use dynamic_cast with -fno-rtti

...with recent Clang trunk towards 3.4

Change-Id: Ie0991c7bd560c30551aeaada426382a889b46391
This commit is contained in:
Stephan Bergmann
2013-08-06 17:57:45 +02:00
parent 0594447703
commit 653cdcf50c
6 changed files with 12 additions and 7 deletions

View File

@@ -62,9 +62,9 @@ bool Plugin::ignoreLocation( SourceLocation loc )
return true;
}
void Plugin::registerPlugin( Plugin* (*create)( CompilerInstance&, Rewriter& ), const char* optionName, bool isRewriter )
void Plugin::registerPlugin( Plugin* (*create)( CompilerInstance&, Rewriter& ), const char* optionName, bool isRewriter, bool isPPCallback )
{
PluginHandler::registerPlugin( create, optionName, isRewriter );
PluginHandler::registerPlugin( create, optionName, isRewriter, isPPCallback );
}
unordered_map< const Stmt*, const Stmt* > Plugin::parents;