error: cannot use dynamic_cast with -fno-rtti
...with recent Clang trunk towards 3.4 Change-Id: Ie0991c7bd560c30551aeaada426382a889b46391
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user