File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,12 @@ namespace {
30
30
// / Typically these are things like static locals, lambdas, or blocks.
31
31
class MicrosoftNumberingContext : public MangleNumberingContext {
32
32
llvm::DenseMap<const Type *, unsigned > ManglingNumbers;
33
- unsigned LambdaManglingNumber;
34
- unsigned StaticLocalNumber;
35
- unsigned StaticThreadlocalNumber;
33
+ unsigned LambdaManglingNumber = 0 ;
34
+ unsigned StaticLocalNumber = 0 ;
35
+ unsigned StaticThreadlocalNumber = 0 ;
36
36
37
37
public:
38
- MicrosoftNumberingContext ()
39
- : LambdaManglingNumber(0 ), StaticLocalNumber(0 ),
40
- StaticThreadlocalNumber (0 ) {}
38
+ MicrosoftNumberingContext () = default ;
41
39
42
40
unsigned getManglingNumber (const CXXMethodDecl *CallOperator) override {
43
41
return ++LambdaManglingNumber;
You can’t perform that action at this time.
0 commit comments