mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 17:11:59 +00:00
Set Diag::concerned if any of its Notes is concerned
This commit is contained in:
parent
fd3e82b682
commit
0d911077f4
@ -274,6 +274,8 @@ public:
|
|||||||
} else {
|
} else {
|
||||||
Note &n = last->notes.emplace_back();
|
Note &n = last->notes.emplace_back();
|
||||||
fillDiagBase(n);
|
fillDiagBase(n);
|
||||||
|
if (concerned)
|
||||||
|
last->concerned = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Flush();
|
Flush();
|
||||||
|
Loading…
Reference in New Issue
Block a user