llvm-project/clang/test/Sema
Coby Tayree cfa3810aa0 Fixups to FE tests affected by D36793
Differential Revision: https://reviews.llvm.org/D36794

llvm-svn: 311640
2017-08-24 08:47:26 +00:00
..
Inputs Recommit r308327 3rd time: Add a warning for missing 2017-07-28 14:41: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 [MS Extensions] Remove support for the i128 integer literal suffix 2015-07-26 09:02:26 +00:00
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
MicrosoftCompatibility-x64.c Win64: Silently ignore __stdcall, __fastcall, and __thiscall 2015-02-26 19:43:46 +00:00
MicrosoftCompatibility-x86.c
MicrosoftCompatibility.c [Sema] The alignment of an object has an upper bound from the object file format 2015-07-26 01:48:59 +00:00
MicrosoftCompatibility.cpp
MicrosoftExtensions.c [ms] Add support for parsing uuid as a Microsoft attribute. 2016-09-03 03:25:22 +00:00
PR2727.c
PR2728.c
PR2919-builtin-types-compat-strips-crv.c
PR2923.c
PR2963-enum-constant.c
PR16678.c Consider unsigned long for non-u/U decimal literals (C90/C++03) 2015-06-08 21:59:59 +00:00
PR28181.c [Sema] Fix PR28181 by avoiding calling BuildOverloadedBinOp in C mode 2017-01-19 17:17:57 +00:00
__try.c Fix Sema tests using __try by adding triple 2015-04-28 22:58:25 +00:00
aarch64-neon-ranges.c [ARM64] Add ARM64 RUN lines to a bunch of tests that had AARCH64 RUN lines. 2014-04-17 12:51:36 +00:00
aarch64-neon-vector-types.c [ARM64] Add ARM64 RUN lines to a bunch of tests that had AARCH64 RUN lines. 2014-04-17 12:51:36 +00:00
aarch64-special-register.c [ARM] Fix sema check of ARM special register names 2016-11-18 21:00:08 +00:00
address-constant.c
address-packed-member-memops.c Add missing tests 2016-08-17 06:52:15 +00:00
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_spaces.c [OpenCL] Map default address space to alloca address space 2017-04-11 17:24:23 +00:00
alias-redefinition.c Process attributes 'ifunc' and 'alias' when checking for redefinition 2017-02-18 06:04:15 +00:00
align-arm-apcs.c
align-systemz.c Fix __alignof__ of global variables on SystemZ 2015-04-21 17:26:18 +00:00
align-x86-64.c
align-x86.c AST: Don't ignore alignas on EnumDecls when calculating alignment 2015-01-21 10:54:38 +00:00
align_value.c Initial support for the align_value attribute 2014-10-02 21:21:25 +00:00
alignas.c
alloc-align-attr.c Add #pragma clang attribute support to the external_source_symbol attribute 2017-04-19 15:52:11 +00:00
alloc-size.c Make alloc_size only applicable to Functions. 2016-12-22 18:48:34 +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
anonymous-struct-union-c11.c Switch C compilations to C11 by default. 2014-10-20 23:26:58 +00:00
anonymous-struct-union.c Improve the error message for assigning to read-only variables. 2015-04-11 01:53:13 +00:00
arg-duplicate.c
arg-scope-c99.c
arg-scope.c
arm-asm.c
arm-darwin-aapcs.cpp MachO: set sizeof result type to what embedded headers expect. 2014-08-05 11:07:26 +00:00
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 Improve error handling for PR22560. 2015-06-23 21:10:24 +00:00
arm-neon-types.c Rewrite ARM NEON intrinsic emission completely. 2014-06-17 13:11:27 +00:00
arm-no-fp16.c [ARM] Guard the declarations of f16 to f32 vcvt intrinsics in arm_neon.h by testing __ARM_FP 2016-04-29 15:03:32 +00:00
arm-special-register.c [ARM] Fix sema check of ARM special register names 2016-11-18 21:00:08 +00:00
arm64-inline-asm.c [AArch64, inline-asm] Improve diagnostic that is printed when the size of a 2014-08-22 06:05:21 +00:00
arm64-neon-args.c AArch64: use aarch64_be instead of arm64_be in all tests. 2014-07-23 12:57:31 +00:00
arm64-neon-header.c AArch64: fix return type of vqmovun_high_*. 2016-07-12 17:38:50 +00:00
arm_acle.c arm_acle: Add mappings for dbg intrinsic 2014-08-26 12:48:11 +00:00
arm_vfma.c PR27216: Only define __ARM_FEATURE_FMA when the target has VFPv4 2016-04-28 11:29:08 +00:00
array-bounds-ptr-arith.c
array-constraint.c
array-declared-as-incorrect-type.c [Sema] Emit a better diagnostic when variable redeclarations disagree 2015-07-14 20:08:49 +00:00
array-init.c Switch C compilations to C11 by default. 2014-10-20 23:26:58 +00:00
array-size-64.c
array-size.c
asm-label.c Error on redeclaring with a conflicting asm label and on redeclaring with an asm label after the first ODR-use. Detects problems like the one in PR22830 where gcc and clang both compiled the file but with different behaviour. 2015-12-11 21:28:55 +00:00
asm.c [inline asm][gcc-compatiblity] "=i" output constraint support 2017-06-26 15:55:51 +00:00
assign-null.c
assign.c Improve the error message for assigning to read-only variables. 2015-04-11 01:53:13 +00:00
ast-print-x86.c Move target-specific Sema test to its own file. 2015-06-09 14:30:17 +00:00
ast-print.c [AST Printer] Print attributes on enum constants 2017-01-20 03:33:42 +00:00
atomic-compare.c Fix -Wlogical-not-parentheses to work better with C code. 2015-08-19 21:33:54 +00:00
atomic-expr.c Sema: Handle C11 atomics when diagnosing out of range comparisons 2014-07-21 18:01:53 +00:00
atomic-ops.c Add __CLANG_ATOMIC_<TYPE>_LOCK_FREE macros for use in MSVC compatibility mode. 2017-04-20 22:53:57 +00:00
atomic-requires-library-error.c
atomic-type.c
attr-alias-elf.c [GCC] Attribute ifunc support in clang 2016-04-11 07:48:59 +00:00
attr-alias.c
attr-aligned.c [Sema] PR26444 fix crash when alignment value is >= 2**16 2016-03-02 06:48:47 +00:00
attr-args.c
attr-availability-android.c Support __attribute__((availability)) on Android. 2015-03-03 18:28:38 +00:00
attr-availability-app-extensions.c Allow pretty platform names in availability attributes 2017-08-15 14:42:01 +00:00
attr-availability-ios.c Allow pretty platform names in availability attributes 2017-08-15 14:42:01 +00:00
attr-availability-macosx.c Allow pretty platform names in availability attributes 2017-08-15 14:42:01 +00:00
attr-availability-tvos.c Allow pretty platform names in availability attributes 2017-08-15 14:42:01 +00:00
attr-availability-watchos.c Allow pretty platform names in availability attributes 2017-08-15 14:42:01 +00:00
attr-availability.c [Sema] Don't allow -Wunguarded-availability to be silenced with redecls 2017-07-05 17:08:56 +00:00
attr-bounded.c Prune CRLF. 2014-10-27 12:37:26 +00:00
attr-capabilities.c Revert "Thread Safety Analysis: warn on nonsensical attributes." 2017-08-11 07:54:35 +00:00
attr-cleanup.c Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
attr-coldhot.c Implement __attribute__((internal_linkage)). 2015-11-10 21:28:44 +00:00
attr-decl-after-definition.c
attr-declspec-ignored.c
attr-deprecated-message.c Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
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 Add support for function attribute 'disable_tail_calls'. 2015-11-13 00:42:21 +00:00
attr-endian.c
attr-external-source-symbol.c Introduce an 'external_source_symbol' attribute that describes the origin 2017-03-01 18:06:25 +00:00
attr-flag-enum.c Update tests touched by r249656 2015-10-08 06:31:22 +00:00
attr-format.c Add support for analyzing FreeBSD kernel printf extensions. 2015-02-19 22:32:33 +00:00
attr-format_arg.c
attr-ifunc.c Process attributes 'ifunc' and 'alias' when checking for redefinition 2017-02-18 06:04:15 +00:00
attr-long-call.c [mips] Enable `long_call/short_call` attributes on MIPS64 2017-08-08 21:17:33 +00:00
attr-malloc.c Account for calling convention specifiers in function definitions in IR test cases 2015-06-29 17:29:50 +00:00
attr-micromips.c [mips] Add one more check to the micromips attribute test case. NFC 2017-05-22 15:53:34 +00:00
attr-minsize.c
attr-mode-enums.c Fix for PR8901: attribute "mode" rejected for enums and dependent types. 2016-02-02 13:50:39 +00:00
attr-mode-vector-types.c PR10235: support for vector mode attributes + warning, by Dmitry Polukhin. 2015-11-19 10:13:11 +00:00
attr-mode.c Enable support for __float128 in Clang and enable it on pertinent platforms 2016-05-09 08:52:33 +00:00
attr-msp430.c Prune CRLF. 2014-10-27 12:37:26 +00:00
attr-naked.c Allow register variables in naked functions. 2016-09-13 07:02:02 +00:00
attr-naked.cpp Diagnose CXX 'this' pointer reference in funcs with naked attr 2015-02-03 22:35:58 +00:00
attr-nodebug.c Allow 'nodebug' on local variables. 2016-06-16 00:42:36 +00:00
attr-noduplicate.c Exposing the noduplicate attribute within Clang, which marks functions so that the optimizer does not duplicate code. 2014-02-22 16:59:24 +00:00
attr-noinline.c
attr-nonnull.c Prune CRLF. 2014-10-27 12:37:26 +00:00
attr-noreturn.c
attr-notail.c Implement __attribute__((internal_linkage)). 2015-11-10 21:28:44 +00:00
attr-ownership.c Fix several accidental DOS line endings in source files 2016-01-03 15:55:40 +00:00
attr-print.c AvailabilityAttr: we accept "macos" as the platform name. 2016-06-28 20:55:30 +00:00
attr-regparm.c
attr-returns-twice.c
attr-section.c Fix mismatched enum value name and diagnostic text. 2016-11-11 16:51:40 +00:00
attr-selectany.c mingw-w64: enable support for __declspec(selectany) 2017-04-18 15:56:24 +00:00
attr-self-alias.c Don't crash on a self-alias declaration 2015-09-04 21:49:21 +00:00
attr-sentinel.c
attr-swiftcall.c Declare WinX86_64ABIInfo to satisfy SwiftABI info 2016-10-12 18:59:24 +00:00
attr-target.c Improve SEMA for attribute-target 2017-07-19 22:06:33 +00:00
attr-tls_model.c
attr-unavailable-message.c [Sema] Don't allow -Wunguarded-availability to be silenced with redecls 2017-07-05 17:08:56 +00:00
attr-unknown.c
attr-unused.c
attr-used.c Removed a string literal for an attribute name, which means the attribute name will be quoted in the diagnostic. Manually added some quotes to a diagnostic for consistency. Updated the test cases as appropriate. 2013-12-26 17:30:44 +00:00
attr-visibility.c
attr-weak.c
attr-x86-interrupt.c [X86] Support 'interrupt' attribute for x86 2016-01-15 04:06:31 +00:00
auto-type.c [c++1z] Diagnose attempts to use variables with deduced class template 2017-02-10 22:35:37 +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 AArch64: use aarch64_be instead of arm64_be in all tests. 2014-07-23 12:57:31 +00:00
bitfield-layout.c [PS4] Change the names of some "environmental" things to what our 2016-05-16 17:22:25 +00:00
bitfield-layout_1.c pr26544: Bitfield layout with pragma pack and attributes "packed" and 2016-02-19 11:23:28 +00:00
bitfield-promote.c
bitfield.c Allow -1 to assign max value to unsigned bitfields. 2016-08-05 02:39:30 +00:00
block-args.c When a type-id is unexpectedly given a name, assume that the name is unrelated 2017-05-19 01:54:59 +00:00
block-call.c
block-explicit-noreturn-type.c
block-labels.c
block-literal.c
block-misc.c Improve the error message for assigning to read-only variables. 2015-04-11 01:53:13 +00:00
block-printf-attribute-1.c
block-return-1.c
block-return-2.c
block-return-3.c
block-return.c Consolidate header inclusion diagnostics 2014-07-11 20:53:51 +00:00
block-sentinel-attribute.c
block-storageclass.c
bool-compare.c Fix -Wlogical-not-parentheses to work better with C code. 2015-08-19 21:33:54 +00:00
builtin-alloca-with-align.c [Sema] Warn when alignof is used with __builtin_alloca_with_align 2016-10-31 18:07:57 +00:00
builtin-assume-aligned.c Support the assume_aligned function attribute 2014-09-26 05:04:30 +00:00
builtin-assume.c HasSideEffects() should return false for calls to pure and const functions. 2015-04-06 13:22:01 +00:00
builtin-classify-type.c PR26449: Tests for builtin_classify_type fix 2016-02-15 10:44:27 +00:00
builtin-clear_cache.c [ARM64] Fix __clear_cache - ensure it is predefined. 2014-04-17 12:51:42 +00:00
builtin-cpu-supports.c [X86] Implement __builtin_cpu_is 2017-08-10 20:28:30 +00:00
builtin-longjmp.c [Sparc] setjmp and longjmp intrinsic support update to add unit tests and remove accidentally checked-in code. 2016-06-15 16:08:13 +00:00
builtin-object-size.c Don't let EvaluationModes dictate whether an invalid base is OK 2017-02-10 22:52:29 +00:00
builtin-prefetch.c
builtin-stackaddress.c
builtin-unary-fp.c __builtin_fpclassify missing one int parameter 2016-10-14 20:43:37 +00:00
builtin_objc_msgSend.c
builtins-aarch64.c [ARM64] Add ARM64 RUN lines to a bunch of tests that had AARCH64 RUN lines. 2014-04-17 12:51:36 +00:00
builtins-arm-exclusive.c ARM: add support for v8 ldaex/stlex builtins. 2014-07-02 12:56:02 +00:00
builtins-arm-strex-rettype.c
builtins-arm.c [ARM] Add mrrc/mrrc2 intrinsics and update existing mcrr/mcrr2 intrinsics. 2016-06-17 00:59:41 +00:00
builtins-arm64-exclusive.c ARM: add support for v8 ldaex/stlex builtins. 2014-07-02 12:56:02 +00:00
builtins-arm64.c AArch64: Prefetch intrinsic 2014-08-13 19:18:20 +00:00
builtins-decl.c
builtins-gnu-mode.c Re-enable several builtins in non-gnu modes. 2014-04-16 08:06:33 +00:00
builtins-overflow.c Add support for __builtin_{add,sub,mul}_overflow. 2015-10-29 20:48:01 +00:00
builtins-ppc.c Remove the -faltivec alias option and replace it with -maltivec everywhere. 2017-03-21 22:06:18 +00:00
builtins-x86.c [Sema][X86] Update immediate check for gather/scatter prefetch instructions to match the _MM_HINT_T0/T1 constant definitions 2017-03-31 17:22:30 +00:00
builtins-x86_64.c Move x86-64 builtins from SemaChecking.cpp to BuiltinsX86_64.def 2016-10-12 17:28:44 +00:00
builtins.c Add __sync_fetch_and_nand (again) 2014-10-02 20:53:50 +00:00
builtins.cl [Sema] Handle errors during rewriteBuiltinFunctionDecl 2016-07-21 23:03:43 +00:00
c11-typedef-redef.c
c89.c Don't accept qualified 'int' main return types in C++ or standard C mode 2014-07-02 07:07:20 +00:00
call-with-static-chain.c Implement the __builtin_call_with_static_chain GNU extension. 2014-12-12 23:41:25 +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 [X86] Support for C calling convention only for MCU target. 2015-11-25 09:24:26 +00:00
callingconv-ms_abi.c
callingconv-sysv_abi.c
callingconv.c Remove support for pnaclcall attribute 2015-01-28 20:24:52 +00:00
captured-statements.c
cast-incomplete.c [Sema] Tweak incomplete enum types on MSVC ABI targets 2015-10-08 07:45:35 +00:00
cast-to-union.c
cast.c
check-increment.c
compare.c
complex-imag.c
complex-init-list.c
complex-int.c Catch more cases when diagnosing integer-constant-expression overflows. 2015-02-04 21:50:20 +00:00
complex-promotion.c
compound-literal.c A compound literal within a global lambda or block is still within 2016-10-31 21:56:26 +00:00
conditional-expr.c
conditional.c
const-eval-64.c
const-eval.c Improve fix for PR28739 2017-01-31 02:23:02 +00:00
const-ptr-int-ptr-cast.c
constant-builtins-2.c Handle __builtin_clzs and __builtin_ctzs in the constant expression evaluator. 2014-07-07 15:53:44 +00:00
constant-builtins.c
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 Improving the "integer constant too large" diagnostics based on post-commit feedback from Richard Smith. Amends r213657. 2014-07-24 14:51:23 +00:00
conversion-64-32.c
conversion.c Revert r205646 (keeping the test in its modified form) as 2014-04-07 16:32:54 +00:00
convertvector.c
crash-invalid-array.c
crash-invalid-builtin.c [Sema] Check if a builtin is FunctionPrototype(). 2015-04-25 20:20:04 +00:00
darwin-align-cast.c
darwin-tls.c ARM: allow __thread on OS versions that have the required runtime support. 2016-01-07 09:04:46 +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 Non-allocatable Global Named Register 2014-05-19 18:15:42 +00:00
decl-microsoft-call-conv.c Move the no-prototype calling conv check after decl merging 2014-11-03 21:56:03 +00:00
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 PR32280: Do not crash on nested initializers. 2017-04-14 08:48:08 +00:00
diagnose_if.c [Parse] Use normalized attr name for late-parsing checks. 2017-06-30 22:33:24 +00:00
dllexport.c Sema: support __declspec(dll*) on ObjC interfaces 2016-07-15 20:41:10 +00:00
dllimport.c [Attr] Make TargetWindows and TargetMicrosoftCXXABI match on aarch64 as well 2017-07-31 20:40:59 +00:00
empty1.c Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +00:00
empty2.c
enable_if-ext.c Sema: provide an extension warning for enable_if 2016-02-18 06:49:31 +00:00
enable_if.c Update the tests to match the typo fix done in r292015 2017-01-14 12:00:40 +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.c Update tests touched by r249656 2015-10-08 06:31:22 +00: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 Adding a -Wunused-value warning for expressions with side effects used in an unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case. 2014-12-17 21:57:17 +00:00
expr-comma.c Adding a -Wunused-value warning for expressions with side effects used in an unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case. 2014-12-17 21:57:17 +00:00
exprs.c Add support for GCC's '__auto_type' extension, per the GCC manual: 2015-11-11 02:02:15 +00:00
ext_vector_casts.c [Sema] Make extended vectors of `bool` an error. 2016-01-28 01:38:18 +00:00
ext_vector_comparisons.c
ext_vector_components.c Add .rgba syntax extension to ext_vector_type types 2016-07-22 18:49:43 +00:00
ext_vector_conversions.c Prevent implicit re-interpret casts between ExtVector and Scalar types. 2015-09-15 00:21:56 +00:00
ext_vector_ops.c Catch invalid bitwise operation on vector of floats 2017-06-08 05:25:19 +00:00
extern-redecl.c
flexible-array-init.c
float128-ld-incompatibility.cpp Enable support for __float128 in Clang and enable it on pertinent platforms 2016-05-09 08:52:33 +00:00
floating-point-compare.c
fn-ptr-as-fn-prototype.c Update a few more tests in response to the MS ABI enum semantics 2015-10-08 08:28:09 +00:00
for.c
format-string-percentm.c
format-strings-c90.c PR20356: Fix all Sema warnings with mismatched ext_/warn_ versus 2014-07-19 01:39:17 +00:00
format-strings-darwin.c PR20356: Fix all Sema warnings with mismatched ext_/warn_ versus 2014-07-19 01:39:17 +00:00
format-strings-enum-fixed-type.cpp Format strings: check against an enum's underlying type. 2014-05-31 04:12:14 +00:00
format-strings-enum.c [Sema] Don't crash on scanf on forward-declared enums. 2016-08-20 16:51:33 +00:00
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 Move the fixit for -Wformat-security to a note. 2016-03-15 20:56:38 +00:00
format-strings-freebsd.c Check 'r' and 'y specifiers of freebsd_kernel_printf format strings on PS4 2016-04-26 23:19:00 +00:00
format-strings-gnu.c Try to green test/Sema/format-strings.c on Win bots 2014-09-07 04:03:21 +00:00
format-strings-int-typedefs.c
format-strings-ms.c MS format strings: parse the 'Z' printf conversion specifier (PR20808) 2014-09-07 03:03:51 +00:00
format-strings-no-fixit.c Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
format-strings-non-iso.c PR20356: Fix all Sema warnings with mismatched ext_/warn_ versus 2014-07-19 01:39:17 +00:00
format-strings-scanf.c [clang] Fix handling of "%zd" in scanf 2017-07-20 20:11:47 +00:00
format-strings-size_t.c
format-strings.c Fix printf specifier handling: invalid specifier should not be marked as "consuming data arguments" 2016-12-15 18:54:00 +00:00
fp16-sema.c
fpack-struct.c
freemain.c
function-ptr.c
function-redecl.c Update a few more tests in response to the MS ABI enum semantics 2015-10-08 08:28:09 +00:00
function.c PR 20146 2015-01-28 14:48:39 +00:00
generic-selection.c Allow a C11 generic selection expression to select a function with the overloadable attribute as the result expression without crashing. This fixes PR30201. 2016-09-02 13:45:40 +00:00
gnu-attributes.c Uniformed parsing of GNU attributes at line beginnning and added GNU attributes parsing FIXMEs. 2014-08-16 08:29:27 +00:00
gnu-flags.c
gnu89.c
heinous-extensions-off.c
heinous-extensions-on.c
i-c-e.c Move a bunch of tests to directly use the CC1 layer. This at least saves 2014-01-15 09:08:07 +00:00
i386-linux-android.c Create android x86_32 and x86_64 target info 2015-03-25 10:38:50 +00:00
illegal-types.c
implicit-builtin-decl.c Consolidate header inclusion diagnostics 2014-07-11 20:53:51 +00:00
implicit-builtin-freestanding.c [Driver] Add support for -fno-builtin-foo options. 2016-01-06 14:35:46 +00:00
implicit-builtin-redecl.c
implicit-cast-dump.c Add the location of Decls to ast dump. 2014-04-02 05:48:29 +00:00
implicit-cast.c
implicit-decl-c90.c Place implictly declared functions at block scope 2017-08-10 15:43:06 +00:00
implicit-decl.c Place implictly declared functions at block scope 2017-08-10 15:43:06 +00:00
implicit-def.c
implicit-int.c
implicit-intel-builtin-decl.c Add some MS aliases for existing intrinsics 2016-09-14 21:19:43 +00:00
implicit-ms-builtin-decl.c Separate builtins for x84-64 and i386; implement __mulh and __umulh 2016-10-04 22:29:49 +00:00
incompatible-function-pointer-types.c [Sema] Create a separate group for incompatible function pointer warning 2016-07-18 20:37:06 +00:00
incompatible-sign.c
incomplete-call.c
incomplete-decl.c
indirect-goto.c
init-struct-qualified.c
init-vector.c
init.c
initialize-noreturn.c Fix crash on noreturn conversion in unprototyped function type. Thanks to Keith 2016-10-20 00:01:36 +00:00
inline-asm-validate-aarch64.c [inlineasm] Fix an incorrect warning about register constraint and modifier. 2015-02-04 00:27:13 +00:00
inline-asm-validate-amdgpu.cl AMDGPU: Add support for 's' and 'v' asm constraints 2015-11-19 22:11:58 +00:00
inline-asm-validate-tmpl.cpp Fixed 22941: Integer template parameter as immediate 'I' expectes an integer constant 2015-07-14 18:08:50 +00:00
inline-asm-validate-x86.c [X86, inlineasm] Improve analysis of x,Y0,Yi,Ym,Yt,L,e,Z,s asm constraints (patch by Alexey Frolov) 2015-07-20 12:08:00 +00:00
inline-asm-validate.c [AArch64, inline-asm] Improve diagnostic that is printed when the size of a 2014-08-22 06:05:21 +00:00
inline-redef.c
inline.c C does not have inline variables. 2016-07-14 22:22:58 +00:00
int-arith-convert.c
integer-overflow.c Revert r301742, which caused us to try to evaluate all full-expressions. 2017-06-26 23:19:32 +00:00
internal_linkage.c Implement __attribute__((internal_linkage)). 2015-11-10 21:28:44 +00:00
invalid-cast.cpp
invalid-decl.c Parameter/argument terminology fixes 2014-05-11 16:06:11 +00:00
invalid-init-diag.c
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 Add the Pure attribute to C99 builtin functions from ctype.h. This is a corrected version of r266199 with test case fixes. 2016-05-04 21:08:13 +00:00
libbuiltins-ctype-x86_64.c Add the Pure attribute to C99 builtin functions from ctype.h. This is a corrected version of r266199 with test case fixes. 2016-05-04 21:08:13 +00:00
lit.local.cfg Forbid driver use in Sema tests 2014-01-16 02:37:08 +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
member-reference.c Unify warnings/errors from "maybe you meant" to "did you mean". 2015-04-02 22:10:06 +00:00
memset-invalid-1.c
memset-invalid.c
merge-decls.c
mips-interrupt-attr.c [mips] Interrupt attribute support. 2015-11-27 18:03:44 +00:00
mips16_attr_allowed.c
mips16_attr_not_allowed.c
missing-field-initializers.c
mms-bitfields.c
mrtd.c [Sema] Emit a better diagnostic when variable redeclarations disagree 2015-07-14 20:08:49 +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
ms_bitfield_layout.c Fix the layout of bitfields in ms_struct unions: their 2015-08-19 22:42:36 +00:00
ms_class_layout.cpp Fix the layout of bitfields in ms_struct unions: their 2015-08-19 22:42:36 +00:00
ms_wide_predefined_expr.cpp
negative-shift-wrapv.c Left shifts of negative values are defined if -fwrapv is set 2016-08-16 09:45:36 +00:00
neon-vector-types-support.c
neon-vector-types.c ARM64: initial clang support commit. 2014-03-29 15:09:45 +00:00
nested-redef.c
no-documentation-warn-tagdecl-specifier.c
no-format-y2k-turnsoff-format.c
no-warn-unused-const-variables.c Sema: do not warn about unused const vars if main file is a header 2016-10-28 08:28:42 +00:00
non-null-warning.c Skip NonNull sema checks in unevaluated contexts. 2015-10-09 00:17:57 +00:00
nonnull.c Allow the nonnull attribute to be inherited as a parameter in the redefinition of a function. Fixes PR30828. 2017-03-12 22:30:07 +00:00
nowarn-documentation-property.m
nullability.c Accept nullability qualifiers on array parameters. 2016-11-10 23:28:17 +00:00
offsetof-64.c
offsetof.c
outof-range-constant-compare.c
overloadable-complex.c
overloadable.c [Sema] Allow unmarked overloadable functions. 2017-06-27 21:31:31 +00:00
overloaded-func-transparent-union.c
parentheses.c [Sema] Add -Wparentheses warnings for '^' in '|' expressions and '&' in '^' expressions to compliment '&' in '|' that is already present. Matches gcc behavior. 2015-12-13 05:41:41 +00:00
parentheses.cpp Fix warning text: lower -> higher 2014-10-28 04:37:34 +00:00
pass-object-size.c [Sema] Relax overloading restrictions in C. 2016-09-02 22:59:57 +00:00
pid_t.c
pointer-addition.c PR10405 - Desugar FunctionType and TemplateSpecializationType if any type that appears inside needs to be desugared. 2015-07-16 01:06:17 +00:00
pointer-conversion.c
pointer-subtract-compat.c
ppc-bool.c
pr9812.c Use Sema's PrintingPolicy when diagnosing DeclSpecs. 2015-03-12 14:28:38 +00:00
pr25786.c Fix assertion "Chunk.Kind == DeclaratorChunk::Function" with attributed type. 2016-02-10 11:23:48 +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 Introduce inline assembly parsing test is PR30372. 2016-09-16 17:42:02 +00:00
pragma-align-mac68k-unsupported.c
pragma-align-mac68k.c
pragma-align-packed.c
pragma-arc-cf-code-audited.c
pragma-attribute-strict-subjects.c Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
pragma-attribute.c Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
pragma-clang-section.c Add support for #pragma clang section 2017-06-05 10:11:57 +00:00
pragma-ms_struct.c __declspec is not a core Clang language extension. Instead, require -fms-extensions or -fborland to enable the language extension. 2015-05-26 19:44:52 +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 Forbid driver use in Sema tests 2014-01-16 02:37:08 +00:00
pragma-pack.c -Wpragma-pack: add an additional note and fixit when warning 2017-07-31 13:37:50 +00:00
pragma-section-invalid.c Add test intended for commit in r231317 2015-04-01 23:32:03 +00:00
pragma-section.c Fix parsing certain kinds of strings in the MS section pragmas 2014-07-18 00:13:16 +00:00
pragma-unused.c
pragma-weak.c Revert "Fix for merging decls in pragma weak Calling CheckFunctionDeclaration so that 2 decls for the 'weak' are merged. Differential Revision: http://reviews.llvm.org/D13048" 2015-12-03 11:37:28 +00:00
predef.c
predefined-function.c Keep invalid functions as part of the AST 2016-06-16 21:39:55 +00:00
preserve-call-conv.c Add attributes for preserve_mostcc/preserve_allcc calling conventions to the C/C++ front-end 2016-03-16 18:00:46 +00:00
private-extern.c Revert "Sema: An extern declaration can't be a redeclaration of a parameter" 2015-01-13 10:14:57 +00:00
rdr6094103-unordered-compare-promote.c
recover-goto.c
redefine_extname.c Tests for "Disabling of "redefine_extname" pragma for C++ code" 2015-07-17 04:21:51 +00:00
redefinition-same-header.c Make tests from r302765 windows friendly 2017-05-11 07:06:52 +00:00
redefinition.c
renderscript.rs Revise RenderScript attribute declaration 2016-06-10 21:51:18 +00:00
return-noreturn.c Turn off -Wmissing-noreturn warning for blocks 2014-04-03 23:06:35 +00:00
return-silent.c
return.c Fix recent regressions in -Wreturn-type caused by heuristics to -Wunreachable-code. 2014-03-07 07:14:36 +00:00
scope-check.c Reword switch/goto diagnostics "protected scope" diagnostics. Making up a term 2014-09-06 00:24:58 +00:00
self-comparison.c
sentinel-attribute.c -Wsentinel: Suggest nullptr in C++11 instead of NULL 2014-11-13 23:19:36 +00:00
shift.c Fix For pr28288 - Error message in shift of vector values 2016-08-12 11:22:12 +00:00
short-enums.c Update a few more tests in response to the MS ABI enum semantics 2015-10-08 08:28:09 +00:00
sign-conversion.c
sizeof-struct-non-zero-as-member.cl [AMDGPU] Do not require opencl triple environment for OpenCL 2017-05-23 16:15:53 +00:00
statements.c Put statement expression decls in the enclosing code DeclContext 2015-04-20 20:00:49 +00:00
static-array.c Fix representation of __attribute__((nonnull)) to support correctly modeling 2014-08-27 04:59:42 +00:00
static-assert.c
static-init.c PR16074, implement warnings to catch pointer to boolean true and pointer to 2014-02-26 02:36:06 +00:00
stdcall-fastcall-x64.c
stdcall-fastcall.c Add frontend support for __vectorcall 2014-10-24 17:42:17 +00:00
stmtexprs.c some StmtExprs do not have side-effects 2015-06-10 15:18:23 +00:00
string-init.c
string-plus-char.c Sema: Cleanup and improve string-plus-char checking. 2014-12-15 20:22:33 +00:00
struct-cast.c
struct-compat.c [Sema] Emit a better diagnostic when variable redeclarations disagree 2015-07-14 20:08:49 +00:00
struct-decl.c Create a redeclaration when an elaborated type specifier 2014-05-14 07:54:17 +00:00
struct-packed-align.c Restore previous structure ABI behavior for bit-fields with the packed attribute for PS4 targets. 2017-08-08 18:07:17 +00:00
surpress-deprecated.c
suspicious-pragma-pack.c Recommit r308327 3rd time: Add a warning for missing 2017-07-28 14:41:21 +00:00
switch-1.c Explicitly permit undefined behavior in constant initializers for global 2015-12-08 03:21:47 +00:00
switch.c [Sema] Assign new flag -Wenum-compare-switch to switch-related parts of -Wenum-compare 2017-08-09 20:56:43 +00:00
tentative-decls.c Sema: Static redeclaration after extern declarations is a Microsoft Extension 2014-06-18 23:26:25 +00:00
text-diag.c
thread-specifier.c [Tests] Modified Lit Tests to be C++11 compatibile 2015-08-27 18:49:15 +00:00
tls.c Remove Bitrig: Clang Changes 2017-07-21 22:46:31 +00:00
tls_alignment.cpp Add a "maximum TLS alignment" characteristic to the target info, so it 2015-07-14 20:52:32 +00:00
transparent-union-pointer.c
transparent-union.c Allow attributes before union definition 2017-02-28 20:44:39 +00:00
type-spec-struct-union.c
typecheck-binop.c
typedef-prototype.c
typedef-redef.c
typedef-retain.c Print detailed vector type information on diagnostics. 2014-04-25 20:41:38 +00:00
typedef-variable-type.c
typeof-use-deprecated.c Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
types.c [Sema] Emit a better diagnostic when variable redeclarations disagree 2015-07-14 20:08:49 +00:00
typo-correction.c [Sema] Fix typos handling in an overloadable call. 2017-05-08 16:05:54 +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
uninit-det-order.c
uninit-variables-vectors.c
uninit-variables.c
unnamed-bitfield-init.c
unused-expr-system-header.c
unused-expr.c Implement support for [[nodiscard]] in C++1z that is based off existing support for warn_unused_result, and treat it as an extension pre-C++1z. This also means extending the existing warn_unused_result attribute so that it can be placed on an enum as well as a class. 2016-03-07 22:44:55 +00:00
usual-float.c
va_arg_x86_32.c
va_arg_x86_64.c
var-redecl.c [Sema] Emit a better diagnostic when variable redeclarations disagree 2015-07-14 20:08:49 +00:00
varargs-aarch64.c [AArch64] Add support for __builtin_ms_va_list on aarch64 2017-07-17 20:49:45 +00:00
varargs-win64.c Support __builtin_ms_va_list. 2015-09-17 20:55:33 +00:00
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 Improve diagnostic checking for va_start to also warn on other instances of undefined behavior, such as a parameter declared with the register keyword in C, or a parameter of a type that undergoes default argument promotion. 2016-04-24 13:30:21 +00:00
varargs.c Simplify some va_start checking logic 2017-05-02 20:10:03 +00:00
varargs_unreachable.c
variadic-block.c
variadic-incomplete-arg-type.c
variadic-promotion.c Creating a printing policy for "half": 2014-03-18 17:55:18 +00:00
vecshift.c [Sema] Gcc compatibility of vector shift 2016-10-19 12:06:10 +00:00
vector-assign.c Print detailed vector type information on diagnostics. 2014-04-25 20:41:38 +00:00
vector-cast.c [Sema] Fix lax conversion between non ext vectors 2017-08-01 19:05:25 +00:00
vector-gcc-compat.c [Sema] Silence buildbot failures introduced by r302935 2017-05-12 19:55:32 +00:00
vector-gcc-compat.cpp [Sema] Silence buildbot failures introduced by r302935 2017-05-12 19:55:32 +00:00
vector-init.c Print detailed vector type information on diagnostics. 2014-04-25 20:41:38 +00:00
vector-ops.c [Sema] Support implicit scalar to vector conversions 2017-05-12 19:11:06 +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 [Sema] Correctly recurse when looking for [*] in function definitions 2015-04-07 22:08:51 +00:00
void_arg.c
warn-absolute-value-header.c Consolidate header inclusion diagnostics 2014-07-11 20:53:51 +00:00
warn-absolute-value.c [Sema] Don't crash trying to diagnose abs called on a pointer type 2015-11-15 03:04:34 +00:00
warn-bad-function-cast.c
warn-bitwise-compare.c Add a check for tautological bitwise comparisons to -Wtautological-compare. 2014-05-20 17:31:11 +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 [clang] Implement -Wcast-qual for C++ 2017-07-03 17:59:22 +00:00
warn-char-subscripts.c
warn-documentation-almost-trailing.c Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
warn-documentation-crlf.c Fix several accidental DOS line endings in source files 2016-01-03 15:55:40 +00:00
warn-documentation-fixits.cpp Comment parsing: move a diagnostic to the correct group. 2015-03-17 18:03:42 +00:00
warn-documentation-unknown-command.cpp Fix 'unknown documentation command' warning ranges 2016-10-25 10:06:11 +00:00
warn-documentation.cpp fix trivial typos in comments; NFC 2017-07-02 06:12:49 +00:00
warn-documentation.m -Wdocumentation should not check the @returns command for Objective-C 2017-04-26 13:09:28 +00:00
warn-double-promotion.c Improve test coverage of -Wdouble-promotion 2016-04-29 17:44:29 +00:00
warn-duplicate-enum.c
warn-extern-main.c [Sema] main can't be declared as global variable, in C++. 2015-08-14 14:13:29 +00:00
warn-freestanding-complex.c
warn-gnu-designators.c
warn-logical-not-compare.c Fix -Wlogical-not-parentheses to work better with C code. 2015-08-19 21:33:54 +00:00
warn-main-return-type.c Make FunctionDecl::getReturnTypeSourceRange() support non-builtin types 2014-07-02 12:55:58 +00:00
warn-main-returns-bool-literal.cpp Add a warning for 'main' returning 'true' or 'false'. 2016-11-29 01:35:17 +00:00
warn-main.c Diagnose variadic main() as an extension; addresses PR17905. 2015-04-23 16:12:42 +00:00
warn-missing-braces.c
warn-missing-prototypes.c
warn-missing-variable-declarations.c Forbid driver use in Sema tests 2014-01-16 02:37:08 +00:00
warn-null.c [Sema] Revert the change in r200622 that allowed integer casts to silence -Wnon-literal-null-conversion in C code. 2014-02-11 17:53:22 +00:00
warn-outof-range-assign-enum.c
warn-overlap.c Extend -Wtautological-overlap-compare to more cases. 2017-01-04 00:46:30 +00:00
warn-self-assign-field.mm
warn-shadow-intrinsics.c
warn-shadow.c
warn-shift-negative.c Fix -Wshift-count-negative. It didn't work if the right hand side 2015-03-26 21:37:49 +00:00
warn-sizeof-array-decay.c
warn-sizeof-arrayarg.c Make a test a bit shorter. No behavior change. 2015-09-24 01:34:27 +00:00
warn-strict-prototypes.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
warn-strict-prototypes.m [Sema] Improve -Wstrict-prototypes diagnostic message for blocks. 2017-06-02 01:07:08 +00:00
warn-string-conversion.c Check for bool-like conversion in conditional expressions. 2015-05-20 23:29:18 +00:00
warn-strlcpycat-size.c
warn-strncat-size.c Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
warn-tautological-compare.c Check for bool-like conversion in conditional expressions. 2015-05-20 23:29:18 +00:00
warn-thread-safety-analysis.c [Parse] Don't ignore attributes after a late-parsed attr. 2017-01-04 22:43:01 +00:00
warn-type-safety-mpi-hdf5.c
warn-type-safety.c
warn-type-safety.cpp
warn-unreachable-ms.c Implement CFG construction for __try / __except / __leave. 2017-08-23 15:33:16 +00:00
warn-unreachable.c Fix PR13910: Don't warn that __builtin_unreachable() is unreachable 2017-04-11 15:36:06 +00:00
warn-unsequenced.c Teach EvaluatedExprVisitor that the condition and unselected branches of a 2014-12-03 21:00:20 +00:00
warn-unused-function.c Add -Winfinite-recursion to -Wmost (and -Wall), PR23789. 2015-06-18 21:09:24 +00:00
warn-unused-label.c
warn-unused-parameters.c
warn-unused-value.c Adding a -Wunused-value warning for expressions with side effects used in an unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case. 2014-12-17 21:57:17 +00:00
warn-unused-variables-werror.c
warn-unused-variables.c
warn-variable-not-needed.c
warn-vla.c
warn-write-strings.c
wchar.c [PS4] Change the names of some "environmental" things to what our 2016-05-16 17:22:25 +00:00
weak-import-on-enum.c
x86-attr-force-align-arg-pointer.c
x86-builtin-palignr.c Make the byte-shift SSE intrinsics emit vector shuffles which we know the backend can handle. 2015-02-07 01:37:09 +00:00
x86_64-linux-android.c Revert "Revert r241620 and follow-up commits" and move the initialization 2015-07-08 01:00:30 +00:00
xray-always-instrument-attr.c Add XRay flags to Clang. We implement two flags to control the XRay behaviour: 2016-07-13 22:32:15 +00:00
xray-always-instrument-attr.cpp Add XRay flags to Clang. We implement two flags to control the XRay behaviour: 2016-07-13 22:32:15 +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 [XRay] [clang] Allow logging the first argument of a function call. 2017-03-06 07:08:21 +00:00
xray-log-args-oob.cpp [XRay] [clang] Allow logging the first argument of a function call. 2017-03-06 07:08:21 +00:00
zvector.c [Sema] Support implicit scalar to vector conversions 2017-05-12 19:11:06 +00:00
zvector2.c [SystemZ] Add support for IBM z14 processor (2/3) 2017-07-17 17:46:47 +00:00