diff options
author | Devang Patel <dpatel@apple.com> | 2010-08-10 07:24:25 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-08-10 07:24:25 +0000 |
commit | e03edfd3e7d883bb671fb3cd5ca94ffb470e5cfa (patch) | |
tree | 099dae5eb9cf57beea7ced4b01dc9d2be27dbf67 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | b219746c80be195e914d6f620427217818476ba8 (diff) | |
download | bcm5719-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.h | 3 |
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 //===--------------------------------------------------------------------===// |