llvm-project/clang/test/Sema
Vy Nguyen a21a462051 Make the diagnostic-missing-prototypes put the suggested `static` in front of `const` if exists.
Summary:
Consider: `const int* get_foo() {return nullptr;}`
The suggested fix should be `static const int* get_foo(){}`
and not `const static int* get_foo(){}`

Reviewers: gribozavr2

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D81444
2020-06-09 19:34:57 -04:00
..
Inputs [Diagnostic] Fix a warning typo. NFC. 2018-09-12 18:27:21 +00:00
128bitfloat.cpp Enable __float128 for mingw for GCC compatibility and define __SIZEOF_FLOAT128__ on x86 2017-05-26 17:38:15 +00: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 Bringt back -triple so the test passes on non-x86. 2017-06-09 19:47:36 +00:00
Float16.c Disable _Float16 for non ARM/SPIR Targets 2019-01-25 17:27:57 +00: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 [Sema] Fix PR28181 by avoiding calling BuildOverloadedBinOp in C mode 2017-01-19 17:17:57 +00:00
__try.c [SEH] Defer checking filter expression types until instantiaton 2019-11-07 14:52:04 -08:00
aarch64-neon-fp16-ranges.c [x86] Teach the builtin argument range check to allow invalid ranges in 2018-06-21 23:46:09 +00:00
aarch64-neon-ranges.c [x86] Teach the builtin argument range check to allow invalid ranges in 2018-06-21 23:46:09 +00:00
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-types.c [Sema][SVE] Reject sizeof and alignof for sizeless types 2020-03-12 17:06: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 Fix crash parsing invalid code 2017-07-07 09:38:59 +00:00
address-unaligned.c When diagnosing taking address of packed members skip __unaligned-qualified expressions 2017-03-13 13:18:21 +00:00
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
alias-redefinition.c Process attributes 'ifunc' and 'alias' when checking for redefinition 2017-02-18 06:04:15 +00:00
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 PR26547: alignof should return ABI alignment, not preferred alignment 2018-10-26 19:26:45 +00:00
align-x86.c PR26547: alignof should return ABI alignment, not preferred alignment 2018-10-26 19:26:45 +00:00
align_value.c
alignas.c
alloc-align-attr.c [Sema] Demote call-site-based 'alignment is a power of two' check for AllocAlignAttr into a warning 2020-02-20 16:39:26 +03:00
alloc-size.c When diagnosing the arguments to alloc_size, report the failing argument using a 1-based index instead of a 0-based index for consistency. 2018-02-25 20:40:06 +00: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 Remove the -faltivec alias option and replace it with -maltivec everywhere. 2017-03-21 22:06:18 +00:00
annotate.c Introduce some infrastructure for adding C attributes with [[]] syntax. 2018-01-03 22:22:48 +00:00
anonymous-struct-union-c11.c
anonymous-struct-union.c
arg-duplicate.c
arg-scope-c99.c
arg-scope.c
arm-asm.c [Targets] Implement getConstraintRegister for ARM and AArch64 2018-04-30 09:11:08 +00:00
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 [ARM] Add __bf16 as new Bfloat16 C Type 2020-06-05 10:32:43 +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 [ARM] Limit the diagnose when an ISR calls a regular function 2017-05-05 19:25:29 +00: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 [x86] Teach the builtin argument range check to allow invalid ranges in 2018-06-21 23:46:09 +00:00
arm-no-cmse.c [ARM][CMSE] Implement CMSE attributes 2020-03-24 10:21:26 +00:00
arm-no-fp16.c [NEON] Define fp16 vld and vst intrinsics conditionally 2018-08-19 16:30:57 +00:00
arm-special-register.c
arm64-inline-asm.c [Targets] Implement getConstraintRegister for ARM and AArch64 2018-04-30 09:11:08 +00:00
arm64-neon-args.c
arm64-neon-header.c
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 Implement function attribute artificial 2018-02-14 00:14:07 +00:00
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 Replace Const-Member checking with non-recursive version. 2018-12-11 21:54:52 +00:00
ast-print-x86.c
ast-print.c [AST] Fix loss of enum forward decl from decl context 2018-05-30 18:33:53 +00:00
atomic-compare.c
atomic-expr.c
atomic-implicit-seq_cst.c Implement -Watomic-implicit-seq-cst 2018-09-10 20:42:56 +00:00
atomic-ops.c Atomics: support min/max orthogonally 2019-11-21 10:37:56 +00:00
atomic-requires-library-error.c
atomic-type.c
attr-alias-elf.c
attr-alias.c Clarify the error message for unsupported aliases on Darwin 2017-11-07 00:31:19 +00:00
attr-aligned.c [Sema] Introduce MaximumAlignment value, to be used instead of magical constants 2020-01-24 17:49:17 +03:00
attr-args.c
attr-availability-android.c
attr-availability-app-extensions.c Allow pretty platform names in availability attributes 2017-08-15 14:42:01 +00:00
attr-availability-ios.c Add inherited attributes before parsed attributes. 2018-09-24 06:31:37 +00:00
attr-availability-macosx.c Allow pretty platform names in availability attributes 2017-08-15 14:42:01 +00:00
attr-availability-square-brackets.c Add a C++11 and C2x spelling for the availability attribute in the clang vendor namespace. 2018-02-24 17:16:42 +00:00
attr-availability-swift.c Support Swift in platform availability attribute 2018-11-12 02:44:33 +00:00
attr-availability-tvos.c Add inherited attributes before parsed attributes. 2018-09-24 06:31:37 +00:00
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-c2x.c Support GCC [[gnu::attributes]] in C2x mode 2020-06-01 10:42:42 -04: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 [ThreadSafetyAnalysis] Fix isCapabilityExpr 2017-12-14 22:24:45 +00:00
attr-cleanup.c Disallow a cleanup attribute from appertaining to a parameter (the attribute only appertains to local variables and is silently a noop on parameters). This repurposes the unused (and syntactically incorrect) NormalVar attribute subject. 2017-12-01 16:53:49 +00:00
attr-coldhot.c Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
attr-cpuspecific.c [CPU-Dispatch] Make pentium_iii_no_xmm_regs and pentium_iii alias. 2019-01-24 15:28:57 +00:00
attr-decl-after-definition.c
attr-declspec-ignored.c
attr-deprecated-c2x.c Add a new language mode for C2x; enable [[attribute]] support by default in C2x. 2019-05-14 12:09:55 +00:00
attr-deprecated-message.c
attr-deprecated.c [Sema] Don't allow -Wunguarded-availability to be silenced with redecls 2017-07-05 17:08:56 +00:00
attr-disable-tail-calls.c Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
attr-endian.c
attr-external-source-symbol.c Add a C2x spelling for the external_source_symbol and internal_linkage attributes in the clang vendor namespace. 2018-02-25 14:43:45 +00:00
attr-flag-enum.c
attr-format.c
attr-format_arg.c [Sema] Consider all format_arg attributes. 2018-07-04 01:37:11 +00:00
attr-guard_nocf.c Add support for __declspec(guard(nocf)) 2020-01-10 16:04:12 +00:00
attr-handles.cpp [attributes][analyzer] Add annotations for handles. 2019-12-20 11:47:55 -08:00
attr-ifunc.c clang: Allow ifunc resolvers to accept arguments 2018-10-10 00:34:17 +00:00
attr-loader-uninitialized.c [Clang] Undef attribute for global variables 2020-03-17 21:22:23 +00:00
attr-loader-uninitialized.cpp [Clang] Undef attribute for global variables 2020-03-17 21:22:23 +00:00
attr-long-call.c Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
attr-malloc.c
attr-micromips.c Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
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 [Builtins][Attributes][X86] Tag all X86 builtins with their required vector width. Add a min_vector_width function attribute and tag all x86 instrinsics with it 2018-07-09 19:00:16 +00:00
attr-minsize.c Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
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-naked.c
attr-naked.cpp
attr-nocf_check.c This patch aims to match the changes introduced 2018-05-18 11:56:21 +00:00
attr-nocf_check.cpp This patch aims to match the changes introduced 2018-05-18 11:56:21 +00:00
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] Add nomerge function attribute to clang 2020-05-21 17:07:39 -07:00
attr-nonnull.c
attr-noreturn.c Apply function attributes through array declarators 2020-03-23 11:03:13 +00:00
attr-notail.c Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
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 Add a C++11 and C2x spelling for the objc_bridge_related attribute in the clang vendor namespace. 2018-02-24 17:37:37 +00:00
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 Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
attr-ownership.cpp Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
attr-print.c Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
attr-regparm.c
attr-returns-twice.c
attr-section.c Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
attr-selectany.c Enable __declspec(selectany) on any platform 2017-09-14 17:33:08 +00:00
attr-self-alias.c
attr-sentinel.c
attr-swiftcall.c Revert "Append new attributes to the end of an AttributeList." 2018-06-25 20:06:13 +00:00
attr-target-mv-bad-target.c Implement Function Multiversioning for Non-ELF Systems. 2018-10-25 18:57:19 +00:00
attr-target-mv.c Permit attribute 'used' with 'target' multiversioning. 2020-03-09 12:38:03 -07:00
attr-target-unsupported.c Correct multiversion unsupported target behavior, add a test. 2018-02-20 18:44:50 +00:00
attr-target.c Implement target(branch-protection) attribute for AArch64 2019-11-15 15:40:46 +00:00
attr-tls_model.c
attr-type-safety.c Add a C++11 and C2x spelling for the type safety attribute (argument_with_type_tag, pointer_with_type_tag, and type_tag_for_datatype) in the clang vendor namespace. 2018-02-25 14:01:04 +00:00
attr-unavailable-message.c [Sema] Don't allow -Wunguarded-availability to be silenced with redecls 2017-07-05 17:08:56 +00:00
attr-uninitialized.c Automatic variable initialization 2018-12-18 05:12:21 +00:00
attr-unknown.c
attr-unused.c
attr-used.c Amend r326665 to print out the `used` attribute subjects in a different order. 2018-03-04 16:24:10 +00: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-wasm.c [WebAssembly] Improve clang diagnostics for wasm attributes 2020-06-05 14:32:51 -07:00
attr-weak.c [Sema] Add tests for weak functions 2018-05-25 15:56:12 +00:00
attr-x86-interrupt.c
auto-type.c [c++1z] Diagnose attempts to use variables with deduced class template 2017-02-10 22:35:37 +00:00
availability-guard-format.mm Improve a -Wunguarded-availability note 2019-01-14 19:17:31 +00:00
avr-interrupt-attr.c [AVR] Add support for the 'interrupt' and 'naked' attributes 2017-02-08 05:09:26 +00:00
avr-signal-attr.c [AVR] Add support for the 'interrupt' and 'naked' attributes 2017-02-08 05:09:26 +00:00
big-endian-neon-initializers.c
bitfield-layout.c
bitfield-layout_1.c
bitfield-promote.c
bitfield.c PR36157: When injecting an implicit function declaration in C89, find the right 2018-02-01 20:01:49 +00:00
bittest-intrinsics.c [MS] Re-add support for the ARM interlocked bittest intrinscs 2018-06-07 21:39:04 +00:00
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 [AMDGPU] Introduce Clang builtins to be mapped to AMDGCN atomic inc/dec intrinsics 2020-06-09 17:02:58 +00: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 [Sema] Try 2: Sanity-check alignment requested via `__attribute__((assume_aligned(imm)))` 2020-01-24 16:56:39 +03:00
builtin-assume.c
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 Rework __builtin_classify_type support to better match GCC and to not assert on 2018-05-23 21:18:00 +00:00
builtin-clear_cache.c
builtin-cpu-supports.c [X86] Implement __builtin_cpu_is 2017-08-10 20:28:30 +00:00
builtin-dump-struct.c Introduce a new builtin, __builtin_dump_struct, that is useful for dumping structure contents at runtime in circumstances where debuggers may not be easily available (such as in kernel work). 2018-04-10 21:58:13 +00:00
builtin-fpclassification.c Reland [NFC-I] Remove hack for fp-classification builtins 2019-12-17 06:58:29 -08:00
builtin-longjmp.c
builtin-object-size.c [Sema] Add some compile time _FORTIFY_SOURCE diagnostics 2019-03-18 19:23:45 +00:00
builtin-prefetch.c [x86] Teach the builtin argument range check to allow invalid ranges in 2018-06-21 23:46:09 +00:00
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 Limit types of builtins that can be redeclared. 2018-04-16 21:30:08 +00:00
builtin-returnaddress.c Add test missed in r843a9778fcd5 2020-03-09 10:54:56 -07:00
builtin-setjmp.c [Fix] Customize warnings for missing built-in types 2019-07-31 05:16:38 +00: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 [x86] Teach the builtin argument range check to allow invalid ranges in 2018-06-21 23:46:09 +00:00
builtins-arm64-exclusive.c
builtins-arm64-mte.c [AArch64] Add support for MTE intrinsics 2019-04-26 21:08:11 +00:00
builtins-arm64.c [x86] Teach the builtin argument range check to allow invalid ranges in 2018-06-21 23:46:09 +00:00
builtins-bpf.c [BPF] do compile-once run-everywhere relocation for bitfields 2019-10-08 18:23:17 +00: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 [Hexagon] Diagnose intrinsics not supported by selected CPU/HVX 2018-07-12 18:54:04 +00:00
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 [Hexagon] Diagnose intrinsics not supported by selected CPU/HVX 2018-07-12 18:54:04 +00:00
builtins-memcpy-inline.cpp [clang] Fix crash during template sema checking 2020-03-21 12:42:06 +01:00
builtins-microsoft-arm64.c [COFF, ARM64] Add _ReadStatusReg and_WriteStatusReg intrinsics 2018-10-18 23:35:35 +00:00
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
builtins-ppc.c [x86] Teach the builtin argument range check to allow invalid ranges in 2018-06-21 23:46:09 +00:00
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 [x86] Fix a tiny bug in my test case in r335309 by marking that we don't 2018-06-21 23:52:36 +00:00
builtins-x86_64.c
builtins.c [Builtins] Implement __builtin_is_constant_evaluated for use in C++2a 2019-04-24 02:23:30 +00:00
builtins.cl
c2x-fallthrough.c Silencing a redefinition warning that was not germane to the test. 2017-10-18 14:48:33 +00:00
c2x-maybe_unused-errors.c Add a new language mode for C2x; enable [[attribute]] support by default in C2x. 2019-05-14 12:09:55 +00: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 P1301R4, which allows specifying an optional message on the [[nodiscard]] attribute. 2019-07-20 07:56:34 +00:00
c11-typedef-redef.c
c89.c Allow parameter names to be elided in a function definition in C. 2020-04-07 14:43:38 -04: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 Extend -Wcast-calling-convention to warn on declarations as well as definitions 2017-01-31 19:37:45 +00:00
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 [Diagnostics] Support -Wtype-limits for GCC compatibility 2019-04-29 23:24:00 +00:00
complex-imag.c
complex-init-list.c
complex-int.c Refactor checking of switch conditions and case values. 2018-07-26 18:41:30 +00: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
const-eval.c [Sema] Adds the pointer-to-int-cast diagnostic 2020-02-16 15:38:25 +01:00
const-ptr-int-ptr-cast.c
constant-builtins-2.c [Builtins] Add __builtin_clrsb support to IntExprEvaluator::VisitBuiltinCallExpr 2018-08-08 22:31:12 +00: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 Fix the spelling of 'bitfield' in diagnostics to be consistently 'bit-field'. 2016-12-20 02:43:58 +00:00
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 PR36157: When injecting an implicit function declaration in C89, find the right 2018-02-01 20:01:49 +00:00
darwin-align-cast.c [Sema] Fix pointer-to-int-cast for MSVC build bot 2020-02-16 19:09:59 +01:00
darwin-tls.c Fix TLS support check for Darwin 32-bit simulator targets. 2018-01-05 20:20:03 +00:00
decl-in-prototype.c Improve our handling of tag decls in function prototypes 2016-12-14 17:44:11 +00:00
decl-invalid.c
decl-microsoft-call-conv.c
decl-type-merging.c
declspec-naked.c Sema: prevent __declspec(naked) use on x64 2017-04-07 15:13:47 +00:00
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 PR38095: Allow constant-folding of loads through bitcasted pointers if 2018-07-11 00:29:05 +00:00
div-sizeof-array.cpp [Diagnostics] Silence -Wsizeof-array-div for character buffers 2019-10-08 11:34:02 +00:00
div-sizeof-ptr.cpp [Diagnostics] Refactor code for -Wsizeof-pointer-div, catch more cases; also add -Wsizeof-array-div 2019-09-06 16:12:48 +00: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 Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
dllimport.c Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
empty1.c
empty2.c
enable_if-ext.c
enable_if.c [Sema] Deduplicate some availability checking logic 2019-03-20 19:26:33 +00:00
enum-attr.c Add support for attribute enum_extensibility. 2017-03-21 02:23:00 +00:00
enum-increment.c
enum-packed.c
enum-sign-conversion.c [Sema] Document+test the -Wsign-conversion change for enums in C code [NFC] 2017-11-04 20:27:47 +00:00
enum.c Change getRedeclContext() to support enumerations as another kind of transparent context in C. 2018-10-23 19:44:51 +00:00
error-type-safety.cpp Reland "[Attr] Fix parameter indexing for several attributes" 2018-03-13 14:51:22 +00:00
eval-info.c Workaround for EvalInfo ctor for MSVC 2017 2019-11-26 21:43:29 -05:00
expr-address-of.c Diagnose attempt to take address of bitfield members in anonymous structs. 2017-04-13 21:49:46 +00:00
expr-comma-c99.c
expr-comma.c
exprs.c Use getLocation() in "too few/too many arguments" diagnostic 2020-02-18 11:23:17 -05: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 Catch invalid bitwise operation on vector of floats 2017-06-08 05:25:19 +00:00
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 [PowerPC] The __float128 type should only be available on Power9 2018-06-13 16:05:05 +00:00
floating-point-compare.c
fn-ptr-as-fn-prototype.c
for.c
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 [clang] Fix handling of "%zd" in scanf 2017-07-20 20:11:47 +00:00
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 [Sema] Split out -Wformat-type-confusion from -Wformat-pedantic 2019-10-04 19:20:27 +00:00
format-strings-scanf.c [clang] Add getUnsignedPointerDiffType method 2017-09-28 23:11:31 +00:00
format-strings-size_t.c
format-strings.c [Sema] Don't warn on printf('%hd', [char]) (PR41467) 2019-08-23 18:01:57 +00: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
fp16vec-sema.c Revert "[Sema] Use the canonical type in function isVector" 2019-11-22 13:48:39 -08: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
gnu89.c
heinous-extensions-off.c
heinous-extensions-on.c
i-c-e.c When evaluating a __builtin_constant_p conditional, always enter 2019-09-10 21:24:09 +00:00
i386-linux-android.c
illegal-types.c
implicit-builtin-decl.c [Fix] Customize warnings for missing built-in types 2019-07-31 05:16:38 +00:00
implicit-builtin-freestanding.c
implicit-builtin-redecl.c
implicit-cast.c
implicit-decl-c90.c PR34822: Fix a collection of related bugs with our handling of C89 implicit function declarations. 2017-10-04 01:49:22 +00:00
implicit-decl.c PR34822: Fix a collection of related bugs with our handling of C89 implicit function declarations. 2017-10-04 01:49:22 +00:00
implicit-def.c
implicit-int-conversion.c [Basic] Split out -Wimplicit-int-conversion and -Wimplicit-float-conversion from -Wconversion 2018-10-10 00:40:50 +00:00
implicit-int-float-conversion.c [Sema][test] Fix implicit-int-float-conversion.c on Windows 2020-04-23 18:52:04 -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
incomplete-call.c
incomplete-decl.c
indirect-goto.c
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 'A' constraint for inline assembler 2020-05-25 17:47:06 +03:00
inline-asm-validate-riscv.c Delay diagnosing asm constraints that require immediates until after inlining 2019-08-06 22:41:22 +00: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 [Diagnostics] Check for integer overflow in array size expressions 2018-10-18 20:49:06 +00:00
internal_linkage.c Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
invalid-bitwidth-expr.mm [AST][RecoveryExpr] Make DeduceAutoType fail if the auto is deduced from recovery exprs. 2020-05-29 09:54:28 +02:00
invalid-cast.cpp
invalid-decl.c
invalid-init-diag.c
invalid-member.cpp [AST] Fix crashes on decltype(recovery-expr). 2020-03-30 14:56:33 +02:00
invalid-struct-init.c
knr-def-call.c Revert r294910 and recommit r294861 and r294862 with a target triple to hopefully appease the bots. 2017-02-12 19:24:47 +00:00
knr-variadic-def.c
libbuiltins-ctype-powerpc64.c
libbuiltins-ctype-x86_64.c
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 [Sema] Make BreakContinueFinder handle nested loops. 2017-07-04 00:52:24 +00:00
many-logical-ops.c
many-parameters.c
matrix-type-builtins.c [Matrix] Add __builtin_matrix_transpose to Clang. 2020-06-09 10:14:37 +01:00
matrix-type-operators.c [Matrix] Implement * binary operator for MatrixType. 2020-06-07 11:11:27 +01:00
member-reference.c
memset-invalid-1.c
memset-invalid.c
merge-decls.c
mingw-macro-qualified-type.c Fix test to use -cc1. 2019-05-12 22:44:46 +00:00
mips-interrupt-attr.c Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
mips16_attr_allowed.c
mips16_attr_not_allowed.c
missing-field-initializers.c
mms-bitfields.c [PR32482] Fix bitfield layout for -mms-bitfield and pragma pack 2018-01-31 21:59:02 +00:00
mrtd.c Renamed and changed the wording of warn_cconv_ignored 2019-07-17 20:41:26 +00:00
ms-annotation.c [ms] Implement the __annotation intrinsic 2017-09-05 20:27:35 +00:00
ms-inline-asm-invalid-arch.c
ms-inline-asm.c Fixups to FE tests affected by D36793 2017-08-24 08:47:26 +00:00
ms-keyword-system-header.c
ms-wchar.c
ms_abi-sysv_abi.c Revert "Append new attributes to the end of an AttributeList." 2018-06-25 20:06:13 +00:00
ms_bitfield_layout.c
ms_class_layout.cpp
ms_wide_predefined_expr.cpp [MS] Add L__FUNCSIG__ for compatibility 2018-07-26 23:18:44 +00:00
negative-shift-wrapv.c
neon-vector-types-support.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 Fix typo to separate "-x" from warning flag. 2019-11-22 12:51:41 -08:00
no-warn-unused-const-variables.c
no_callconv.cpp Disallow most calling convention attributes on PS4 2019-07-19 21:38:34 +00:00
no_stack_protector.c [Clang] Implement function attribute no_stack_protector. 2018-05-09 21:41:18 +00:00
nocf_check_attr_not_allowed.c Adding nocf_check attribute for cf-protection fine tuning 2018-03-17 13:31:35 +00:00
noescape.c Add test cases that weren't committed in r313945. 2017-09-22 01:54:36 +00:00
non-null-warning.c
nonnull.c [clang]: Add support for "-fno-delete-null-pointer-checks" 2018-07-19 00:44:52 +00:00
nowarn-documentation-property.m
nullability.c Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
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
offsetof.c [Sema] Adds the pointer-to-int-cast diagnostic 2020-02-16 15:38:25 +01:00
outof-range-constant-compare.c [Sema] Re-land: Diagnose tautological comparison with type's min/max values 2017-10-15 20:13:17 +00:00
outof-range-enum-constant-compare.c [Sema] Fixes for enum handling for tautological comparison diagnostics 2017-10-21 16:44:03 +00:00
overload-arm-mve.c [ARM] Replace arm vendor with none. NFC 2020-04-22 18:19:35 +01:00
overloadable-complex.c
overloadable.c [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
overloaded-func-transparent-union.c
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 [Sema] Allow function attribute patchable_function_entry on aarch64_be 2020-05-06 10:10:25 -07:00
pid_t.c
pointer-addition.c Remove offset size check in nullptr arithmetic handling 2017-09-20 18:06:44 +00:00
pointer-conversion.c
pointer-subtract-compat.c
ppc-bool.c
pr9812.c
pr25786.c Renamed and changed the wording of warn_cconv_ignored 2019-07-17 20:41:26 +00:00
pr30306.cpp [VLA] Fix the test failure on msvc by specifying the triple. 2017-02-15 00:01:12 +00:00
pr30372.c Fix typos in clang 2018-04-06 15:14:32 +00:00
pr32985.c [SEMA] split ExtWarn dupl-decl-spec's into Extension and ExtWarn 2018-10-03 23:09:29 +00:00
pragma-align-mac68k-unsupported.c
pragma-align-mac68k.c
pragma-align-no-header-change-warning.c PR36307: Consume the #pragma options align annotation token after 2018-02-08 21:20:43 +00:00
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 Add support for attributes on @implementations in Objective-C 2019-04-11 17:55:30 +00:00
pragma-attribute.c Revert "Revert "Support for groups of attributes in #pragma clang attribute"" 2018-10-29 17:38:42 +00: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 Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
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 -Wpragma-pack: add an additional note and fixit when warning 2017-07-31 13:37:50 +00:00
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
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 [Diag] Avoid emitting a redefinition note if no location is available. 2018-03-28 16:05:05 +00:00
redefinition-same-header.c Make tests from r302765 windows friendly 2017-05-11 07:06:52 +00:00
redefinition.c
renderscript.rs
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] Add support for interrupt attribute 2018-07-26 17:37:45 +00:00
riscv-interrupt-attr.cpp [RISCV] Add support for interrupt attribute 2018-07-26 17:37:45 +00:00
scope-check.c Revert "clang support gnu asm goto." 2019-05-30 15:38:02 +00:00
self-comparison.c Fix typos in clang 2018-04-06 15:14:32 +00:00
sentinel-attribute.c
shift.c [APSInt][OpenMP] Fix isNegative, etc. for unsigned types 2019-04-23 17:04:15 +00:00
short-enums.c
sign-compare-enum.c [Sema] Don't mark plain MS enums as fixed 2018-02-12 17:37:06 +00:00
sign-conversion.c
sizeless-1.c [Sema][SVE] Fix handling of initialisers for built-in SVE types 2020-05-06 12:24:27 +01:00
sizeof-struct-non-zero-as-member.cl [AMDGPU] Do not require opencl triple environment for OpenCL 2017-05-23 16:15:53 +00:00
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 [Sema] Improve a -Warray-bounds diagnostic 2019-01-25 20:52:45 +00:00
static-assert.c [c++20] Implement semantic restrictions for C++20 designated 2019-08-30 22:52:55 +00: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 Revert "Append new attributes to the end of an AttributeList." 2018-06-25 20:06:13 +00:00
stmtexprs.c
string-init.c
string-plus-char.c
struct-cast.c
struct-compat.c
struct-decl.c PR46255: Fix field diagnostics for C records with anonymous members. 2020-06-09 12:27:44 -07:00
struct-packed-align.c [FIX][NFC] Update clang sema test 2019-08-08 14:45:42 +00:00
surpress-deprecated.c
suspicious-pragma-pack.c [Diagnostic] Fix a warning typo. NFC. 2018-09-12 18:27:21 +00:00
swift-call-conv.c ARM, AArch64: support `__attribute__((__swiftcall__))` 2018-12-06 03:28:37 +00:00
switch-1.c
switch-availability.c [Sema] Don't warn about omitting unavailable enum constants in a switch 2018-09-05 19:13:27 +00:00
switch.c [c++20] Add deprecation warnings for the expression forms deprecated by P1120R0. 2019-12-16 17:49:45 -08:00
sync-implicit-seq_cst.c Implement -Watomic-implicit-seq-cst 2018-09-10 20:42:56 +00:00
tautological-constant-compare.c [Diagnostics] Support -Wtype-limits for GCC compatibility 2019-04-29 23:24:00 +00: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-enum-zero-compare.c [Sema] -Wtautological-constant-compare is too good. Cripple it. 2018-01-03 08:45:19 +00:00
tautological-unsigned-enum-zero-compare.cpp [Sema] -Wtautological-constant-compare is too good. Cripple it. 2018-01-03 08:45:19 +00:00
tautological-unsigned-zero-compare.c [Sema] -Wtautological-constant-compare is too good. Cripple it. 2018-01-03 08:45:19 +00:00
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 Fix typos in clang 2018-04-06 15:14:32 +00:00
tls_alignment.cpp
transparent-union-pointer.c
transparent-union.c Reland "[CodeGen] Fix crash when a function taking transparent union is redeclared." 2018-01-22 22:29:24 +00:00
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 For PR17164: split -fno-lax-vector-conversion into three different 2019-09-13 06:02:15 +00:00
typedef-variable-type.c
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 [Sema][Typo Correction] Fix another infinite loop on ambiguity 2019-10-25 13:20:27 -04: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-recursive.cpp [Sema][Typo] Fix assertion failure for expressions with multiple typos 2019-08-20 19:03:15 +00:00
typo-correction.c [Sema] Fix a regression introduced in "[AST][Sema] Remove CallExpr::setNumArgs" 2019-02-14 15:43:17 +00:00
ucn-cstring.c
ucn-identifiers.c
unaligned-qualifier.c Fix crash when an incorrect redeclaration only differs in __unaligned type-qualifier 2017-02-24 08:41:09 +00:00
unary-minus-integer-impcast.c Added warning for unary minus used with unsigned type 2018-10-02 06:02:30 +00: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 Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
usual-float.c
va_arg_x86_32.c
va_arg_x86_64.c
var-redecl.c
varargs-aarch64.c [AArch64] Add support for __builtin_ms_va_list on aarch64 2017-07-17 20:49:45 +00:00
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 [AArch64] Add support for __builtin_ms_va_list on aarch64 2017-07-17 20:49:45 +00:00
varargs-x86-64.c
varargs.c Don't claim that va_start has special semantic checks 2018-03-02 21:41:08 +00:00
varargs_unreachable.c
variadic-block.c
variadic-incomplete-arg-type.c
vecshift.c
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 Fix typos in clang 2018-04-06 15:14:32 +00:00
vector-gcc-compat.cpp Reland D80979 [clang] Implement VectorType logic not operator 2020-06-08 09:32:30 -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 [OpenCL] Restrict swizzle length check to OpenCL mode 2017-10-17 17:54:57 +00:00
vfprintf-invalid-redecl.c Fix completely bogus types for some builtins: 2016-12-19 23:59:34 +00:00
vfprintf-valid-redecl.c Fix completely bogus types for some builtins: 2016-12-19 23:59:34 +00:00
vla-2.c
vla.c Detect an incompatible VLA pointer assignment 2018-06-05 09:18:26 +00: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
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 [Diagnostics] Emit better -Wbool-operation's warning message if we known that the result is always true 2019-10-07 21:57:03 +00:00
warn-cast-align.c Make ASTContext::getDeclAlign return the correct alignment for 2017-01-06 17:56:15 +00:00
warn-cast-qual.c Fix determination of whether a reinterpret_cast casts away constness. 2018-07-10 23:04:35 +00:00
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 Fix a bot failure from r343042. 2018-09-25 23:52:29 +00:00
warn-extern-main.c
warn-fortify-source.c Improve static checks for sprintf and __builtin___sprintf_chk 2020-01-25 18:10:34 +01: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 [LifetimeAnalysis] Fix PR44150 2019-11-27 09:15:14 -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-self-assign-field.mm
warn-shadow-intrinsics.c
warn-shadow.c Silence the -Wshadow warning for enumerators shadowing a type. 2018-10-22 13:05:53 +00:00
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 Fix typos in clang 2018-04-06 15:14:32 +00:00
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 Fix a failing assertion with the pointer_with_type_tag attribute when the function the attribute appertains to is variadic. 2018-02-25 20:28:10 +00: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 Implement CFG construction for __try / __except / __leave. 2017-08-23 15:33:16 +00:00
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-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
warn-unused-variables-werror.c
warn-unused-variables.c
warn-variable-not-needed.c
warn-vla.c
warn-write-strings.c
wchar.c Clang :: Sema/wchar.c has long been failing on Solaris: 2019-06-17 20:21:25 +00:00
weak-import-on-enum.c
x86-attr-force-align-arg-pointer.c
x86-builtin-palignr.c [X86] Remove __extension__ from macro intrinsics when its not needed. 2018-05-31 00:51:20 +00:00
x86_64-linux-android.c
xray-always-instrument-attr.c Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
xray-always-instrument-attr.cpp Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
xray-log-args-class.cpp [XRay][clang] Support capturing the implicit `this` argument to C++ class member functions 2017-06-16 03:22:09 +00:00
xray-log-args-oob.c Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
xray-log-args-oob.cpp Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
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