aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Bitcode
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-08-04 22:41:48 +0000
committerOwen Anderson <resistor@mac.com>2009-08-04 22:41:48 +0000
commitb52abbc089c21a98acb85fb2496a0fdf1f7893e3 (patch)
tree4a9d1fe3a0e3feacea1d637131b754943e0939f1 /include/llvm/Bitcode
parent34707fabb7e5e41596d95b75bad53f604e988e9a (diff)
downloadexternal_llvm-b52abbc089c21a98acb85fb2496a0fdf1f7893e3.zip
external_llvm-b52abbc089c21a98acb85fb2496a0fdf1f7893e3.tar.gz
external_llvm-b52abbc089c21a98acb85fb2496a0fdf1f7893e3.tar.bz2
Factor some of the constants+context related code out into a separate header, to make LLVMContextImpl.h
not hideous. Also, fix some MSVC compile errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode')
-rw-r--r--include/llvm/Bitcode/Archive.h2
-rw-r--r--include/llvm/Bitcode/ReaderWriter.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Bitcode/Archive.h b/include/llvm/Bitcode/Archive.h
index 13583c0..8a1d312 100644
--- a/include/llvm/Bitcode/Archive.h
+++ b/include/llvm/Bitcode/Archive.h
@@ -32,7 +32,7 @@ class ModuleProvider; // From VMCore
class Module; // From VMCore
class Archive; // Declared below
class ArchiveMemberHeader; // Internal implementation class
-class LLVMContext; // Global data
+struct LLVMContext; // Global data
/// This class is the main class manipulated by users of the Archive class. It
/// holds information about one member of the Archive. It is also the element
diff --git a/include/llvm/Bitcode/ReaderWriter.h b/include/llvm/Bitcode/ReaderWriter.h
index 3d33d75..9890f29 100644
--- a/include/llvm/Bitcode/ReaderWriter.h
+++ b/include/llvm/Bitcode/ReaderWriter.h
@@ -23,7 +23,7 @@ namespace llvm {
class MemoryBuffer;
class ModulePass;
class BitstreamWriter;
- class LLVMContext;
+ struct LLVMContext;
class raw_ostream;
/// getBitcodeModuleProvider - Read the header of the specified bitcode buffer