Set Diag::concerned if any of its Notes is concerned

This commit is contained in:
Fangrui Song 2019-05-12 09:03:58 -07:00
parent b059ea3262
commit d3808de26a

View File

@ -285,6 +285,8 @@ public:
} else {
Note &n = last->notes.emplace_back();
fillDiagBase(n);
if (concerned)
last->concerned = true;
}
} else {
Flush();