diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-07-27 22:01:17 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-07-27 22:01:17 +0000 |
| commit | ee94e2d10728d1b6a87a11aeee122e8759f58c63 (patch) | |
| tree | 0a3ee297a9b8fe980de0c7937994b666eef57bc8 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 0246376203474718e0ec7e4025b1820c6e72a3da (diff) | |
| download | clang-ee94e2d10728d1b6a87a11aeee122e8759f58c63.tar.gz clang-ee94e2d10728d1b6a87a11aeee122e8759f58c63.tar.bz2 clang-ee94e2d10728d1b6a87a11aeee122e8759f58c63.tar.xz | |
Merge PCHWriterDecl.cpp's isRequiredDecl and CodeGenModule::MayDeferGeneration into a new function,
DeclIsRequiredFunctionOrFileScopedVar.
This function is part of the public CodeGen interface since it's essentially a CodeGen predicate that is also
needed by the PCH mechanism to determine whether a decl needs to be deserialized during PCH loading for codegen purposes.
This fixes current (and avoids future) codegen-from-PCH bugs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109546 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
