[llvm-commits] [llvm] r167812 - /llvm/trunk/include/llvm/PassManagers.h
Evan Cheng
evan.cheng at apple.com
Mon Nov 12 19:14:17 PST 2012
Author: evancheng
Date: Mon Nov 12 21:14:16 2012
New Revision: 167812
URL: http://llvm.org/viewvc/llvm-project?rev=167812&view=rev
Log:
Remove virtual keyword for two routines that should never be overridden.
Modified:
llvm/trunk/include/llvm/PassManagers.h
Modified: llvm/trunk/include/llvm/PassManagers.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/PassManagers.h?rev=167812&r1=167811&r2=167812&view=diff
==============================================================================
--- llvm/trunk/include/llvm/PassManagers.h (original)
+++ llvm/trunk/include/llvm/PassManagers.h Mon Nov 12 21:14:16 2012
@@ -168,7 +168,7 @@
protected:
explicit PMTopLevelManager(PMDataManager *PMDM);
- virtual unsigned getNumContainedManagers() const {
+ unsigned getNumContainedManagers() const {
return (unsigned)PassManagers.size();
}
@@ -343,7 +343,7 @@
void dumpRequiredSet(const Pass *P) const;
void dumpPreservedSet(const Pass *P) const;
- virtual unsigned getNumContainedPasses() const {
+ unsigned getNumContainedPasses() const {
return (unsigned)PassVector.size();
}
More information about the llvm-commits
mailing list