diff options
| author | John McCall <rjmccall@apple.com> | 2010-10-09 01:34:31 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2010-10-09 01:34:31 +0000 |
| commit | a2fabff4f6f4ccbbd6d237d6737720a91b6cc030 (patch) | |
| tree | de92f1621f9dd4ba2fb94bb01130292a1ede0abb /clang/lib/CodeGen/CGDebugInfo.h | |
| parent | f4de10d2907cf5187378407fe84d6446531e2669 (diff) | |
| download | bcm5719-llvm-a2fabff4f6f4ccbbd6d237d6737720a91b6cc030.tar.gz bcm5719-llvm-a2fabff4f6f4ccbbd6d237d6737720a91b6cc030.zip | |
Permit constant evaluation of const floating-point variables with
constant initializers.
llvm-svn: 116138
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
| -rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h index 0c33fb396b9..e36712c197f 100644 --- a/clang/lib/CodeGen/CGDebugInfo.h +++ b/clang/lib/CodeGen/CGDebugInfo.h @@ -186,7 +186,7 @@ public: void EmitGlobalVariable(llvm::GlobalVariable *GV, ObjCInterfaceDecl *Decl); /// EmitGlobalVariable - Emit global variable's debug info. - void EmitGlobalVariable(const ValueDecl *VD, llvm::ConstantInt *Init); + void EmitGlobalVariable(const ValueDecl *VD, llvm::Constant *Init); /// getOrCreateRecordType - Emit record type's standalone debug info. llvm::DIType getOrCreateRecordType(QualType Ty, SourceLocation L); |

