Make FunctionDecl::isDefined non-virtual, NFC

This convenience wrapper was made virtual when it was introduced. I see
no overrides and no reason for it to be virtual, so make it non-virtual.
This commit is contained in:
Reid Kleckner 2020-03-31 09:01:06 -07:00
parent 30436a1ce7
commit 753a3245f7
1 changed files with 1 additions and 1 deletions

View File

@ -2030,7 +2030,7 @@ public:
/// declaration to the declaration that is a definition (if there is one).
bool isDefined(const FunctionDecl *&Definition) const;
virtual bool isDefined() const {
bool isDefined() const {
const FunctionDecl* Definition;
return isDefined(Definition);
}