aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/ConstantHandling.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/ConstantHandling.h')
-rw-r--r--include/llvm/ConstantHandling.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/ConstantHandling.h b/include/llvm/ConstantHandling.h
index 4facdc38e1..cf18ef8cea 100644
--- a/include/llvm/ConstantHandling.h
+++ b/include/llvm/ConstantHandling.h
@@ -39,6 +39,8 @@
#include "llvm/Instruction.h"
#include "llvm/Type.h"
+namespace opt {
+
//===----------------------------------------------------------------------===//
// Implement == directly...
//===----------------------------------------------------------------------===//
@@ -174,4 +176,5 @@ inline ConstPoolVal *ConstantFoldBinaryInstruction(unsigned Opcode,
return 0;
}
+} // end namespace opt
#endif