@@ -153,7 +153,7 @@ class LLVM_ABI LVScope : public LVElement {
153153 }
154154 LVScope (const LVScope &) = delete ;
155155 LVScope &operator =(const LVScope &) = delete ;
156- virtual ~LVScope () = default ;
156+ ~LVScope () override = default ;
157157
158158 static bool classof (const LVElement *Element) {
159159 return Element->getSubclassID () == LVSubclassID::LV_SCOPE;
@@ -349,7 +349,7 @@ class LLVM_ABI LVScopeAggregate final : public LVScope {
349349 LVScopeAggregate () : LVScope() {}
350350 LVScopeAggregate (const LVScopeAggregate &) = delete ;
351351 LVScopeAggregate &operator =(const LVScopeAggregate &) = delete ;
352- ~LVScopeAggregate () = default ;
352+ ~LVScopeAggregate () override = default ;
353353
354354 // DW_AT_specification, DW_AT_abstract_origin.
355355 LVScope *getReference () const override { return Reference; }
@@ -387,7 +387,7 @@ class LLVM_ABI LVScopeAlias final : public LVScope {
387387 }
388388 LVScopeAlias (const LVScopeAlias &) = delete ;
389389 LVScopeAlias &operator =(const LVScopeAlias &) = delete ;
390- ~LVScopeAlias () = default ;
390+ ~LVScopeAlias () override = default ;
391391
392392 // Returns true if current scope is logically equal to the given 'Scope'.
393393 bool equals (const LVScope *Scope) const override ;
@@ -401,7 +401,7 @@ class LLVM_ABI LVScopeArray final : public LVScope {
401401 LVScopeArray () : LVScope() { setIsArray (); }
402402 LVScopeArray (const LVScopeArray &) = delete ;
403403 LVScopeArray &operator =(const LVScopeArray &) = delete ;
404- ~LVScopeArray () = default ;
404+ ~LVScopeArray () override = default ;
405405
406406 void resolveExtra () override ;
407407
@@ -513,7 +513,7 @@ class LLVM_ABI LVScopeCompileUnit final : public LVScope {
513513 }
514514 LVScopeCompileUnit (const LVScopeCompileUnit &) = delete ;
515515 LVScopeCompileUnit &operator =(const LVScopeCompileUnit &) = delete ;
516- ~LVScopeCompileUnit () = default ;
516+ ~LVScopeCompileUnit () override = default ;
517517
518518 LVScope *getCompileUnitParent () const override {
519519 return static_cast <LVScope *>(const_cast <LVScopeCompileUnit *>(this ));
@@ -643,7 +643,7 @@ class LLVM_ABI LVScopeEnumeration final : public LVScope {
643643 LVScopeEnumeration () : LVScope() { setIsEnumeration (); }
644644 LVScopeEnumeration (const LVScopeEnumeration &) = delete ;
645645 LVScopeEnumeration &operator =(const LVScopeEnumeration &) = delete ;
646- ~LVScopeEnumeration () = default ;
646+ ~LVScopeEnumeration () override = default ;
647647
648648 // Returns true if current scope is logically equal to the given 'Scope'.
649649 bool equals (const LVScope *Scope) const override ;
@@ -658,7 +658,7 @@ class LLVM_ABI LVScopeFormalPack final : public LVScope {
658658 LVScopeFormalPack () : LVScope() { setIsTemplatePack (); }
659659 LVScopeFormalPack (const LVScopeFormalPack &) = delete ;
660660 LVScopeFormalPack &operator =(const LVScopeFormalPack &) = delete ;
661- ~LVScopeFormalPack () = default ;
661+ ~LVScopeFormalPack () override = default ;
662662
663663 // Returns true if current scope is logically equal to the given 'Scope'.
664664 bool equals (const LVScope *Scope) const override ;
@@ -676,7 +676,7 @@ class LLVM_ABI LVScopeFunction : public LVScope {
676676 LVScopeFunction () : LVScope() {}
677677 LVScopeFunction (const LVScopeFunction &) = delete ;
678678 LVScopeFunction &operator =(const LVScopeFunction &) = delete ;
679- virtual ~LVScopeFunction () = default ;
679+ ~LVScopeFunction () override = default ;
680680
681681 // DW_AT_specification, DW_AT_abstract_origin.
682682 LVScope *getReference () const override { return Reference; }
@@ -728,7 +728,7 @@ class LLVM_ABI LVScopeFunctionInlined final : public LVScopeFunction {
728728 LVScopeFunctionInlined () : LVScopeFunction() { setIsInlinedFunction (); }
729729 LVScopeFunctionInlined (const LVScopeFunctionInlined &) = delete ;
730730 LVScopeFunctionInlined &operator =(const LVScopeFunctionInlined &) = delete ;
731- ~LVScopeFunctionInlined () = default ;
731+ ~LVScopeFunctionInlined () override = default ;
732732
733733 uint32_t getDiscriminator () const override { return Discriminator; }
734734 void setDiscriminator (uint32_t Value) override {
@@ -767,7 +767,7 @@ class LLVM_ABI LVScopeFunctionType final : public LVScopeFunction {
767767 LVScopeFunctionType () : LVScopeFunction() { setIsFunctionType (); }
768768 LVScopeFunctionType (const LVScopeFunctionType &) = delete ;
769769 LVScopeFunctionType &operator =(const LVScopeFunctionType &) = delete ;
770- ~LVScopeFunctionType () = default ;
770+ ~LVScopeFunctionType () override = default ;
771771
772772 void resolveExtra () override ;
773773};
@@ -781,7 +781,7 @@ class LLVM_ABI LVScopeModule final : public LVScope {
781781 }
782782 LVScopeModule (const LVScopeModule &) = delete ;
783783 LVScopeModule &operator =(const LVScopeModule &) = delete ;
784- ~LVScopeModule () = default ;
784+ ~LVScopeModule () override = default ;
785785
786786 // Returns true if current scope is logically equal to the given 'Scope'.
787787 bool equals (const LVScope *Scope) const override ;
@@ -797,7 +797,7 @@ class LLVM_ABI LVScopeNamespace final : public LVScope {
797797 LVScopeNamespace () : LVScope() { setIsNamespace (); }
798798 LVScopeNamespace (const LVScopeNamespace &) = delete ;
799799 LVScopeNamespace &operator =(const LVScopeNamespace &) = delete ;
800- ~LVScopeNamespace () = default ;
800+ ~LVScopeNamespace () override = default ;
801801
802802 // Access DW_AT_extension reference.
803803 LVScope *getReference () const override { return Reference; }
@@ -827,7 +827,7 @@ class LLVM_ABI LVScopeRoot final : public LVScope {
827827 LVScopeRoot () : LVScope() { setIsRoot (); }
828828 LVScopeRoot (const LVScopeRoot &) = delete ;
829829 LVScopeRoot &operator =(const LVScopeRoot &) = delete ;
830- ~LVScopeRoot () = default ;
830+ ~LVScopeRoot () override = default ;
831831
832832 StringRef getFileFormatName () const {
833833 return getStringPool ().getString (FileFormatNameIndex);
@@ -859,7 +859,7 @@ class LLVM_ABI LVScopeTemplatePack final : public LVScope {
859859 LVScopeTemplatePack () : LVScope() { setIsTemplatePack (); }
860860 LVScopeTemplatePack (const LVScopeTemplatePack &) = delete ;
861861 LVScopeTemplatePack &operator =(const LVScopeTemplatePack &) = delete ;
862- ~LVScopeTemplatePack () = default ;
862+ ~LVScopeTemplatePack () override = default ;
863863
864864 // Returns true if current scope is logically equal to the given 'Scope'.
865865 bool equals (const LVScope *Scope) const override ;
0 commit comments