| 4830 | } |
| 4831 | |
| 4832 | bool Function::isImplicitlyVirtual(bool defaultVal, bool* pFoundAllBaseClasses) const |
| 4833 | { |
| 4834 | if (hasVirtualSpecifier() || hasOverrideSpecifier() || hasFinalSpecifier()) |
| 4835 | return true; |
| 4836 | bool foundAllBaseClasses = true; |
| 4837 | if (getOverriddenFunction(&foundAllBaseClasses)) //If it overrides a base class's method then it's virtual |
| 4838 | return true; |
| 4839 | if (pFoundAllBaseClasses) |
| 4840 | *pFoundAllBaseClasses = foundAllBaseClasses; |
| 4841 | if (foundAllBaseClasses) //If we've seen all the base classes and none of the above were true then it must not be virtual |
| 4842 | return false; |
| 4843 | return defaultVal; //If we can't see all the bases classes then we can't say conclusively |
| 4844 | } |
| 4845 | |
| 4846 | std::vector<const Function*> Function::getOverloadedFunctions() const |
| 4847 | { |
no test coverage detected