We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fbbb7e commit 519ea98Copy full SHA for 519ea98
clang/include/clang/Sema/DeclSpec.h
@@ -2705,7 +2705,7 @@ class VirtSpecifiers {
2705
VS_Abstract = 16
2706
};
2707
2708
- VirtSpecifiers() : Specifiers(0), LastSpecifier(VS_None) { }
+ VirtSpecifiers() = default;
2709
2710
bool SetSpecifier(Specifier VS, SourceLocation Loc,
2711
const char *&PrevSpec);
@@ -2729,8 +2729,8 @@ class VirtSpecifiers {
2729
Specifier getLastSpecifier() const { return LastSpecifier; }
2730
2731
private:
2732
- unsigned Specifiers;
2733
- Specifier LastSpecifier;
+ unsigned Specifiers = 0;
+ Specifier LastSpecifier = VS_None;
2734
2735
SourceLocation VS_overrideLoc, VS_finalLoc, VS_abstractLoc;
2736
SourceLocation FirstLocation;
0 commit comments