summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/ConstantFolding.h
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
commit48b2f3e4850cd27d54224cd42da8a160d6b95984 (patch)
tree4a9d1fe3a0e3feacea1d637131b754943e0939f1 /include/llvm/Analysis/ConstantFolding.h
parent57035994f7329d63582365df278826dbbac5b046 (diff)
downloadllvm-48b2f3e4850cd27d54224cd42da8a160d6b95984.tar.gz
llvm-48b2f3e4850cd27d54224cd42da8a160d6b95984.tar.bz2
llvm-48b2f3e4850cd27d54224cd42da8a160d6b95984.tar.xz
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/Analysis/ConstantFolding.h')
-rw-r--r--include/llvm/Analysis/ConstantFolding.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/ConstantFolding.h b/include/llvm/Analysis/ConstantFolding.h
index 3e393ff691..3293d263a0 100644
--- a/include/llvm/Analysis/ConstantFolding.h
+++ b/include/llvm/Analysis/ConstantFolding.h
@@ -22,7 +22,7 @@ namespace llvm {
class TargetData;
class Function;
class Type;
- class LLVMContext;
+ struct LLVMContext;
/// ConstantFoldInstruction - Attempt to constant fold the specified
/// instruction. If successful, the constant result is returned, if not, null