llvm-project/clang/test/Sema
Yuanfang Chen cbbf2e8c8a Diagnose -Wunused-value based on CFG reachability
While at it, add the diagnosis message "left operand of comma operator has no effect" (used by GCC) for comma operator.

This also makes Clang diagnose in the constant evaluation context which aligns with GCC/MSVC behavior. (https://godbolt.org/z/7zxb8Tx96)

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D103938
2021-09-22 14:38:06 -07:00
..
Inputs [clang][darwin] add support for remapping macOS availability to Mac Catalyst availability 2021-07-21 11:32:25 -07:00
128bitfloat.cpp [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
128bitint.c
2007-10-01-BuildArrayRef.c
2009-03-09-WeakDeclarations-1.c
2009-04-22-UnknownSize.c
2009-07-17-VoidParameter.c
2010-05-31-palignr.c
Float16.c [CFE][X86] Enable complex _Float16 support 2021-08-18 11:16:14 +08:00
MicrosoftCompatibility-x64.c
MicrosoftCompatibility-x86.c
MicrosoftCompatibility.c Emit -Wmicrosoft-enum-value warning instead of error in MS ABI 2019-09-11 01:01:06 +00:00
MicrosoftCompatibility.cpp
MicrosoftExtensions.c Don't emit pointer to int cast warnings under -Wmicrosoft-cast 2020-03-09 13:27:46 -07:00
PR2727.c
PR2728.c
PR2919-builtin-types-compat-strips-crv.c
PR2923.c
PR2963-enum-constant.c
PR16678.c
PR28181.c
__try.c [AST] Build recovery expression by default for all language. 2020-11-23 11:08:28 +01:00
aarch64-bf16-ldst-intrinsics.c [AArch64]: BFloat Load/Store Intrinsics&CodeGen 2020-06-16 15:23:30 +01:00
aarch64-neon-bf16-ranges.c [BFloat] Add convert/copy instrinsic support 2020-06-23 14:27:05 +00:00
aarch64-neon-fp16-ranges.c
aarch64-neon-ranges.c
aarch64-neon-vector-types.c AArch64: add arm64_32 support to Clang. 2019-11-12 12:45:18 +00:00
aarch64-special-register.c
aarch64-sve-alias-attribute.c [Sema][SVE] Properly match builtin ID when using aux target 2021-06-21 12:52:18 +01:00
aarch64-sve-enums.c [clang][SveEmitter] Fix enum declarations. [NFCI] 2020-11-16 14:49:45 +00:00
aarch64-sve-explicit-casts-fixed-size.c [AArch64][SVE] Allow C-style casts between fixed-size and scalable vectors 2020-11-19 11:18:35 +00:00
aarch64-sve-lax-vector-conversions.c [AArch64][SVE] Allow lax conversion between VLATs and GNU vectors 2020-11-23 10:47:17 +00:00
aarch64-sve-types.c [AArch64][SVE] clang: Add missing svbfloat16_t tests 2020-06-29 16:48:53 +00:00
aarch64-tme-errors.c [AArch64] Add support for Transactional Memory Extension (TME) 2019-07-31 12:52:17 +00:00
aarch64-tme-tcancel-errors.c [AArch64] Add support for Transactional Memory Extension (TME) 2019-07-31 12:52:17 +00:00
aarch64-vpcs.c [AArch64] Add aarch64_vector_pcs function attribute to Clang 2018-11-26 16:38:37 +00:00
address-constant.c
address-packed-member-memops.c
address-packed.c
address-unaligned.c
address_space_print_macro.c Recommit r359859 "[Attribute/Diagnostics] Print macro if definition is an attribute declaration" 2019-05-07 03:20:17 +00:00
address_spaces.c [SYCL] Prohibit arithmetic operations for incompatible pointers 2020-05-22 13:43:24 +03:00
aix-attr-align.c [PowerPC][AIX] Add warning when alignment is incompatible with XL 2021-07-16 07:52:47 -04:00
aix-attr-aligned-vector-warn.c [PowerPC][AIX] attribute aligned cannot decrease align of a vector var. 2021-08-05 11:15:12 -04:00
aix-attr-tls_model.c [AIX][TLS] Diagnose use of unimplemented TLS models 2021-05-11 17:21:08 -05:00
aix-pragma-pack-and-align.c [Frontend] Add pragma align natural and sort out pragma pack stack effect 2021-01-13 10:53:24 -05:00
alias-redefinition.c
alias-unused.c [Sema] Mark target of __attribute__((alias("target"))) used for C 2019-01-09 23:54:55 +00:00
align-arm-apcs.c
align-systemz.c
align-x86-64.c
align-x86-abi7.c
align-x86.c
align_value.c
alignas.c
alloc-align-attr.c The maximal representable alignment in LLVM IR is 1GiB, not 512MiB 2021-08-26 12:53:39 +03:00
alloc-size.c Handle alloc_size attribute on function pointers 2021-04-09 18:49:38 +01:00
altivec-generic-overload.c [Clang][Sema]Choose a better candidate in overload function call if there is a compatible vector conversion instead of ambiguous call error 2018-11-16 03:00:00 +00:00
altivec-init.c
annotate.c [Annotation] Allows annotation to carry some additional constant arguments. 2020-10-26 10:50:05 +01:00
anonymous-struct-union-c11.c
anonymous-struct-union.c
arg-duplicate.c
arg-scope-c99.c
arg-scope.c
arithmetic-fence-builtin.c [clang][patch] Add builtin __arithmetic_fence and option fprotect-parens 2021-06-30 09:58:06 -04:00
arm-asm.c
arm-bf16-forbidden-ops.c [ARM] Add __bf16 as new Bfloat16 C Type 2020-06-05 10:32:43 +01:00
arm-bf16-forbidden-ops.cpp [ARM] Add __bf16 as new Bfloat16 C Type 2020-06-05 10:32:43 +01:00
arm-bfloat.cpp [Sema][BFloat] Forbid arithmetic on vectors of bfloat. 2020-08-07 11:25:19 +01:00
arm-cde-immediates.c [ARM] Replace arm vendor with none. NFC 2020-04-22 18:19:35 +01:00
arm-cmse-no-diag.c [CMSE] Clear padding bits of struct/unions/fp16 passed by value 2020-04-28 17:05:58 +01:00
arm-cmse.c [CMSE] Clear padding bits of struct/unions/fp16 passed by value 2020-04-28 17:05:58 +01:00
arm-darwin-aapcs.cpp
arm-interrupt-attr.c [clang][patch] To solve PR26413, x86 interrupt routines may only call routines with no_saved_reg 2021-03-03 10:11:13 -05:00
arm-layout.c
arm-microsoft-intrinsics.c
arm-mve-alias-attribute.c [ARM,CDE] Generalize MVE intrinsics infrastructure to support CDE 2020-03-10 14:03:16 +00:00
arm-mve-immediates.c [ARM] Replace arm vendor with none. NFC 2020-04-22 18:19:35 +01:00
arm-neon-types.c
arm-no-cmse.c [ARM][CMSE] Implement CMSE attributes 2020-03-24 10:21:26 +00:00
arm-no-fp16.c
arm-special-register.c
arm-vector-types-support.c [AArch64][Driver][SVE] Push missing SVE feature error from driver to frontend 2020-12-10 12:43:14 +00:00
arm64-inline-asm.c
arm64-neon-args.c
arm64-neon-header.c [clang][AArch64] Correct return type of Neon vqmovun intrinsics 2020-09-21 09:21:51 +01:00
arm_acle.c
arm_inline_asm_constraints.c [ARM] Add support for the s,j,x,N,O inline asm constraints 2019-09-05 15:17:25 +00:00
arm_vfma.c
array-bounds-ptr-arith.c
array-constraint.c
array-declared-as-incorrect-type.c
array-init.c [Sema] Put existing warning under -Wexcess-initializers 2020-05-06 11:28:40 +01:00
array-size-64.c
array-size.c
artificial.c
asm-goto.cpp Support output constraints on "asm goto" 2020-02-24 18:51:29 -08:00
asm-label.c
asm.c [clang][Parse] properly parse asm-qualifiers, asm inline 2020-03-12 15:13:59 -07:00
assign-null.c
assign.c Improve type printing of const arrays to normalize array-of-const and const-array 2021-09-13 19:17:05 -07:00
ast-print-x86.c
ast-print.c
atomic-compare.c
atomic-expr.c
atomic-implicit-seq_cst.c
atomic-ops.c Let clang atomic builtins fetch add/sub support floating point types 2021-04-06 15:44:00 -04:00
atomic-requires-library-error.c
atomic-type.c
attr-alias-elf.c
attr-alias.c
attr-aligned.c The maximal representable alignment in LLVM IR is 1GiB, not 512MiB 2021-08-26 12:53:39 +03:00
attr-args.c
attr-arm-sve-vector-bits.c [AArch64][SVE] Allow lax conversion between VLATs and GNU vectors 2020-11-23 10:47:17 +00:00
attr-assume.c [Clang][Attr] Introduce the `assume` function attribute 2020-12-15 16:51:34 -06:00
attr-availability-android.c
attr-availability-app-extensions.c
attr-availability-ios.c
attr-availability-iosmac-infer-from-macos-no-sdk-settings.c [clang][darwin] add support for remapping macOS availability to Mac Catalyst availability 2021-07-21 11:32:25 -07:00
attr-availability-iosmac-infer-from-macos.c [clang][darwin] add support for remapping macOS availability to Mac Catalyst availability 2021-07-21 11:32:25 -07:00
attr-availability-maccatalyst.c [clang][darwin] add support for remapping macOS availability to Mac Catalyst availability 2021-07-21 11:32:25 -07:00
attr-availability-macosx.c
attr-availability-square-brackets.c Fix an accepts-invalid issue with [[]] attributes in the type position in C 2021-07-01 12:41:18 -04:00
attr-availability-swift.c
attr-availability-tvos.c
attr-availability-watchos.c Fix implicit ios -> watchOS availability version mapping for 2019-03-20 20:02:00 +00:00
attr-availability.c Improve a -Wunguarded-availability note 2019-01-14 19:17:31 +00:00
attr-bounded.c
attr-btf_tag.c [Clang] Ignore BTFTag attr if used as a type attribute 2021-09-22 13:48:29 -07:00
attr-c2x.c [Clang] Introduce Swift async calling convention. 2021-07-09 11:50:10 -07:00
attr-callback-broken.c Emit !callback metadata and introduce the callback attribute 2019-01-19 05:36:54 +00:00
attr-callback.c Emit !callback metadata and introduce the callback attribute 2019-01-19 05:36:54 +00:00
attr-capabilities.c Removing an accidentally duplicated line of test code to fix bots. 2020-01-21 16:03:22 -05:00
attr-capabilities.cpp
attr-cleanup.c
attr-coldhot.c Use tablegen to diagnose mutually exclusive attributes 2021-04-02 16:34:42 -04:00
attr-cpuspecific.c Permit nowthrow and nonnull with multiversioning. 2020-08-04 07:40:27 -07:00
attr-decl-after-definition.c
attr-declspec-ignored.c
attr-deprecated-c2x.c Fix an accepts-invalid issue with [[]] attributes in the type position in C 2021-07-01 12:41:18 -04:00
attr-deprecated-message.c
attr-deprecated.c
attr-disable-tail-calls.c Use tablegen to diagnose mutually exclusive attributes 2021-04-02 16:34:42 -04:00
attr-endian.c
attr-enforce-tcb-errors.cpp [attributes] Add a facility for enforcing a Trusted Computing Base. 2021-01-11 10:20:51 -08:00
attr-enforce-tcb.c [attributes] Add a facility for enforcing a Trusted Computing Base. 2021-01-11 10:20:51 -08:00
attr-enforce-tcb.cpp [attributes] Add a facility for enforcing a Trusted Computing Base. 2021-01-11 10:20:51 -08:00
attr-error.c [Clang] add support for error+warning fn attrs 2021-08-25 10:34:18 -07:00
attr-external-source-symbol.c Fix an accepts-invalid issue with [[]] attributes in the type position in C 2021-07-01 12:41:18 -04:00
attr-flag-enum.c [clang][NFC] Add a test for __attribute__((flag_enum)) with an unnamed enumeration. 2020-07-26 17:24:43 +01:00
attr-format.c
attr-format_arg.c
attr-guard_nocf.c Add support for __declspec(guard(nocf)) 2020-01-10 16:04:12 +00:00
attr-handles.cpp Fix a crash with [[clang::acquire_handle]] when written as a type 2020-06-25 08:45:32 -04:00
attr-ifunc.c
attr-leaf.c [clang][IR] Add support for leaf attribute 2020-12-14 14:48:17 -08:00
attr-likelihood.c Implements [[likely]] and [[unlikely]] in IfStmt. 2020-09-09 20:48:37 +02:00
attr-loader-uninitialized.c [Clang] Fix BZ47169, loader_uninitialized on incomplete types 2020-08-19 18:11:50 +01:00
attr-loader-uninitialized.cpp [Clang] Allow the combination of loader_uninitialized and address spaces 2021-04-23 11:21:52 -05:00
attr-long-call.c
attr-malloc.c
attr-micromips.c
attr-mig.c [attributes] Add an attribute for server routines in Mach kernel and extensions. 2019-02-21 00:01:02 +00:00
attr-mig.cpp [attributes] Add an attribute for server routines in Mach kernel and extensions. 2019-02-21 00:01:02 +00:00
attr-mig.m [attributes] Add an attribute for server routines in Mach kernel and extensions. 2019-02-21 00:01:02 +00:00
attr-min-vector-width.c Correct some confused diagnostic terminology 2021-02-04 15:52:07 -05:00
attr-minsize.c
attr-mode-enums.c
attr-mode-vector-types.c
attr-mode.c [Clang] Enable KF and KC mode for [_Complex] __float128 2020-05-28 15:48:15 -05:00
attr-msp430.c [MSP430] Improve support of 'interrupt' attribute 2019-01-16 13:44:01 +00:00
attr-musttail.c Implemented [[clang::musttail]] attribute for guaranteed tail calls. 2021-04-15 17:12:21 -07:00
attr-musttail.m Implemented [[clang::musttail]] attribute for guaranteed tail calls. 2021-04-15 17:12:21 -07:00
attr-naked.c
attr-naked.cpp
attr-nocf_check.c
attr-nocf_check.cpp
attr-nodebug.c DebugInfo: Add support for 'nodebug' attribute on typedefs and alias templates 2019-06-08 00:01:21 +00:00
attr-noduplicate.c
attr-noinline.c
attr-nomerge.cpp [Clang] Make nomerge attribute a function attribute as well as a statement attribute. 2020-12-17 07:45:38 -08:00
attr-nonnull.c
attr-noreturn.c Apply function attributes through array declarators 2020-03-23 11:03:13 +00:00
attr-notail.c
attr-nothrow.c Avoid using NoThrow Exception Specifier in non-C++ Modes. 2019-06-05 14:10:39 +00:00
attr-objc-bridge-related.m
attr-osobject.cpp [attributes] Extend os_returns_(not_?)_retained attributes to parameters 2019-01-11 18:02:08 +00:00
attr-osobject.mm [attributes] Extend os_returns_(not_?)_retained attributes to parameters 2019-01-11 18:02:08 +00:00
attr-ownership.c
attr-ownership.cpp
attr-print.c
attr-regparm.c
attr-retain.c Add GNU attribute 'retain' 2021-02-26 16:37:50 -08:00
attr-returns-twice.c
attr-section.c Detect section type conflicts between functions and variables 2020-12-17 11:43:47 -05:00
attr-selectany.c
attr-self-alias.c
attr-sentinel.c
attr-standalonedebug.cpp [DebugInfo] Add an attribute to force type info to be emitted for types that are required to be complete. 2021-03-12 12:30:01 -08:00
attr-swiftcall.c [Clang] Introduce Swift async calling convention. 2021-07-09 11:50:10 -07:00
attr-target-mv-bad-target.c
attr-target-mv.c Permit nowthrow and nonnull with multiversioning. 2020-08-04 07:40:27 -07:00
attr-target-unsupported.c
attr-target.c [X86] Add support 'tune' in target attribute 2020-08-19 15:58:19 -07:00
attr-tls_model.c
attr-type-safety.c
attr-unavailable-message.c
attr-uninitialized.c Automatic variable initialization 2018-12-18 05:12:21 +00:00
attr-unknown.c
attr-unused.c
attr-used.c Improve diagnostic for ignored GNU 'used' attribute 2021-02-22 09:18:13 -08:00
attr-visibility.c Revert r359814 "[Sema] Emit warning for visibility attribute on internal-linkage declaration" 2019-05-03 03:16:07 +00:00
attr-warning.c [Clang] add support for error+warning fn attrs 2021-08-25 10:34:18 -07:00
attr-wasm.c [WebAssembly] Improve clang diagnostics for wasm attributes 2020-06-05 14:32:51 -07:00
attr-weak.c [Clang][DiagnosticSemaKinds] combine diagnostic texts 2021-08-06 13:58:21 -07:00
attr-x86-interrupt.c [clang][patch] Modify diagnostic level from err to warn: anyx86_interrupt_regsave 2021-04-15 13:11:33 -04:00
auto-type.c
availability-guard-format.mm Improve a -Wunguarded-availability note 2019-01-14 19:17:31 +00:00
avr-interrupt-attr.c
avr-signal-attr.c
big-endian-neon-initializers.c
bitfield-layout.c
bitfield-layout_1.c
bitfield-promote.c
bitfield.c Combine two diagnostics into one and correct grammar 2021-07-14 11:43:28 -04:00
bittest-intrinsics.c
bitwise-op-parentheses.c [Sema] Disable -Wbitwise-op-parentheses and -Wlogical-op-parentheses by default 2019-08-02 16:31:38 +00:00
block-args.c Allow parameter names to be elided in a function definition in C. 2020-04-07 14:43:38 -04:00
block-call.c [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
block-explicit-noreturn-type.c
block-labels.c
block-literal.c
block-misc.c
block-printf-attribute-1.c
block-return-1.c [Diagnostics] Try to improve warning message for -Wreturn-type 2019-11-09 17:54:58 +01:00
block-return-2.c
block-return-3.c [Diagnostics] Try to improve warning message for -Wreturn-type 2019-11-09 17:54:58 +01:00
block-return.c [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
block-sentinel-attribute.c
block-storageclass.c
bool-compare.c
bpf-attr-preserve-access-index.c [BPF] Add preserve_access_index attribute for record definition 2019-11-13 08:23:44 -08:00
bpf-attr-preserve-access-index.cpp [BPF] Restrict preserve_access_index attribute to C only 2019-11-14 14:14:59 -08:00
branch-protection-attr-err.c Implement target(branch-protection) attribute for AArch64 2019-11-15 15:40:46 +00:00
builtin-align.c Add builtins for aligning and checking alignment of pointers and integers 2020-01-09 21:48:29 +00:00
builtin-alloca-with-align.c
builtin-amdgcn-atomic-inc-dec-failure.cpp recommit 4fc752b30b [CUDA][HIP] Always defer diagnostics for wrong-sided reference 2020-07-17 09:14:39 -04:00
builtin-amdgcn-fence-failure.cpp Explicitly tell Clang to output to stdout in a test that runs FileCheck 2020-04-27 10:13:28 +02:00
builtin-assume-aligned.c The maximal representable alignment in LLVM IR is 1GiB, not 512MiB 2021-08-26 12:53:39 +03:00
builtin-assume.c PR44406: Follow behavior of array bound constant folding in more recent versions of GCC. 2020-10-16 14:34:35 -07:00
builtin-bpf-btf-type-id.c [Clang][BPF] implement __builtin_btf_type_id() builtin function 2020-05-15 09:44:54 -07:00
builtin-classify-type.c
builtin-clear_cache.c
builtin-cpu-supports.c [X86] Support -march=x86-64-v[234] 2020-10-12 10:29:46 -07:00
builtin-dump-struct.c
builtin-expect-with-probability-avr.cpp PR47805: Use a single object for a function parameter in the caller and 2020-10-14 17:43:51 -07:00
builtin-expect-with-probability.cpp PR47805: Use a single object for a function parameter in the caller and 2020-10-14 17:43:51 -07:00
builtin-fpclassification.c Reland [NFC-I] Remove hack for fp-classification builtins 2019-12-17 06:58:29 -08:00
builtin-longjmp.c [VE] Change clang to support SjLj Lowering 2021-01-05 22:19:02 +09:00
builtin-object-size.c [Sema] Add some compile time _FORTIFY_SOURCE diagnostics 2019-03-18 19:23:45 +00:00
builtin-prefetch.c
builtin-preserve-access-index.c [CLANG][BPF] permit any argument type for __builtin_preserve_access_index() 2019-09-22 17:33:48 +00:00
builtin-redecl.cpp
builtin-returnaddress.c Fix for crash in __builtin_return_address in template context. 2021-01-12 12:37:18 -08:00
builtin-setjmp.c Don't reject calls to MinGW's unusual _setjmp declaration. 2020-10-02 15:12:15 -07:00
builtin-stackaddress.c Check args passed to __builtin_frame_address and __builtin_return_address. 2020-02-25 12:47:14 -08:00
builtin-unary-fp.c
builtin_objc_msgSend.c
builtins-aarch64.c
builtins-arm-exclusive.c
builtins-arm.c
builtins-arm64-exclusive.c
builtins-arm64-mte.c Print nullptr_t namespace qualified within std:: 2021-09-21 11:21:40 -07:00
builtins-arm64.c
builtins-bpf.c [clang][BPF] support type exist/size and enum exist/value relocations 2020-08-04 08:39:53 -07:00
builtins-decl.c
builtins-gnu-mode.c
builtins-hexagon-v55.c [Hexagon] Update autogenerated intrinsic info in clang 2020-01-16 14:20:12 -06:00
builtins-hexagon-v60.c [Hexagon] Update autogenerated intrinsic info in clang 2020-01-16 14:20:12 -06:00
builtins-hexagon-v62.c [Hexagon] Update autogenerated intrinsic info in clang 2020-01-16 14:20:12 -06:00
builtins-hexagon-v65.c
builtins-hvx-none.c [Hexagon] Update autogenerated intrinsic info in clang 2020-01-16 14:20:12 -06:00
builtins-hvx-v60.c [Hexagon] Update autogenerated intrinsic info in clang 2020-01-16 14:20:12 -06:00
builtins-hvx-v62.c [Hexagon] Update autogenerated intrinsic info in clang 2020-01-16 14:20:12 -06:00
builtins-hvx-v65.c
builtins-memcpy-inline.cpp [Clang][Sema] Use of incorrect __has_feature vs __has_builtin 2020-06-18 09:00:12 +00:00
builtins-microsoft-arm64.c
builtins-mips-features.c [mips] Check that features required by built-ins are enabled 2019-11-29 00:23:00 +03:00
builtins-overflow.c [clang] Fix or emit diagnostic for checked arithmetic builtins with 2020-06-15 06:51:54 -07:00
builtins-overflow.m [clang] Fix or emit diagnostic for checked arithmetic builtins with 2020-06-15 06:51:54 -07:00
builtins-ppc.c
builtins-x86.c [X86] Require last argument to LWPINS/LWPVAL builtins to be an ICE. Add ImmArg to the llvm intrinsics. 2019-09-22 23:48:50 +00:00
builtins-x86.cpp
builtins-x86_64.c
builtins.c PR44406: Follow behavior of array bound constant folding in more recent versions of GCC. 2020-10-16 14:34:35 -07:00
builtins.cl
c2x-fallthrough.c Implement WG21 P2156R1/WG14 N2557 on duplicate attributes 2021-04-13 12:30:04 -04:00
c2x-maybe_unused-errors.c Fix an accepts-invalid issue with [[]] attributes in the type position in C 2021-07-01 12:41:18 -04:00
c2x-maybe_unused.c Add a new language mode for C2x; enable [[attribute]] support by default in C2x. 2019-05-14 12:09:55 +00:00
c2x-nodiscard.c Implement WG21 P2156R1/WG14 N2557 on duplicate attributes 2021-04-13 12:30:04 -04:00
c11-typedef-redef.c
c89.c PR47805: Use a single object for a function parameter in the caller and 2020-10-14 17:43:51 -07:00
call-with-static-chain.c
calling-conv-complete-params.c Require stdcall etc parameters to be complete on ODR use 2019-06-10 22:53:12 +00:00
callingconv-cast.c
callingconv-iamcu.c Renamed and changed the wording of warn_cconv_ignored 2019-07-17 20:41:26 +00:00
callingconv-ms_abi.c [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
callingconv-sysv_abi.c [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
callingconv.c [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
captured-statements.c If capturing a variable fails, add a capture anyway (and mark it 2019-05-28 23:09:44 +00:00
cast-incomplete.c
cast-to-union.c
cast.c [Sema] Add -Wpointer-to-enum-cast and -Wvoid-pointer-to-enum-cast 2020-03-07 16:43:39 -08:00
check-aux-builtins.c Fix aux-target diagnostics for certain builtins 2020-05-19 10:49:45 -07:00
check-increment.c
compare.c [clang] Stop providing builtin overload candidate for relational function pointer comparisons 2021-06-26 00:08:02 +02:00
complete-incomplete-pointer-relational-c99.c [Sema] Comparison of pointers to complete and incomplete types 2020-06-19 17:01:03 -07:00
complex-imag.c
complex-init-list.c
complex-int.c PR44406: Follow behavior of array bound constant folding in more recent versions of GCC. 2020-10-16 14:34:35 -07:00
complex-promotion.c
compound-literal.c
conditional-expr.c [Sema] Fix pointer-to-int-cast for MSVC build bot 2020-02-16 19:09:59 +01:00
conditional.c PR39809: (const void*)0 is not a null pointer constant in C. 2018-11-28 06:25:06 +00:00
const-eval-64.c PR44406: Follow behavior of array bound constant folding in more recent versions of GCC. 2020-10-16 14:34:35 -07:00
const-eval.c Diagnose -Wunused-value based on CFG reachability 2021-09-22 14:38:06 -07:00
const-ptr-int-ptr-cast.c
constant-builtins-2.c Enable constexpr on BITREVERSE builtin intrinsics (PR47249) 2020-08-22 14:43:22 +01:00
constant-builtins.c Fix test after test changes added in da3dc00 caused the test to break 2020-02-06 18:19:01 -08:00
constant-conversion.c
constructor-attribute.c
conversion-64-32.c
conversion-target-dep.c [Sema] Diagnose floating point conversions based on target semantics 2019-02-16 01:11:47 +00:00
conversion.c [Sema] Enable -Wimplicit-float-conversion for integral to floating point precision loss 2019-08-01 00:16:43 +00:00
convertvector.c
crash-deduction-guide-access.cpp [Sema] Fix a crash in access checking for deduction guides 2019-02-12 14:21:44 +00:00
crash-invalid-array.c
crash-invalid-builtin.c Reland [NFC-I] Remove hack for fp-classification builtins 2019-12-17 06:58:29 -08:00
cxx-as-c.c
darwin-align-cast.c PR44406: Follow behavior of array bound constant folding in more recent versions of GCC. 2020-10-16 14:34:35 -07:00
darwin-tls.c
decl-in-prototype.c [Sema] Fold VLAs to constant arrays in a few more contexts 2020-12-04 10:03:23 -05:00
decl-invalid.c
decl-microsoft-call-conv.c
decl-type-merging.c
declspec-naked.c
declspec.c
default.c
default1.c
deref.c
designated-initializers.c [c++20] Implement semantic restrictions for C++20 designated 2019-08-30 22:52:55 +00:00
diagnose_if.c
div-sizeof-array.cpp [Diagnostics] Diagnose -Wsizeof-array-div for array of pointers 2020-10-09 12:56:06 +02:00
div-sizeof-ptr.cpp [Diagnostics] Diagnose -Wsizeof-array-div for array of pointers 2020-10-09 12:56:06 +02:00
dllexport-1.cpp Ensure that const variables declared at namespace scope correctly have external linkage when marked as dllexport and targeting the MSVC ABI. 2019-03-19 14:53:52 +00:00
dllexport-2.cpp Ensure that const variables declared at namespace scope correctly have external linkage when marked as dllexport and targeting the MSVC ABI. 2019-03-19 14:53:52 +00:00
dllexport.c
dllimport.c [windows-itanium] handle dllimport/export code paths separately and share with PS4 2020-11-30 14:36:39 +00:00
empty1.c
empty2.c
enable_if-ext.c
enable_if.c Revert "Revert "Ensure that checkInitIsICE is called exactly once for every variable"" 2020-10-26 12:08:57 -07:00
enum-attr.c
enum-increment.c
enum-packed.c
enum-sign-conversion.c
enum.c [AST] Build recovery expression by default for all language. 2020-11-23 11:08:28 +01:00
error-dependence.c [AST][RecoveryExpr] Build dependent callexpr in C for error-recovery. 2020-10-12 11:15:01 +02:00
error-type-safety.cpp
eval-info.c Workaround for EvalInfo ctor for MSVC 2017 2019-11-26 21:43:29 -05:00
expr-address-of.c Correctly diagnose taking the address of a register variable in C 2021-07-22 14:53:23 -04:00
expr-comma-c99.c
expr-comma.c
exprs.c Diagnose -Wunused-value based on CFG reachability 2021-09-22 14:38:06 -07:00
ext-int.c Implement _ExtInt conversion rules 2021-07-22 09:10:36 -04:00
ext-typecheck-comparison-of-pointer-integer.c [Sema] Expose a control flag for integer to pointer ext warning 2019-01-14 18:16:51 +00:00
ext_vector_casts.c For PR17164: split -fno-lax-vector-conversion into three different 2019-09-13 06:02:15 +00:00
ext_vector_comparisons.c Support ExtVectorType conditional operator 2020-06-02 16:35:42 +00:00
ext_vector_components.c
ext_vector_conversions.c
ext_vector_ops.c
extern-redecl.c
fallthrough-attr.c [Attr] Support _attribute__ ((fallthrough)) 2019-08-20 17:16:49 +00:00
fixed-enum.c [Sema] Suppress a warning about a forward-declared fixed enum in C mode 2019-01-18 21:33:23 +00:00
flexible-array-init.c
float128-ld-incompatibility.cpp
floating-point-compare.c
fn-ptr-as-fn-prototype.c
for.c No longer reject tag declarations in the clause-1 of a for loop. 2020-12-18 07:56:17 -05:00
format-bool.c [Sema] Split out -Wformat-type-confusion from -Wformat-pedantic 2019-10-04 19:20:27 +00:00
format-string-percentm.c
format-strings-bitfield-promotion.c Emit -Wformat properly for bit-field promotions. 2018-12-18 15:54:38 +00:00
format-strings-bitfield-promotion.cxx Emit -Wformat properly for bit-field promotions. 2018-12-18 15:54:38 +00:00
format-strings-c90.c
format-strings-darwin.c
format-strings-enum-fixed-type.cpp [Sema] Don't warn on printf('%hd', [char]) (PR41467) 2019-08-23 18:01:57 +00:00
format-strings-enum.c
format-strings-fixit-ssize_t.c
format-strings-fixit.c
format-strings-freebsd.c
format-strings-gnu.c
format-strings-int-typedefs.c
format-strings-ms.c Revert "[Clang] Warn about 'z' printf modifier in old MSVC." 2020-01-28 09:27:54 -05:00
format-strings-no-fixit.c
format-strings-non-iso.c
format-strings-pedantic.c Print nullptr_t namespace qualified within std:: 2021-09-21 11:21:40 -07:00
format-strings-scanf.c
format-strings-size_t.c
format-strings.c [Sema] Emit a -Wformat warning for printf("%s", (void*)p) 2020-07-10 15:10:24 -04:00
format-type-confusion.c [Sema] Split out -Wformat-type-confusion from -Wformat-pedantic 2019-10-04 19:20:27 +00:00
fp16-sema.c For PR46800, implement the GCC __builtin_complex builtin. 2020-07-22 13:43:10 -07:00
fp16vec-sema.c [Sema] Support Comma operator for fp16 vectors. 2020-09-30 18:23:09 +01:00
fpack-struct.c
freemain.c [Diagnostics] Try to improve warning message for -Wreturn-type 2019-11-09 17:54:58 +01:00
function-ptr.c
function-redecl.c
function.c Allow parameter names to be elided in a function definition in C. 2020-04-07 14:43:38 -04:00
generic-selection.c Replace some custom C11 extension warnings with the generic warning. 2019-08-27 14:41:39 +00:00
gnu-attributes.c
gnu-flags.c PR44406: Follow behavior of array bound constant folding in more recent versions of GCC. 2020-10-16 14:34:35 -07:00
gnu89.c
heinous-extensions-off.c Consistent spelling in diagnostics: {l,r}value instead of {l,r}-value 2020-11-15 18:05:11 +01:00
heinous-extensions-on.c Consistent spelling in diagnostics: {l,r}value instead of {l,r}-value 2020-11-15 18:05:11 +01:00
i-c-e.c Diagnose -Wunused-value based on CFG reachability 2021-09-22 14:38:06 -07:00
i386-linux-android.c
illegal-types.c
implicit-builtin-decl.c Recognize setjmp and friends as builtins even if jmp_buf is not declared yet. 2020-09-29 15:53:17 -07:00
implicit-builtin-freestanding.c
implicit-builtin-redecl.c
implicit-cast.c
implicit-decl-c90.c
implicit-decl.c [test] Properly test -Werror-implicit-function-declaration and -Wvec-elem-size 2020-11-05 20:08:23 -08:00
implicit-def.c
implicit-int-conversion.c
implicit-int-float-conversion.c [Clang] Fix a typo in implicit-int-float-conversion.c 2020-09-22 16:51:23 -07:00
implicit-int-float-narrowing.cpp [Sema] Enable -Wimplicit-float-conversion for integral to floating point precision loss 2019-08-01 00:16:43 +00:00
implicit-int.c
implicit-intel-builtin-decl.c
implicit-ms-builtin-decl.c
incompatible-function-pointer-types.c
incompatible-sign.c [clang] Fix message text for `-Wpointer-sign` to account for plain char 2021-01-11 18:41:14 -05:00
incompatible-sign.cpp [clang] Fix message text for `-Wpointer-sign` to account for plain char 2021-01-11 18:41:14 -05:00
incomplete-call.c
incomplete-decl.c
indirect-goto.c
init-invalid-struct-array.c [clang] Check `expr` inside `InitListChecker::UpdateStructuredListElement()` 2020-08-12 22:12:43 +03:00
init-ref-c.c [clang] Fix a crash when passing a C structure of incompatible type to a function with a reference parameter. 2020-07-08 16:57:54 +01:00
init-struct-qualified.c
init-vector.c
init.c [Sema] Put existing warning under -Wexcess-initializers 2020-05-06 11:28:40 +01:00
initialize-noreturn.c
inline-asm-validate-aarch64.c
inline-asm-validate-amdgpu.cl [AMDGPU] Added support of new inline assembler constraints 2020-07-03 18:01:12 +03:00
inline-asm-validate-m68k.c [M68k] Support for inline asm operands w/ simple constraints 2021-05-20 14:00:09 -07:00
inline-asm-validate-riscv.c [Clang][RISCV] Implement getConstraintRegister for RISC-V 2021-08-26 17:43:43 +01:00
inline-asm-validate-tmpl.cpp Re-check in clang support gun asm goto after fixing tests. 2019-06-03 15:57:25 +00:00
inline-asm-validate-x86.c Delay diagnosing asm constraints that require immediates until after inlining 2019-08-06 22:41:22 +00:00
inline-asm-validate.c
inline-redef.c
inline.c
int-arith-convert.c
integer-overflow.c PR49619: Remove delayed call to noteFailed. 2021-03-17 17:25:18 -07:00
internal_linkage.c [Clang][DiagnosticSemaKinds] combine diagnostic texts 2021-08-06 13:58:21 -07:00
invalid-bitwidth-expr.mm Revert "DR2064: decltype(E) is only a dependent type if E is type-dependent, not 2021-01-19 12:48:40 -08:00
invalid-cast.cpp
invalid-decl.c
invalid-init-diag.c
invalid-member.cpp [AST][RecoveryExpr] Popagate the error-bit from a VarDecl's initializer to DeclRefExpr. 2020-10-05 10:35:29 +02:00
invalid-struct-init.c
knr-def-call.c
knr-variadic-def.c
libbuiltins-ctype-powerpc64.c [clang] functions with the 'const' or 'pure' attribute must always return. 2021-02-18 17:29:46 +01:00
libbuiltins-ctype-x86_64.c [clang] functions with the 'const' or 'pure' attribute must always return. 2021-02-18 17:29:46 +01:00
lit.local.cfg
logical-op-parentheses.c [Sema] Disable -Wbitwise-op-parentheses and -Wlogical-op-parentheses by default 2019-08-02 16:31:38 +00:00
loop-control.c
many-logical-ops.c
many-parameters.c
matrix-cast.c [Matrix] Implement C-style explicit type conversions for matrix types. 2021-04-10 11:48:41 +01:00
matrix-type-builtins.c [Matrix] Use 1st/2nd instead of first/second in matrix diags. 2020-06-25 11:55:03 +01:00
matrix-type-operators.c [Matrix] Add support for matrix-by-scalar division. 2021-03-11 22:21:23 +00:00
member-reference.c
memset-invalid-1.c
memset-invalid.c
merge-decls.c
microsoft-varargs.c Sema: relax va_start checking further for Windows AArch64 2021-09-20 21:23:33 +00:00
mingw-macro-qualified-type.c Fix test to use -cc1. 2019-05-12 22:44:46 +00:00
mips-interrupt-attr.c
mips16_attr_allowed.c
mips16_attr_not_allowed.c
misleading-pragma-align-pack-diagnostics.c [NFC] Renaming PackStack to AlignPackStack 2021-01-08 09:15:11 -05:00
missing-field-initializers.c
mms-bitfields.c
mrtd.c Renamed and changed the wording of warn_cconv_ignored 2019-07-17 20:41:26 +00:00
ms-annotation.c
ms-inline-asm-invalid-arch.c Fix a Clang diagnostic to start with a lowercase letter; NFC 2021-06-01 17:03:31 -04:00
ms-inline-asm.c
ms-keyword-system-header.c
ms-wchar.c
ms_abi-sysv_abi.c
ms_bitfield_layout.c
ms_class_layout.cpp [Clang][Sema] Warn when function argument is less aligned than parameter 2021-03-09 10:37:32 +00:00
ms_wide_predefined_expr.cpp
negative-shift-wrapv.c
neon-vector-types.c
nested-redef.c
no-builtin.cpp Remove some explicit calls to getName() when printing diagnostics; NFC 2020-03-14 17:01:45 -04:00
no-documentation-warn-tagdecl-specifier.c
no-format-y2k-turnsoff-format.c
no-warn-missing-prototype.c clang: Exclude efi_main from -Wmissing-prototypes 2021-02-20 20:00:50 +00:00
no-warn-unused-const-variables.c
no_callconv.cpp [Clang] Introduce Swift async calling convention. 2021-07-09 11:50:10 -07:00
no_profile_instrument_function-attribute.c [Clang][Codegen] rename no_profile fn attr no_profile_instrument_function 2021-06-21 11:42:06 -07:00
no_stack_protector.c
nocf_check_attr_not_allowed.c
noescape.c
non-null-warning.c
nonnull.c
nowarn-documentation-property.m
ns_error_enum.m [clang] ns_error_domain attribute also supports CFString typed variables 2020-11-11 08:50:30 -08:00
nullability.c
objc-bool-constant-conversion-fixit.m [clang] Add missing FileCheck colons 2020-04-14 12:32:48 -06:00
objc-bool-constant-conversion.m Use 'BOOL' instead of BOOL in diagnostic messages 2019-09-17 18:02:45 +00:00
offsetof-64.c PR44406: Follow behavior of array bound constant folding in more recent versions of GCC. 2020-10-16 14:34:35 -07:00
offsetof.c Revert "Revert "Temporarily do not drop volatile stores before unreachable"" 2021-07-09 11:44:34 -04:00
outof-range-constant-compare.c
outof-range-enum-constant-compare.c
overload-arm-mve.c [ARM] Replace arm vendor with none. NFC 2020-04-22 18:19:35 +01:00
overloadable-complex.c
overloadable.c Fix an accepts-invalid issue with [[]] attributes in the type position in C 2021-07-01 12:41:18 -04:00
overloaded-func-transparent-union.c
overloaded-math-builtins.c [Sema] Add test for __builtin_fminf errors. 2021-09-13 11:12:06 +01:00
parentheses.c [Driver] Flip the CC1 default of -fdiagnostics-show-option 2020-03-31 21:59:27 -07:00
parentheses.cpp
pass-object-size.c [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
patchable-function-entry-attr.c [Driver][CodeGen] Support -fpatchable-function-entry=N,M and __attribute__((patchable_function_entry(N,M))) where M>0 2020-01-23 17:02:54 -08:00
patchable-function-entry-attr.cpp [RISCV] Support clang -fpatchable-function-entry && GNU function attribute 'patchable_function_entry' 2021-03-16 10:02:35 -07:00
pid_t.c
pointer-addition.c Revert "Produce warning for performing pointer arithmetic on a null pointer." 2021-05-12 14:53:50 -04:00
pointer-conversion.c
pointer-subtract-compat.c
pointer-subtraction.c Reland Produce warning for performing pointer arithmetic on a null pointer. 2021-07-20 10:12:20 -04:00
pointer-subtraction.cpp Reland Produce warning for performing pointer arithmetic on a null pointer. 2021-07-20 10:12:20 -04:00
ppc-bool.c
ppc-pair-mma-types.c [PowerPC] Fix signature of lxvp and stxvp builtins 2021-09-21 11:19:29 -05:00
pr9812.c
pr25786.c Renamed and changed the wording of warn_cconv_ignored 2019-07-17 20:41:26 +00:00
pr30306.cpp
pr30372.c
pr32985.c
pragma-align-mac68k-unsupported.c
pragma-align-mac68k.c
pragma-align-no-header-change-warning.c
pragma-align-packed.c
pragma-arc-cf-code-audited.c
pragma-attribute-namespace.c __has_feature(pragma_clang_attribute_namespaces) should be __has_extension 2019-01-08 18:24:39 +00:00
pragma-attribute-strict-subjects.c Allow applying attributes to subset of allowed subjects. 2021-04-12 09:33:33 -07:00
pragma-attribute.c [Annotation] Allows annotation to carry some additional constant arguments. 2020-10-26 10:50:05 +01:00
pragma-clang-section-macho.c Support `#pragma clang section` directives on MachO targets 2021-02-25 09:30:10 -08:00
pragma-clang-section.c [Clang][Sema] Capturing section type conflicts between #pragma clang section and section attributes 2020-05-07 11:54:46 +01:00
pragma-ms_struct.c
pragma-pack-2.c
pragma-pack-3.c
pragma-pack-4.c
pragma-pack-5.c
pragma-pack-6.c
pragma-pack-and-options-align.c
pragma-pack-apple.c
pragma-pack.c
pragma-pipeline.cpp Add two new pragmas for controlling software pipelining optimizations. 2019-01-04 17:20:00 +00:00
pragma-section-invalid.c
pragma-section.c clang-cl: Port cl.exe's C4659 to clang-cl 2019-07-09 00:02:23 +00:00
pragma-unused.c
pragma-weak.c
pre-c2x-compat.c Add support for digit separators in C2x. 2021-03-12 07:21:03 -05:00
predef.c
predefined-function.c
preserve-call-conv.c [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
private-extern.c
recover-goto.c
redefine_extname.c
redefinition-same-header.c
redefinition.c
renderscript.rs
reserved-identifier.c Introduce -Wreserved-identifier 2021-05-04 11:19:01 +02:00
reserved-identifier.cpp Handle interactions between reserved identifier and user-defined suffixes 2021-06-23 15:38:42 +02:00
return-non-void.c [clang][NFC] Tests showing the problems with some uses of NamedDecl::getDeclName in diagnostics, SemaOverload.cpp+SemaStmt.cpp part 2020-07-18 20:44:06 +01:00
return-noreturn.c
return-silent.c
return.c [Diagnostics] Try to improve warning message for -Wreturn-type 2019-11-09 17:54:58 +01:00
riscv-asm.c [RISCV] Add support for floating point registers in inlineasm 2019-07-31 09:12:00 +00:00
riscv-interrupt-attr.c
riscv-interrupt-attr.cpp
riscv-types.c [Sema][RISCV][SVE] Allow ?: to select Typedef BuiltinType in C 2021-06-04 15:33:14 +08:00
rounding-math.c PR44406: Follow behavior of array bound constant folding in more recent versions of GCC. 2020-10-16 14:34:35 -07:00
scope-check.c Revert "clang support gnu asm goto." 2019-05-30 15:38:02 +00:00
self-comparison.c
sentinel-attribute.c
shift.c [Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable 2021-06-01 15:38:48 -07:00
short-enums.c
sign-compare-enum.c
sign-conversion.c
sizeless-1.c Diagnose -Wunused-value based on CFG reachability 2021-09-22 14:38:06 -07:00
sizeof-struct-non-zero-as-member.cl
source_location.c Implement __builtin_LINE() et. al. to support source location capture. 2019-05-16 21:04:15 +00:00
statements.c Ignore trailing NullStmts in StmtExprs for GCC compatibility. 2019-07-09 15:02:07 +00:00
static-array.c Change behavior with zero-sized static array extents 2020-07-10 15:58:11 -04:00
static-assert.c Improve static_assert/_Static_assert diagnostics 2021-03-03 08:48:27 -05:00
static-init.c [Sema] Adds the pointer-to-int-cast diagnostic 2020-02-16 15:38:25 +01:00
stdcall-fastcall-x64.c Renamed and changed the wording of warn_cconv_ignored 2019-07-17 20:41:26 +00:00
stdcall-fastcall.c
stmtexprs.c
string-concat.c [Diagnostics] Skip var decl of structs for -Wstring-concatenation 2020-08-13 20:20:26 +02:00
string-init.c
string-plus-char.c
struct-cast.c
struct-compat.c
struct-decl.c PR44406: Follow behavior of array bound constant folding in more recent versions of GCC. 2020-10-16 14:34:35 -07:00
struct-packed-align.c Revert "[SystemZ][z/OS] Update target specific __attribute__((aligned)) value for test" 2021-08-05 10:14:02 -04:00
surpress-deprecated.c
suspicious-pragma-pack.c
swift-call-conv.c ARM, AArch64: support `__attribute__((__swiftcall__))` 2018-12-06 03:28:37 +00:00
switch-1.c Diagnose -Wunused-value based on CFG reachability 2021-09-22 14:38:06 -07:00
switch-availability.c
switch.c Modify TypePrinter to differentiate between anonymous struct and unnamed struct 2021-02-22 14:16:43 -08:00
sync-implicit-seq_cst.c
tautological-constant-compare.c More accurately compute the ranges of possible values for +, -, *, &, %. 2020-08-31 23:16:48 -07:00
tautological-constant-enum-compare.c [Diagnostics] Support -Wtype-limits for GCC compatibility 2019-04-29 23:24:00 +00:00
tautological-objc-bool-compare.m Use 'BOOL' instead of BOOL in diagnostic messages 2019-09-17 18:02:45 +00:00
tautological-unsigned-char-zero-compare.cc [Sema] Move 'char-expression-as-unsigned < 0' into a separate diagnostic 2021-04-14 01:01:40 +02:00
tautological-unsigned-enum-zero-compare.c
tautological-unsigned-enum-zero-compare.cpp
tautological-unsigned-zero-compare.c
tentative-decls.c
text-diag.c
thread-specifier.c Quote the token being diagnosed for C11 extensions. 2019-08-27 13:47:51 +00:00
tls.c
tls_alignment.cpp
transparent-union-pointer.c
transparent-union.c
transpose-memset.c [Sema] Add some compile time _FORTIFY_SOURCE diagnostics 2019-03-18 19:23:45 +00:00
type-spec-struct-union.c
typecheck-binop.c
typedef-prototype.c
typedef-redef.c
typedef-retain.c Improve type printing of const arrays to normalize array-of-const and const-array 2021-09-13 19:17:05 -07:00
typedef-variable-type.c PR44406: Follow behavior of array bound constant folding in more recent versions of GCC. 2020-10-16 14:34:35 -07:00
typeof-use-deprecated.c
types.c [AST] clang::VectorType supports any size (that fits in unsigned) 2020-04-03 17:30:31 +02:00
typo-correction-ambiguity.c [clang] Fix an infinite loop during typo-correction 2021-07-09 12:03:57 +02:00
typo-correction-ambiguity.cpp [Sema][Typo Correction] Fix potential infite loop on ambiguity checks 2019-09-13 14:43:24 +00:00
typo-correction-no-hang.c [clang] Fix an infinite loop during typo-correction 2021-07-09 12:03:57 +02:00
typo-correction-no-hang.cpp Fix issue in typo handling which could lead clang to hang 2020-07-20 11:42:11 -04:00
typo-correction-recursive.cpp Fix issue in typo handling which could lead clang to hang 2020-07-20 11:42:11 -04:00
typo-correction.c [AST] Build recovery expression by default for all language. 2020-11-23 11:08:28 +01:00
ucn-cstring.c
ucn-identifiers.c Implement delimited escape sequences. 2021-09-15 09:54:49 -04:00
unaligned-qualifier.c
unary-minus-integer-impcast.c Don't take the expression range into account when looking for widening 2020-09-01 17:42:12 -07:00
unbounded-array-bounds.c [Sema] Fix for PR50741 2021-06-17 16:16:59 +02:00
uninit-det-order.c
uninit-variables-vectors.c
uninit-variables.c Automatic variable initialization 2018-12-18 05:12:21 +00:00
unnamed-bitfield-init.c
unused-expr-system-header.c
unused-expr.c
usual-float.c
va_arg_x86_32.c
va_arg_x86_64.c
var-redecl.c
varargs-aarch64.c
varargs-aix.c Reland the rest of "Add AIX Target Info" 2019-03-14 21:54:30 +00:00
varargs-win64.c
varargs-x86-32.c
varargs-x86-64.c
varargs.c
varargs_unreachable.c
variadic-block.c
variadic-incomplete-arg-type.c
vecshift.c [test] Properly test -Werror-implicit-function-declaration and -Wvec-elem-size 2020-11-05 20:08:23 -08:00
vector-assign.c Revert "PR17164: Change clang's default behavior from -flax-vector-conversions=all to -flax-vector-conversions=integer." 2020-01-20 16:34:09 -08:00
vector-cast.c Revert "PR17164: Change clang's default behavior from -flax-vector-conversions=all to -flax-vector-conversions=integer." 2020-01-20 16:34:09 -08:00
vector-gcc-compat.c [Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable 2021-06-01 15:38:48 -07:00
vector-gcc-compat.cpp [Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable 2021-06-01 15:38:48 -07:00
vector-init.c
vector-ops.c Revert "PR17164: Change clang's default behavior from -flax-vector-conversions=all to -flax-vector-conversions=integer." 2020-01-20 16:34:09 -08:00
vector_swizzle_length.c
vfprintf-invalid-redecl.c
vfprintf-valid-redecl.c
vla-2.c Diagnose -Wunused-value based on CFG reachability 2021-09-22 14:38:06 -07:00
vla.c [Sema] Fold VLA types in compound literals to constant arrays. 2021-04-14 17:09:59 -07:00
void_arg.c
warn-absolute-value-header.c
warn-absolute-value.c
warn-alloca.c [Sema] add -Walloca to flag uses of `alloca` 2019-07-25 22:23:40 +00:00
warn-bad-function-cast.c [Sema] Add casting check for fixed to fixed point conversions 2020-08-07 07:58:53 -05:00
warn-binary-conditional-expression-unused.c [AST] Fixed extraneous warnings for binary conditional operator 2019-06-19 18:37:01 +00:00
warn-bitwise-compare.c Add -Wtautological-compare to -Wall 2019-11-12 14:36:57 -08:00
warn-bitwise-negation-bool.c [Clang] Put -Wbool-operation under -Wall 2021-08-15 13:37:27 +02:00
warn-cast-align.c Fix a failing assertion with -Wcast-align 2021-07-07 14:00:31 -04:00
warn-cast-function-type.c Fix pluralization error in diagnostic, and move C++ testcase to proper 2021-03-30 16:18:55 -07:00
warn-cast-qual.c
warn-char-subscripts.c
warn-conditional-emum-types-mismatch.c [c++20] Add deprecation warnings for the expression forms deprecated by P1120R0. 2019-12-16 17:49:45 -08:00
warn-documentation-almost-trailing.c
warn-documentation-crlf.c
warn-documentation-fixits.c [Wdocumentation] Use C2x/C++14 deprecated attribute 2019-12-10 21:16:18 +01:00
warn-documentation-fixits.cpp [Wdocumentation] Use C2x/C++14 deprecated attribute 2019-12-10 21:16:18 +01:00
warn-documentation-tag-typedef.cpp [clang][doxygen] Fix false -Wdocumentation warning for tag typedefs 2020-02-20 11:32:30 -08:00
warn-documentation-unknown-command.cpp
warn-documentation.cpp Comment parsing: Treat \ref as inline command 2020-03-05 19:44:34 +01:00
warn-documentation.m [Sema] Fix a crash when attaching comments to an implicit decl 2020-03-02 16:49:53 -08:00
warn-double-promotion.c Fix some tests I broke in r354190 2019-02-16 01:51:19 +00:00
warn-duplicate-enum.c
warn-extern-main.c
warn-fortify-source.c [clang] Evaluate strlen of strcpy argument for -Wfortify-source. 2021-07-28 20:52:57 +00:00
warn-free-nonheap-object.c [Sema] adds -Wfree-nonheap-object member var checks 2020-11-02 11:03:28 -08:00
warn-free-nonheap-object.cpp [clang][Sema] removes -Wfree-nonheap-object reference param false positive 2021-07-21 21:30:16 +00:00
warn-freestanding-complex.c
warn-gnu-designators.c
warn-int-in-bool-context.c [Diagnostics] Handle tautological left shifts in boolean context 2019-09-24 13:14:18 +00:00
warn-integer-constants-in-ternary.c [clang] fix a typo from r372531 2019-10-04 21:37:20 +00:00
warn-lifetime-analysis-nocfg-disabled.cpp Fix a test to test what the name suggest. 2019-08-23 22:26:49 +00:00
warn-lifetime-analysis-nocfg.cpp [clang][Lifetimes] Fix false positive warning from BUG 49342 2021-02-27 08:09:57 -08:00
warn-logical-not-compare.c
warn-main-return-type.c
warn-main-returns-bool-literal.cpp
warn-main.c
warn-missing-braces.c
warn-missing-prototypes.c Make the diagnostic-missing-prototypes put the suggested `static` in front of `const` if exists. 2020-06-09 19:34:57 -04:00
warn-missing-variable-declarations.c Suggestions to fix -Wmissing-{prototypes,variable-declarations} 2019-06-18 22:57:08 +00:00
warn-null.c
warn-nullchar-nullptr.c [Sema] attempt to appease buildbots after r367940 2019-08-05 23:19:15 +00:00
warn-outof-range-assign-enum.c
warn-overlap.c Add -Wtautological-compare to -Wall 2019-11-12 14:36:57 -08:00
warn-printf-insufficient-data-args.c [clang] Selectively ena/disa-ble format-insufficient-args warning 2020-09-28 16:24:50 -07:00
warn-self-assign-field.mm
warn-shadow-intrinsics.c
warn-shadow.c
warn-shift-negative.c
warn-sizeof-array-decay.c
warn-sizeof-arrayarg.c
warn-strict-prototypes.c Warn about zero-parameter K&R definitions in -Wstrict-prototypes 2020-02-14 19:25:02 +01:00
warn-strict-prototypes.cpp Warn about zero-parameter K&R definitions in -Wstrict-prototypes 2020-02-14 19:25:02 +01:00
warn-strict-prototypes.m Warn about zero-parameter K&R definitions in -Wstrict-prototypes 2020-02-14 19:25:02 +01:00
warn-string-conversion.c
warn-stringcompare.c [Diagnostics] Warn for comparison with string literals expanded from macro (PR44064) 2019-11-24 19:40:32 +01:00
warn-strlcpycat-size.c
warn-strncat-size.c [Sema] Add some compile time _FORTIFY_SOURCE diagnostics 2019-03-18 19:23:45 +00:00
warn-tautological-compare.c
warn-thread-safety-analysis.c Thread safety analysis: Add note for double unlock 2020-06-08 17:00:29 +02:00
warn-type-safety-mpi-hdf5.c
warn-type-safety.c Diagnose -Wunused-value based on CFG reachability 2021-09-22 14:38:06 -07:00
warn-type-safety.cpp
warn-uninitialized-statement-expression.c [Sema] Fix -Wuninitialized for struct assignment from GNU C statement expression 2019-07-26 17:29:35 +00:00
warn-unreachable-ms.c
warn-unreachable.c Improve -Wtautological-overlap-compare 2019-09-21 02:37:10 +00:00
warn-unsequenced.c [Sema] SequenceChecker: Fix handling of operator ||, && and ?: 2019-12-22 12:27:31 +00:00
warn-unused-but-set-parameters.c [Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable 2021-06-01 15:38:48 -07:00
warn-unused-but-set-variables.c Don't diagnose unused but set when the Cleanup attribute is used. 2021-09-22 17:48:09 +00:00
warn-unused-function.c
warn-unused-label.c
warn-unused-parameters.c Fix tests after previous commit 2020-02-14 19:41:01 +01:00
warn-unused-value.c Diagnose -Wunused-value based on CFG reachability 2021-09-22 14:38:06 -07:00
warn-unused-variables-werror.c
warn-unused-variables.c
warn-variable-not-needed.c
warn-vla.c Explain why the array bound is non-constant in VLA diagnostics. 2020-08-19 15:45:51 -07:00
warn-write-strings.c
wchar.c [mac/arm] Fix clang/test/Sema/wchar.c on mac/arm hosts 2020-11-20 21:49:17 -05:00
weak-import-on-enum.c
x86-attr-force-align-arg-pointer.c
x86-builtin-palignr.c
x86_64-linux-android.c
xray-always-instrument-attr.c
xray-always-instrument-attr.cpp
xray-log-args-class.cpp
xray-log-args-oob.c
xray-log-args-oob.cpp
zero-initializer.c [Sema] Suppress additional warnings for C's zero initializer 2019-07-16 01:13:36 +00:00
zvector.c For PR17164: split -fno-lax-vector-conversion into three different 2019-09-13 06:02:15 +00:00
zvector2.c For PR17164: split -fno-lax-vector-conversion into three different 2019-09-13 06:02:15 +00:00