Adapt compilerplugins to Clang trunk towards 3.6

Change-Id: If6ee343bb4d4004e7a95fe1c5adc97210fc0abd0
This commit is contained in:
Stephan Bergmann
2014-09-23 13:46:24 +02:00
parent 6f8b4c068e
commit 0f5756e2e4
2 changed files with 14 additions and 1 deletions

View File

@@ -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()