summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-07-29 20:08:05 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-07-29 20:08:05 +0000
commitc904933aacbfbf47ce065805b9e1cd866f8d8d27 (patch)
tree0ddf98bc82df2f93c74d47300b4558268051758f /clang/lib/CodeGen
parent6e03a7476fdfd428cb9ed96023008cb9abd54dee (diff)
downloadbcm5719-llvm-c904933aacbfbf47ce065805b9e1cd866f8d8d27.tar.gz
bcm5719-llvm-c904933aacbfbf47ce065805b9e1cd866f8d8d27.zip
Change the name to something less terrible; suggestion by Doug. No functionality change.
llvm-svn: 109797
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 06c6f5da219..63d79132b1f 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -587,7 +587,7 @@ bool CodeGenModule::MayDeferGeneration(const ValueDecl *Global) {
if (Features.EmitAllDecls)
return false;
- return !getContext().DeclIsRequiredFunctionOrFileScopedVar(Global);
+ return !getContext().DeclMustBeEmitted(Global);
}
llvm::Constant *CodeGenModule::GetWeakRefReference(const ValueDecl *VD) {
OpenPOWER on IntegriCloud