Files
libreoffice/compilerplugins/clang
Stephan Bergmann 1136ed6c51 Fix Plugin::containsPreprocessingConditionalInclusion
...which had been broken since dfc0dc4801
"loplugin:casttovoid: fix containsPreprocessingConditionalInclusion()", and,
when range.getEnd() was a macro loc, would typically have wandered off past
the end of the intended range, until it would have encountered some #if etc.
and erroneously returned true.  Fixed the fallout across the code base.

While at it, added a clarifying comment and made the "lexing fails" cases that
should never happen fail with a fatal error in debug mode.

Change-Id: Ieff44548384426d7716b6fc6c836c9069d878729
Reviewed-on: https://gerrit.libreoffice.org/81721
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-10-30 07:14:17 +01:00
..
2019-10-28 12:07:54 +01:00
2019-07-01 10:23:53 +02:00
2019-10-23 22:07:32 +02:00
2019-10-14 15:48:38 +02:00
2019-10-14 15:48:38 +02:00
2019-10-14 15:48:38 +02:00
2019-10-06 16:57:23 +02:00
2019-10-04 08:54:02 +02:00
2019-10-04 08:54:02 +02:00
2019-06-18 20:10:57 +02:00
2019-08-28 12:47:21 +02:00
2019-09-17 10:13:47 +02:00
2019-10-03 12:16:38 +02:00
2019-10-23 10:12:04 +02:00