diff options
Diffstat (limited to 'compilerplugins/clang/empty.cxx')
-rw-r--r-- | compilerplugins/clang/empty.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compilerplugins/clang/empty.cxx b/compilerplugins/clang/empty.cxx index c3cc86520f47..d5129d29dd3c 100644 --- a/compilerplugins/clang/empty.cxx +++ b/compilerplugins/clang/empty.cxx @@ -12,7 +12,6 @@ #include <cassert> #include "check.hxx" -#include "compat.hxx" #include "plugin.hxx" // Warn about checks whether a container is empty done via an (expensive) call to obtain the @@ -77,7 +76,7 @@ private: { return; } - auto const val = compat::getIntegerConstantExpr(rhs, compiler.getASTContext()); + auto const val = rhs->getIntegerConstantExpr(compiler.getASTContext()); if (!val) { return; |