summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/checkconfigmacros.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/checkconfigmacros.cxx')
-rw-r--r--compilerplugins/clang/checkconfigmacros.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/compilerplugins/clang/checkconfigmacros.cxx b/compilerplugins/clang/checkconfigmacros.cxx
index 608800db2642..fff7967e49e8 100644
--- a/compilerplugins/clang/checkconfigmacros.cxx
+++ b/compilerplugins/clang/checkconfigmacros.cxx
@@ -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()