summaryrefslogtreecommitdiff
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2012-12-04 05:41:27 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2012-12-04 05:41:27 +0000
commitee721156701ec3afb198d4cfede00095b228eeac (patch)
tree0ece47257bf48cdac5fbe6c5d77a7470772db726 /include/llvm/Transforms
parent3db6676e32b570dd258b4dda33754311bafec989 (diff)
downloadllvm-ee721156701ec3afb198d4cfede00095b228eeac.tar.gz
llvm-ee721156701ec3afb198d4cfede00095b228eeac.tar.bz2
llvm-ee721156701ec3afb198d4cfede00095b228eeac.tar.xz
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 'include/llvm/Transforms')
-rw-r--r--include/llvm/Transforms/IPO/InlinerPass.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Transforms/IPO/InlinerPass.h b/include/llvm/Transforms/IPO/InlinerPass.h
index b036040f51..99232de076 100644
--- a/include/llvm/Transforms/IPO/InlinerPass.h
+++ b/include/llvm/Transforms/IPO/InlinerPass.h
@@ -42,6 +42,7 @@ struct Inliner : public CallGraphSCCPass {
// Pass class.
virtual bool runOnSCC(CallGraphSCC &SCC);
+ using llvm::Pass::doFinalization;
// doFinalization - Remove now-dead linkonce functions at the end of
// processing to avoid breaking the SCC traversal.
virtual bool doFinalization(CallGraph &CG);