summaryrefslogtreecommitdiff
path: root/include/llvm/Support/InstIterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/InstIterator.h')
-rw-r--r--include/llvm/Support/InstIterator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Support/InstIterator.h b/include/llvm/Support/InstIterator.h
index 4c2d185576..31c8b660d6 100644
--- a/include/llvm/Support/InstIterator.h
+++ b/include/llvm/Support/InstIterator.h
@@ -22,6 +22,8 @@
#include "llvm/BasicBlock.h"
#include "llvm/Function.h"
+namespace llvm {
+
// This class implements inst_begin() & inst_end() for
// inst_iterator and const_inst_iterator's.
//
@@ -137,4 +139,6 @@ inline const_inst_iterator inst_end(const Function &F) {
return const_inst_iterator(F, true);
}
+} // End llvm namespace
+
#endif