summaryrefslogtreecommitdiff
path: root/include/llvm/Support/TypeInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/TypeInfo.h')
-rw-r--r--include/llvm/Support/TypeInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Support/TypeInfo.h b/include/llvm/Support/TypeInfo.h
index aa2093a43d..5d9035076f 100644
--- a/include/llvm/Support/TypeInfo.h
+++ b/include/llvm/Support/TypeInfo.h
@@ -18,6 +18,8 @@
#include <typeinfo>
+namespace llvm {
+
struct TypeInfo {
TypeInfo() { // needed for containers
struct Nil {}; // Anonymous class distinct from all others...
@@ -69,4 +71,6 @@ inline bool operator>=(const TypeInfo &lhs, const TypeInfo &rhs) {
return !(lhs < rhs);
}
+} // End llvm namespace
+
#endif