forked from OSchip/llvm-project
parent
91bd48a33a
commit
376c06c2b9
|
@ -785,7 +785,7 @@ struct CounterCoverageMappingBuilder
|
|||
else
|
||||
pushRegion(Count, getStart(S));
|
||||
|
||||
if (const CaseStmt *CS = dyn_cast<CaseStmt>(S)) {
|
||||
if (const auto *CS = dyn_cast<CaseStmt>(S)) {
|
||||
Visit(CS->getLHS());
|
||||
if (const Expr *RHS = CS->getRHS())
|
||||
Visit(RHS);
|
||||
|
|
Loading…
Reference in New Issue