summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-08-10 17:53:33 +0000
committerDevang Patel <dpatel@apple.com>2010-08-10 17:53:33 +0000
commitdc866e119c2ac6ab3e6227af64e60bc7dccead42 (patch)
tree861544a1ffb15a79224ed306ba772bea7b826800 /clang/lib/CodeGen/CGDebugInfo.h
parentce25f33e2a825c9260c834f029ff206672645d7c (diff)
downloadbcm5719-llvm-dc866e119c2ac6ab3e6227af64e60bc7dccead42.tar.gz
bcm5719-llvm-dc866e119c2ac6ab3e6227af64e60bc7dccead42.zip
Simplify code and add comments, in code that generate debug info for constant integer globals, based on Chris's feedback.
llvm-svn: 110694
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h
index 4df2ab62f82..93c9aeea3ce 100644
--- a/clang/lib/CodeGen/CGDebugInfo.h
+++ b/clang/lib/CodeGen/CGDebugInfo.h
@@ -181,8 +181,8 @@ public:
/// EmitGlobalVariable - Emit information about an objective-c interface.
void EmitGlobalVariable(llvm::GlobalVariable *GV, ObjCInterfaceDecl *Decl);
- /// EmitGlobalVariable - Emit information about a constant.
- void EmitGlobalVariable(llvm::Constant *C, const ValueDecl *VD,
+ /// EmitGlobalVariable - Emit global variable's debug info.
+ void EmitGlobalVariable(const ValueDecl *VD, llvm::ConstantInt *Init,
CGBuilderTy &Builder);
private:
OpenPOWER on IntegriCloud