File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -453,10 +453,6 @@ static bool containerIsConst(const Expr *ContainerExpr, bool Dereference) {
453
453
return false ;
454
454
}
455
455
456
- LoopConvertCheck::RangeDescriptor::RangeDescriptor ()
457
- : ContainerNeedsDereference(false ), DerefByConstRef(false ),
458
- DerefByValue (false ), NeedsReverseCall(false ) {}
459
-
460
456
LoopConvertCheck::LoopConvertCheck (StringRef Name, ClangTidyContext *Context)
461
457
: ClangTidyCheck(Name, Context), TUInfo(new TUTrackingInfo),
462
458
MaxCopySize (Options.get(" MaxCopySize" , 16ULL )),
Original file line number Diff line number Diff line change @@ -29,13 +29,13 @@ class LoopConvertCheck : public ClangTidyCheck {
29
29
30
30
private:
31
31
struct RangeDescriptor {
32
- RangeDescriptor ();
33
- bool ContainerNeedsDereference;
34
- bool DerefByConstRef;
35
- bool DerefByValue;
32
+ RangeDescriptor () = default ;
33
+ bool ContainerNeedsDereference = false ;
34
+ bool DerefByConstRef = false ;
35
+ bool DerefByValue = false ;
36
36
std::string ContainerString;
37
37
QualType ElemType;
38
- bool NeedsReverseCall;
38
+ bool NeedsReverseCall = false ;
39
39
};
40
40
41
41
void getAliasRange (SourceManager &SM, SourceRange &DeclRange);
You can’t perform that action at this time.
0 commit comments