summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Constant.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/Constant.h')
-rw-r--r--llvm/include/llvm/Constant.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/Constant.h b/llvm/include/llvm/Constant.h
index ac4c82090db..fbed6ee0fbf 100644
--- a/llvm/include/llvm/Constant.h
+++ b/llvm/include/llvm/Constant.h
@@ -16,6 +16,8 @@
#include "llvm/User.h"
+namespace llvm {
+
class Constant : public User {
protected:
inline Constant(const Type *Ty) : User(Ty, Value::ConstantVal) {}
@@ -91,4 +93,6 @@ public:
// END WARNING!!
};
+} // End llvm namespace
+
#endif
OpenPOWER on IntegriCloud