summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-04-13 21:47:26 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-04-13 21:47:26 +0000
commit20bb5e02a51706dab1cd260f8970aee341115ad6 (patch)
treee906a78e43ca189141d8e1bacd0fadf03266f559 /clang/lib/CodeGen/CodeGenModule.h
parentc08711e840633057c76bc971ceb112590298b30a (diff)
downloadbcm5719-llvm-20bb5e02a51706dab1cd260f8970aee341115ad6.tar.gz
bcm5719-llvm-20bb5e02a51706dab1cd260f8970aee341115ad6.zip
Minor work related to removing the assumption that value initialization
implies an all-zero bit pattern. llvm-svn: 68994
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 71cfb640980..a1e2efc4391 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -259,6 +259,11 @@ public:
llvm::Constant *EmitConstantExpr(const Expr *E, QualType DestType,
CodeGenFunction *CGF = 0);
+ /// EmitNullConstant - Return the result of value-initializing the given
+ /// type, i.e. a null expression of the given type. This is usually,
+ /// but not always, an LLVM null constant.
+ llvm::Constant *EmitNullConstant(QualType T);
+
llvm::Constant *EmitAnnotateAttr(llvm::GlobalValue *GV,
const AnnotateAttr *AA, unsigned LineNo);
OpenPOWER on IntegriCloud