mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-30 19:37:08 +00:00
Set Diag::concerned if any of its Notes is concerned
This commit is contained in:
parent
b059ea3262
commit
d3808de26a
@ -285,6 +285,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