aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/PCHReader.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-07-27 22:01:17 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-07-27 22:01:17 +0000
commitee94e2d10728d1b6a87a11aeee122e8759f58c63 (patch)
tree0a3ee297a9b8fe980de0c7937994b666eef57bc8 /lib/Frontend/PCHReader.cpp
parent0246376203474718e0ec7e4025b1820c6e72a3da (diff)
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/Frontend/PCHReader.cpp')
0 files changed, 0 insertions, 0 deletions