summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polly/include/polly/LoopGenerators.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/polly/include/polly/LoopGenerators.h b/polly/include/polly/LoopGenerators.h
index d55d55cf357..b37c55298f3 100644
--- a/polly/include/polly/LoopGenerators.h
+++ b/polly/include/polly/LoopGenerators.h
@@ -11,6 +11,8 @@
// as LLVM-IR.
//
//===----------------------------------------------------------------------===//
+#ifndef POLLY_LOOP_GENERATORS_H
+#define POLLY_LOOP_GENERATORS_H
#include "llvm/Support/IRBuilder.h"
#include "llvm/ADT/SetVector.h"
@@ -22,6 +24,7 @@ namespace llvm {
class BasicBlock;
}
+namespace polly {
using namespace llvm;
/// @brief Create a scalar loop.
@@ -105,4 +108,6 @@ private:
/// @brief Create the definition of the OpenMP subfunction.
Function *createSubfunctionDefinition();
};
+} // end namespace polly
+#endif
OpenPOWER on IntegriCloud