aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-10 18:58:29 +0000
committerOwen Anderson <resistor@mac.com>2009-07-10 18:58:29 +0000
commita439ee027bc908cd18e75703370174e053699b8a (patch)
tree23f6c5e18fad705b3749d8e1961dea9abf4a6674 /include
parent84232681cc559cec8feab3a1467dc8235cebd113 (diff)
downloadexternal_llvm-a439ee027bc908cd18e75703370174e053699b8a.zip
external_llvm-a439ee027bc908cd18e75703370174e053699b8a.tar.gz
external_llvm-a439ee027bc908cd18e75703370174e053699b8a.tar.bz2
Fix unit tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/TypeBuilder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/TypeBuilder.h b/include/llvm/Support/TypeBuilder.h
index 22698e9..5ea7f9e 100644
--- a/include/llvm/Support/TypeBuilder.h
+++ b/include/llvm/Support/TypeBuilder.h
@@ -16,6 +16,7 @@
#define LLVM_SUPPORT_TYPEBUILDER_H
#include "llvm/DerivedTypes.h"
+#include "llvm/LLVMContext.h"
#include <limits.h>
namespace llvm {
@@ -234,7 +235,7 @@ public:
template<bool cross> class TypeBuilder<void, cross> {
public:
- static const Type *get(LLVMContxt&) {
+ static const Type *get(LLVMContext&) {
return Type::VoidTy;
}
};