dummyunit 229832e72e
Read error locations in the correct order from XML (#3226)
When ErrorMessage::callStack elements are serialized to XML they are
saved in the reverse order. But when they read back from XML they are
added at the end of the list. Thus the round trip via XML reverses the
order of ErrorMessage::callStack.

From the user point of view it looks like the usage of the
--cppcheck-build-dir option sometimes (when the file wasn't reanalyzed,
but that is hard to spot) results in incorrect location info for some
diagnostic messages.

Moreover, when the first location matches some suppression rule and the
last doesn't match any (or vice versa), usage of --cppcheck-build-dir
results in some diagnostic messages appearing and disappearing seemingly
at random (again, depending on whether the file was reanalyzed or not).
2021-04-22 14:28:33 +02:00
..
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2020-10-03 09:15:56 +02:00
2021-04-18 21:51:47 +02:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2020-11-28 05:52:35 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2020-10-03 09:15:56 +02:00
2021-03-21 20:58:32 +01:00
2020-10-03 09:15:56 +02:00
2021-03-21 20:58:32 +01:00
2020-10-03 09:15:56 +02:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-04-21 14:49:06 +02:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-04-18 21:51:47 +02:00
2021-04-18 19:42:22 +02:00
2021-04-04 18:20:32 +02:00
2021-03-21 21:25:54 +01:00