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
This commit is contained in:
Matt Beaumont-Gay
2012-12-04 05:41:27 +00:00
parent 3db6676e32
commit ee72115670
5 changed files with 12 additions and 0 deletions
+1
View File
@@ -42,6 +42,7 @@ namespace {
InlineCost getInlineCost(CallSite CS) {
return CA.getInlineCost(CS, getInlineThreshold(CS));
}
using llvm::Pass::doInitialization;
virtual bool doInitialization(CallGraph &CG);
};
}