aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/MemoryDependenceAnalysis.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
commit4fac280618b557da36206a8082dced5ac1439eb0 (patch)
tree1fd19d57c67538c6a1a660645dede683659530d7 /llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
parentef2f552de48a48e97d7086f524cdb16acc39c628 (diff)
downloadllvm-4fac280618b557da36206a8082dced5ac1439eb0.zip
llvm-4fac280618b557da36206a8082dced5ac1439eb0.tar.gz
llvm-4fac280618b557da36206a8082dced5ac1439eb0.tar.bz2
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. llvm-svn: 109546
Diffstat (limited to 'llvm/lib/Analysis/MemoryDependenceAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions