summaryrefslogtreecommitdiff
path: root/clang-plugin/assertion-extracter.h
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2013-12-10 12:55:16 +0000
committerPhilip Withnall <philip.withnall@collabora.co.uk>2013-12-10 12:55:16 +0000
commitd440167b3f93e96bf16c6a1c5f185ddd83221150 (patch)
tree06e0897fd0eaf7bf051ef015c0f7680e8ce1bf13 /clang-plugin/assertion-extracter.h
parent382206229391f06a59a66b31e6abeed63b690a35 (diff)
clang-plugin: Add #ifdef guards to header files
Diffstat (limited to 'clang-plugin/assertion-extracter.h')
-rw-r--r--clang-plugin/assertion-extracter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang-plugin/assertion-extracter.h b/clang-plugin/assertion-extracter.h
index c1c8093..191d9d1 100644
--- a/clang-plugin/assertion-extracter.h
+++ b/clang-plugin/assertion-extracter.h
@@ -20,6 +20,9 @@
* Philip Withnall <philip.withnall@collabora.co.uk>
*/
+#ifndef GNOME_CLANG_ASSERTION_EXTRACTER_H
+#define GNOME_CLANG_ASSERTION_EXTRACTER_H
+
#include <unordered_set>
#include <clang/AST/AST.h>
@@ -34,3 +37,5 @@ namespace AssertionExtracter {
Expr& assertion_expr, const ASTContext& context,
std::unordered_set<const ValueDecl*>& param_decls);
}
+
+#endif /* !GNOME_CLANG_ASSERTION_EXTRACTER_H */