summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-08-10 07:24:25 +0000
committerDevang Patel <dpatel@apple.com>2010-08-10 07:24:25 +0000
commite03edfd3e7d883bb671fb3cd5ca94ffb470e5cfa (patch)
tree099dae5eb9cf57beea7ced4b01dc9d2be27dbf67 /clang/lib/CodeGen/CodeGenFunction.h
parentb219746c80be195e914d6f620427217818476ba8 (diff)
downloadbcm5719-llvm-e03edfd3e7d883bb671fb3cd5ca94ffb470e5cfa.tar.gz
bcm5719-llvm-e03edfd3e7d883bb671fb3cd5ca94ffb470e5cfa.zip
Even if a constant's evaluated value is used, emit debug info for the constant variable.
llvm-svn: 110660
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index af7e0696f49..e0673d99174 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -41,6 +41,7 @@ namespace llvm {
}
namespace clang {
+ class APValue;
class ASTContext;
class CXXDestructorDecl;
class CXXTryStmt;
@@ -1372,7 +1373,7 @@ public:
LValue EmitStmtExprLValue(const StmtExpr *E);
LValue EmitPointerToDataMemberBinaryExpr(const BinaryOperator *E);
LValue EmitObjCSelectorLValue(const ObjCSelectorExpr *E);
-
+ void EmitDeclRefExprDbgValue(const DeclRefExpr *E, const APValue &AV);
//===--------------------------------------------------------------------===//
// Scalar Expression Emission
//===--------------------------------------------------------------------===//
OpenPOWER on IntegriCloud