The check will trigger a assert failure("CondEndLoc.isValid") when
checking the IfStmt whose condition expression is not parsed.
In this case, we should ignore that.
Differential D17069
[clang-tidy] Fix an assert failure in 'readability-braces-around-statements' check. hokein on Feb 10 2016, 4:53 AM. Authored by
Details The check will trigger a assert failure("CondEndLoc.isValid") when In this case, we should ignore that.
Diff Detail Event TimelineComment Actions Looks good with one possible improvement. Thank you!
|
Maybe just replace the assertion with
?