summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ASTContext.cpp
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/AST/ASTContext.cpp
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/AST/ASTContext.cpp')
-rw-r--r--clang/lib/AST/ASTContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp
index 633538f3129..ef1138eee72 100644
--- a/clang/lib/AST/ASTContext.cpp
+++ b/clang/lib/AST/ASTContext.cpp
@@ -5543,7 +5543,7 @@ GVALinkage ASTContext::GetGVALinkageForVariable(const VarDecl *VD) {
return GVA_StrongExternal;
}
-bool ASTContext::DeclIsRequiredFunctionOrFileScopedVar(const Decl *D) {
+bool ASTContext::DeclMustBeEmitted(const Decl *D) {
if (const VarDecl *VD = dyn_cast<VarDecl>(D)) {
if (!VD->isFileVarDecl())
return false;
OpenPOWER on IntegriCloud