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 fd3e82b682
commit 0d911077f4

View File

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