summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-06-12 16:06:51 +0000
committerZachary Turner <zturner@google.com>2014-06-12 16:06:51 +0000
commit070d532aafa6a07eb0f36d35f89f0bfd17901b47 (patch)
tree66cf3a15925b9c49eeb7d16cb794ef0a6ff26c19 /tools
parent82a51defb68afcb3c9ce3a16133f7e45922ec6a5 (diff)
downloadllvm-070d532aafa6a07eb0f36d35f89f0bfd17901b47.tar.gz
llvm-070d532aafa6a07eb0f36d35f89f0bfd17901b47.tar.bz2
llvm-070d532aafa6a07eb0f36d35f89f0bfd17901b47.tar.xz
Remove pimpl class from PassRegistry.
Since removeRegistrationListener is no longer called during static destruction, we can get rid of the pimpl in PassRegistry. This should clean up the code somewhat, increase clarity, and also allows us to put the Lock as a member of the class, instead of as a ManagedStatic. As part of this change, the PassInfo class is moved from PassSupport.h to its own file, to eliminate the otherwise circular header dependency between PassRegistry.h and PassSupport.h Reviewed by: rnk, dblaikie Differential Revision: http://reviews.llvm.org/D4107 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210793 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions