llvm-project/clang-tools-extra/test/clang-tidy
Whisperity 8fa3975247 [libtooling][clang-tidy] Fix off-by-one rendering issue with SourceRanges
There was an off-by-one issue with calculating the *exact* end location
of token ranges (as given by SomeDecl->getSourceRange()) which resulted in:

  xxx(something)
      ^~~~~~~~   // Note the missing ~ under the last character.

In addition, a test is added to keep the behaviour in check in the future.

This patch hotfixes commit 3b677b81ce.
2021-04-10 18:52:55 +02:00
..
checkers [clang-tidy] performance-* checks: Match AllowedTypes against qualified type names when they contain "::". 2021-04-06 15:41:35 -04:00
infrastructure [libtooling][clang-tidy] Fix off-by-one rendering issue with SourceRanges 2021-04-10 18:52:55 +02:00
check_clang_tidy.py [clang-tidy][test] Allow specifying potentially unused suffixes 2021-02-24 15:22:54 +00:00