Add a #include <cassert> for situations where Casting.h is used standalone.
authorReid Spencer <rspencer@reidspencer.com>
Sat, 13 May 2006 17:50:38 +0000 (17:50 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 13 May 2006 17:50:38 +0000 (17:50 +0000)
Patch contributed by Vladimir Prus.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28280 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/Casting.h

index 5132b4ec2885d04a0f4c37ba53bb0575b3758eac..6630fa955d37395ebc9fb8677674452137d06351 100644 (file)
@@ -15,6 +15,8 @@
 #ifndef LLVM_SUPPORT_CASTING_H
 #define LLVM_SUPPORT_CASTING_H
 
+#include <cassert>
+
 namespace llvm {
 
 //===----------------------------------------------------------------------===//