diff options
author | Matt Beaumont-Gay <matthewbg@google.com> | 2012-12-04 05:41:27 +0000 |
---|---|---|
committer | Matt Beaumont-Gay <matthewbg@google.com> | 2012-12-04 05:41:27 +0000 |
commit | ee721156701ec3afb198d4cfede00095b228eeac (patch) | |
tree | 0ece47257bf48cdac5fbe6c5d77a7470772db726 /lib/Transforms/Scalar/LICM.cpp | |
parent | 3db6676e32b570dd258b4dda33754311bafec989 (diff) |
Add 'using' declarations to suppress -Woverloaded-virtual warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169214 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LICM.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LICM.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp index 56bd459866..7ef1d34d3f 100644 --- a/lib/Transforms/Scalar/LICM.cpp +++ b/lib/Transforms/Scalar/LICM.cpp @@ -90,6 +90,8 @@ namespace { AU.addRequired<TargetLibraryInfo>(); } + using llvm::Pass::doFinalization; + bool doFinalization() { assert(LoopToAliasSetMap.empty() && "Didn't free loop alias sets"); return false; |