aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/PCHWriterDecl.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
commit4ac7c0bb39696e92fd220118fedc484c09a69870 (patch)
treee58313feabf9708f864c2dbb6150877d71500395 /lib/Frontend/PCHWriterDecl.cpp
parentab411c8c2efed8f2403bf8596e780c0f2f905a19 (diff)
Change the name to something less terrible; suggestion by Doug. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109797 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHWriterDecl.cpp')
-rw-r--r--lib/Frontend/PCHWriterDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/PCHWriterDecl.cpp b/lib/Frontend/PCHWriterDecl.cpp
index 5d66c218bb..28a82cd23f 100644
--- a/lib/Frontend/PCHWriterDecl.cpp
+++ b/lib/Frontend/PCHWriterDecl.cpp
@@ -1086,7 +1086,7 @@ static bool isRequiredDecl(const Decl *D, ASTContext &Context) {
if (isa<FileScopeAsmDecl>(D))
return true;
- return Context.DeclIsRequiredFunctionOrFileScopedVar(D);
+ return Context.DeclMustBeEmitted(D);
}
void PCHWriter::WriteDecl(ASTContext &Context, Decl *D) {