llvm-project/clang-tools-extra/test/clang-tidy/infrastructure
Aaron Ballman 2cb2cd242c Change the behavior of implicit int diagnostics
C89 allowed a type specifier to be elided with the resulting type being
int, aka implicit int behavior. This feature was subsequently removed
in C99 without a deprecation period, so implementations continued to
support the feature. Now, as with implicit function declarations, is a
good time to reevaluate the need for this support.

This patch allows -Wimplicit-int to issue warnings in C89 mode (off by
default), defaults the warning to an error in C99 through C17, and
disables support for the feature entirely in C2x. It also removes a
warning about missing declaration specifiers that really was just an
implicit int warning in disguise and other minor related cleanups.
2022-05-04 08:35:47 -04:00
..
Inputs Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
alternative-fixes.cpp [clang-tidy] Added command line option `fix-notes` 2021-03-01 22:07:11 +00:00
basic.cpp
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][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +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
enable-alpha-checks.cpp
expand-modular-headers-ppcallbacks.cpp
explain-checks.cpp
export-diagnostics.cpp Change the behavior of implicit int diagnostics 2022-05-04 08:35:47 -04:00
export-relpath.cpp
extra-args.cpp
file-filter-symlinks.cpp
file-filter.cpp Disable clang-tidy warnings from system macros 2022-01-06 20:27:28 +00:00
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 Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
nolintbeginend-LIFO.cpp Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
nolintbeginend-begin-all-end-glob.cpp Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
nolintbeginend-begin-all-end-specific.cpp Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
nolintbeginend-begin-at-eof.cpp Revert 9b944c1843 with fixes 2021-09-29 08:00:45 -04:00
nolintbeginend-begin-glob-end-all.cpp Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
nolintbeginend-begin-glob-end-specific.cpp Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
nolintbeginend-begin-multiple-end-single.cpp Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
nolintbeginend-begin-single-end-multiple.cpp Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
nolintbeginend-begin-specific-end-all.cpp Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
nolintbeginend-begin-specific-end-glob.cpp Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
nolintbeginend-begin-without-end.cpp Revert 9b944c1843 with fixes 2021-09-29 08:00:45 -04:00
nolintbeginend-end-at-sof.cpp Revert 9b944c1843 with fixes 2021-09-29 08:00:45 -04:00
nolintbeginend-end-without-begin.cpp Revert 9b944c1843 with fixes 2021-09-29 08:00:45 -04:00
nolintbeginend-error-within-include.cpp Revert 9b944c1843 with fixes 2021-09-29 08:00:45 -04:00
nolintbeginend-mismatched-check-names.cpp Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
nolintbeginend-mismatched-delims.cpp Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
nolintbeginend-multiple-TUs.cpp Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
nolintbeginend-typo-in-check-name.cpp Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
nolintbeginend.cpp Re-land "Cache the locations of NOLINTBEGIN/END blocks" with fix for build bot 2022-01-27 01:03:27 +13:00
nolintnextline.cpp [clang-tidy] Support globbing in NOLINT* expressions 2021-10-19 16:30:51 +00:00
nonstandard-file-extension.test
objc-arc-and-properties.m
objc-no-arc-or-properties.m
overlapping.cpp
pr37091.cpp [clang-tidy] fix debug-only test failure 2021-11-19 10:19:07 +01:00
read_file_config.cpp
remarks.cpp [clang-tidy] LIT test fix for Remark diagnostic 2021-06-11 02:02:36 -07:00
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