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 | 4fac280618b557da36206a8082dced5ac1439eb0 (patch) | |
| tree | 1fd19d57c67538c6a1a660645dede683659530d7 /llvm/lib/Analysis/MemoryDependenceAnalysis.cpp | |
| parent | ef2f552de48a48e97d7086f524cdb16acc39c628 (diff) | |
| download | llvm-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
