Adapt compilerplugins to Clang trunk towards 3.6
Change-Id: If6ee343bb4d4004e7a95fe1c5adc97210fc0abd0
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "compat.hxx"
|
||||
#include "plugin.hxx"
|
||||
|
||||
#include <clang/Lex/Preprocessor.h>
|
||||
@@ -59,7 +60,7 @@ class CheckConfigMacros
|
||||
CheckConfigMacros::CheckConfigMacros( const InstantiationData& data )
|
||||
: Plugin( data )
|
||||
{
|
||||
compiler.getPreprocessor().addPPCallbacks( this );
|
||||
compat::addPPCallbacks(compiler.getPreprocessor(), this);
|
||||
}
|
||||
|
||||
void CheckConfigMacros::run()
|
||||
|
Reference in New Issue
Block a user