diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-11-30 23:21:26 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-11-30 23:21:26 +0000 |
commit | de3ef502a97c428236427d6583384bb7c85a81fc (patch) | |
tree | 47c6097eb0dc70231eb8afde1005132aea7cf5a5 /clang/lib/CodeGen/CodeGenAction.cpp | |
parent | 60e2c6aa433e6cbb3eb13377c9e8904209416267 (diff) | |
download | bcm5719-llvm-de3ef502a97c428236427d6583384bb7c85a81fc.tar.gz bcm5719-llvm-de3ef502a97c428236427d6583384bb7c85a81fc.zip |
Promote ModuleMap::Module to a namespace-scope class in the Basic
library, since modules cut across all of the libraries. Rename
serialization::Module to serialization::ModuleFile to side-step the
annoying naming conflict. Prune a bunch of ModuleMap.h includes that
are no longer needed (most files only needed the Module type).
llvm-svn: 145538
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenAction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenAction.cpp b/clang/lib/CodeGen/CodeGenAction.cpp index fb926e1e8e6..2ddcc3e5dc0 100644 --- a/clang/lib/CodeGen/CodeGenAction.cpp +++ b/clang/lib/CodeGen/CodeGenAction.cpp @@ -120,7 +120,7 @@ namespace clang { // Make sure IR generation is happy with the module. This is released by // the module provider. - Module *M = Gen->ReleaseModule(); + llvm::Module *M = Gen->ReleaseModule(); if (!M) { // The module has been released by IR gen on failures, do not double // free. |