aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-01-13 11:13:56 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-01-13 11:13:56 +0000
commit816702ffe00a9bf60704d1c992f55203ca39c55c (patch)
treea9435a1c60ebeb5025389cfc7f90e42913e29ead /clang/lib/Lex/ModuleMap.cpp
parentcdcb580d4e7760b7fd2b85fd647c7e5c3478ee99 (diff)
downloadllvm-816702ffe00a9bf60704d1c992f55203ca39c55c.zip
llvm-816702ffe00a9bf60704d1c992f55203ca39c55c.tar.gz
llvm-816702ffe00a9bf60704d1c992f55203ca39c55c.tar.bz2
[PM] Refactor the new pass manager to use a single template to implement
the generic functionality of the pass managers themselves. In the new infrastructure, the pass "manager" isn't actually interesting at all. It just pipelines a single chunk of IR through N passes. We don't need to know anything about the IR or the passes to do this really and we can replace the 3 implementations of the exact same functionality with a single generic PassManager template, complementing the single generic AnalysisManager template. I've left typedefs in place to give convenient names to the various obvious instantiations of the template. With this, I think I've nuked almost all of the redundant logic in the managers, and I think the overall design is actually simpler for having single templates that clearly indicate there is no special logic here. The logging is made somewhat more annoying by this change, but I don't think the difference is worth having heavy-weight traits to help log things. llvm-svn: 225783
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions