summaryrefslogtreecommitdiffstats
path: root/compilerplugins/clang
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-12-05 17:33:47 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-12-05 17:33:47 +0100
commitf995e0f7bbfc52cdfbef92b6c9d9c427a34a68e7 (patch)
tree510a2361db910beae0a1a4b55642d94c1cc74be6 /compilerplugins/clang
parent-Werror,-Wunused-result (diff)
downloadcore-f995e0f7bbfc52cdfbef92b6c9d9c427a34a68e7.tar.gz
core-f995e0f7bbfc52cdfbef92b6c9d9c427a34a68e7.zip
Adapt to current Clang trunk
Change-Id: I0aadc7019934841d6864258695a17503918b6c20
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r--compilerplugins/clang/unusedvariablecheck.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/compilerplugins/clang/unusedvariablecheck.cxx b/compilerplugins/clang/unusedvariablecheck.cxx
index fa14b9ca7fb5..759b9fa946ec 100644
--- a/compilerplugins/clang/unusedvariablecheck.cxx
+++ b/compilerplugins/clang/unusedvariablecheck.cxx
@@ -11,6 +11,7 @@
#include "unusedvariablecheck.hxx"
#include <clang/AST/ASTContext.h>
+#include <clang/AST/Attr.h>
#include <clang/Basic/SourceManager.h>
namespace loplugin