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 09207e605e
commit 71c8fb108c

View File

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