llvm-project/clang-tools-extra/test/clang-tidy/infrastructure
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
..
Inputs [clang-tidy] Ignore all spaces in the list of checks 2021-03-24 06:43:13 -07:00
alternative-fixes.cpp [clang-tidy] Added command line option `fix-notes` 2021-03-01 22:07:11 +00:00
basic.cpp Unbreak clang-tidy tests after D79599 / e9b4113902. 2020-05-08 12:37:33 -04:00
check_clang_tidy.cpp
clang-tidy-__clang_analyzer__macro.cpp
clang-tidy-diff.cpp
clang-tidy-enable-check-profile-one-tu.cpp
clang-tidy-enable-check-profile-two-tu.cpp
clang-tidy-mac-libcxx.cpp
clang-tidy-run-with-database.cpp
clang-tidy-store-check-profile-one-tu.cpp [Timer] On macOS count number of executed instructions 2021-02-11 17:26:37 +01:00
clean-up-code.cpp [clang-tidy] Added command line option `fix-notes` 2021-03-01 22:07:11 +00:00
config-file.cpp [clang-tidy] Ignore all spaces in the list of checks 2021-03-24 06:43:13 -07:00
config-files.cpp [clang-tidy] Use StringMap for ClangTidyOptions::OptionsMap 2020-07-30 10:31:13 +01:00
custom-diagnostics.cpp
deduplication.cpp
diagnostic.cpp
duplicate-conflicted-fixes-of-alias-checkers.cpp [clang-tidy] remove duplicate fixes of alias checkers 2020-06-19 20:40:59 +01:00
duplicate-fixes-of-alias-checkers.cpp [clang-tidy] remove duplicate fixes of alias checkers 2020-06-19 20:40:59 +01:00
duplicate-reports.cpp [clang-tidy] remove duplicate fixes of alias checkers 2020-06-19 20:40:59 +01:00
empty-database.cpp Revert "Revert "Reland "[Support] make report_fatal_error `abort` instead of `exit`""" 2020-02-13 10:16:06 -08:00
enable-alpha-checks.cpp
expand-modular-headers-ppcallbacks.cpp
explain-checks.cpp
export-diagnostics.cpp [libtooling][clang-tidy] Fix off-by-one rendering issue with SourceRanges 2021-04-10 18:52:55 +02:00
export-relpath.cpp
extra-args.cpp
file-filter-symlinks.cpp
file-filter.cpp
fix-errors.cpp
fix.cpp
invalid-command-line.cpp [clang-tooling] Prevent llvm::fatal_error on invalid CLI option 2021-01-29 10:15:06 +01:00
line-filter.cpp
list-checks.cpp
macros.cpp
nolint.cpp
nolintnextline.cpp
nonstandard-file-extension.test
objc-arc-and-properties.m
objc-no-arc-or-properties.m
overlapping.cpp
pr37091.cpp
read_file_config.cpp
run-clang-tidy.cpp Revert "Extend tests of run-clang-tidy" 2020-10-19 10:37:22 -04:00
select-checks.cpp
serialize-diagnostics.cpp
static-analyzer-config.cpp
static-analyzer.cpp
temporaries.cpp
use-color.cpp Use ANSI escape codes for --use-color on Windows 2020-10-31 10:36:42 -04:00
validate-check-names.cpp
vfsoverlay.cpp
warnings-as-errors-diagnostics.cpp
warnings-as-errors-plural.cpp
warnings-as-errors.cpp