aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/DerivedTypes.h
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2010-02-11 06:41:30 +0000
committerJeffrey Yasskin <jyasskin@google.com>2010-02-11 06:41:30 +0000
commit9233b15d01ca62445bfc638f782243988c672e01 (patch)
treed6835dc476828ac488e8066c9f1bb6528be60d60 /include/llvm/DerivedTypes.h
parent8c5ad3a5da7419af4d31963c3824836b5da52478 (diff)
downloadexternal_llvm-9233b15d01ca62445bfc638f782243988c672e01.zip
external_llvm-9233b15d01ca62445bfc638f782243988c672e01.tar.gz
external_llvm-9233b15d01ca62445bfc638f782243988c672e01.tar.bz2
Fix some of the memcheck errors found in the JIT unittests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95856 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DerivedTypes.h')
-rw-r--r--include/llvm/DerivedTypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/DerivedTypes.h b/include/llvm/DerivedTypes.h
index c220608..881fbc8 100644
--- a/include/llvm/DerivedTypes.h
+++ b/include/llvm/DerivedTypes.h
@@ -496,6 +496,7 @@ public:
/// OpaqueType - Class to represent abstract types
///
class OpaqueType : public DerivedType {
+ friend class LLVMContextImpl;
OpaqueType(const OpaqueType &); // DO NOT IMPLEMENT
const OpaqueType &operator=(const OpaqueType &); // DO NOT IMPLEMENT
OpaqueType(LLVMContext &C);