summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Casting.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-05-13 17:50:38 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-05-13 17:50:38 +0000
commitc7365a9ec96ff434d93d0d8052812283b33e537d (patch)
treef4b96a2fa1be6b879cca8b04fc46f415b28e6166 /include/llvm/Support/Casting.h
parent8820ad5154eae194a685a8735bd5999221fdffd0 (diff)
downloadllvm-c7365a9ec96ff434d93d0d8052812283b33e537d.tar.gz
llvm-c7365a9ec96ff434d93d0d8052812283b33e537d.tar.bz2
llvm-c7365a9ec96ff434d93d0d8052812283b33e537d.tar.xz
Add a #include <cassert> for situations where Casting.h is used standalone.
Patch contributed by Vladimir Prus. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28280 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Casting.h')
-rw-r--r--include/llvm/Support/Casting.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Support/Casting.h b/include/llvm/Support/Casting.h
index 5132b4ec28..6630fa955d 100644
--- a/include/llvm/Support/Casting.h
+++ b/include/llvm/Support/Casting.h
@@ -15,6 +15,8 @@
#ifndef LLVM_SUPPORT_CASTING_H
#define LLVM_SUPPORT_CASTING_H
+#include <cassert>
+
namespace llvm {
//===----------------------------------------------------------------------===//