hanchenye-llvm-project/clang/test/SemaCXX
Akira Hatanaka 71645c2feb [Sema] Produce diagnostics when C++17 aligned allocation/deallocation
functions that are unavailable on Darwin are explicitly called or called
from deleting destructors.

rdar://problem/40736230

Differential Revision: https://reviews.llvm.org/D47757

llvm-svn: 349890
2018-12-21 07:05:36 +00:00
..
Inputs
2008-01-11-BadWarning.cpp
MicrosoftCompatibility.cpp [ms] Prevent explicit constructor name lookup if scope is missing 2018-10-25 11:45:32 +00:00
MicrosoftCompatibilityNoExceptions.cpp
MicrosoftExtensions.cpp
MicrosoftSuper.cpp
P30636.cpp
PR5086-ambig-resolution-enum.cpp
PR6562.cpp
PR6618.cpp
PR7410.cpp
PR7944.cpp
PR8012.cpp
PR8385.cpp
PR8755.cpp
PR8884.cpp
PR9459.cpp
PR9460.cpp
PR9461.cpp
PR9572.cpp
PR9884.cpp
PR9902.cpp
PR9908.cpp
PR10177.cpp
PR10243.cpp
PR10447.cpp
PR10458.cpp
PR11358.cpp
PR12481.cpp
PR12778.cpp
PR16677.cpp
PR19955.cpp
PR20110.cpp
PR20334-std_initializer_list_diagnosis_assertion.cpp
PR20705.cpp
PR21679.cpp
PR22637.cpp
PR23334.cpp
PR25848.cpp
PR27037.cpp
PR29152.cpp
PR35832.cpp
PR38235.cpp Update to -r337585, allow scoped enum inits in -pedantic 2018-07-23 21:08:13 +00:00
PR38913.cpp [clang] Make sure attributes on member classes are applied properly 2018-09-14 14:07:16 +00:00
__null.cpp
__try.cpp
abstract.cpp
access-base-class.cpp
access-control-check.cpp
access-member-pointer.cpp
access.cpp [Sema] When the address of a member function is used as a template 2018-06-13 05:26:23 +00:00
accessible-base.cpp
addr-of-overloaded-function-casting.cpp
addr-of-overloaded-function.cpp
address-of-temporary.cpp Warn if a local variable's initializer retains a pointer/reference to a 2018-07-24 00:55:08 +00:00
address-of.cpp
address-packed-member-memops.cpp
address-packed.cpp
address-space-conversion.cpp
address-space-initialize.cpp
address-space-newdelete.cpp
address-space-references.cpp [Sema] Updated note for address spaces to print the type. 2018-06-22 15:45:08 +00:00
aggregate-init-cxx98.cpp
aggregate-initialization.cpp [Sema] Check that the destructor for each element of class type is 2018-09-07 02:38:01 +00:00
alias-template.cpp [Sema] Make sure we substitute an instantiation-dependent default template argument 2018-11-12 21:31:06 +00:00
align-x86-abi7.cpp PR26547: alignof should return ABI alignment, not preferred alignment 2018-10-26 19:26:45 +00:00
align-x86.cpp PR26547: alignof should return ABI alignment, not preferred alignment 2018-10-26 19:26:45 +00:00
align_value.cpp
alignment-of-derived-class.cpp
alignof-sizeof-reference.cpp
alignof.cpp [AST] Get aliased type info from an aliased TemplateSpecialization. 2018-11-05 17:25:26 +00:00
alloc-align-attr.cpp
altivec.cpp
ambig-user-defined-conversions.cpp
ambiguous-builtin-unary-operator.cpp
ambiguous-conversion-show-overload.cpp
amdgpu-sizeof-alignof.cpp
anonymous-struct.cpp
anonymous-union-cxx11.cpp
anonymous-union-export.cpp Change test to output 'pcm' to the temp dir, not the source dir 2018-06-06 08:50:12 +00:00
anonymous-union.cpp [Sema] Fix parsing of anonymous union in language linkage specification 2018-06-06 05:16:34 +00:00
array-bound-merge.cpp
array-bounds-ptr-arith.cpp
array-bounds-system-header.cpp
array-bounds.cpp [Sema] Don't try to account for the size of an incomplete type in CheckArrayAccess 2018-12-20 20:05:11 +00:00
arrow-operator.cpp
ast-print-crash.cpp Revert "Add extension to always default-initialize nullptr_t." 2018-12-14 22:41:18 +00:00
ast-print.cpp
atomic-ops.cpp
atomic-type.cpp
attr-abi-tag-syntax.cpp
attr-after-definition.cpp
attr-aligned.cpp
attr-cleanup-gcc.cpp
attr-cleanup.cpp
attr-common.cpp
attr-cpuspecific.cpp Prevent cpu-specific/cpu-dispatch from giong on a lambda. 2018-09-10 14:31:56 +00:00
attr-cxx-disabled.cpp
attr-cxx0x-fixit.cpp
attr-cxx0x.cpp
attr-declspec-ignored.cpp
attr-deprecated-replacement-error.cpp
attr-deprecated-replacement-fixit.cpp
attr-deprecated.cpp
attr-disable-tail-calls.cpp
attr-exclude_from_explicit_instantiation.diagnose_on_undefined_entity.cpp [clang] Add the exclude_from_explicit_instantiation attribute 2018-10-04 15:49:42 +00:00
attr-exclude_from_explicit_instantiation.explicit_instantiation.cpp [clang] Add the exclude_from_explicit_instantiation attribute 2018-10-04 15:49:42 +00:00
attr-exclude_from_explicit_instantiation.extern_declaration.cpp [clang] Add the exclude_from_explicit_instantiation attribute 2018-10-04 15:49:42 +00:00
attr-exclude_from_explicit_instantiation.merge_redeclarations.cpp [clang] Add the exclude_from_explicit_instantiation attribute 2018-10-04 15:49:42 +00:00
attr-flatten.cpp
attr-format.cpp
attr-gnu.cpp Support accepting __gnu__ as a scoped attribute namespace that aliases to gnu. 2018-10-24 12:26:23 +00:00
attr-lifetimebound.cpp Avoid exposing name for range-based for '__range' variables in lifetime warnings. 2018-08-01 01:03:33 +00:00
attr-lto-visibility-public.cpp
attr-mode-tmpl.cpp
attr-no-sanitize-address.cpp
attr-no-sanitize-memory.cpp
attr-no-sanitize-thread.cpp
attr-no-sanitize.cpp
attr-no-split-stack.cpp
attr-nodebug.cpp
attr-non-x86-no_caller_saved_registers.cpp
attr-nonnull.cpp
attr-noreturn.cpp
attr-notail.cpp
attr-on-explicit-template-instantiation.cpp [clang] Fix failing attribute test on Windows 2018-10-10 17:37:37 +00:00
attr-optnone.cpp Allow a double-underscore spelling of Clang attributes using double square bracket syntax. 2018-11-09 19:37:18 +00:00
attr-print.cpp Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
attr-regparm.cpp
attr-reinitializes.cpp Summary:Add clang::reinitializes attribute 2018-08-13 14:11:03 +00:00
attr-require-constant-initialization.cpp
attr-section.cpp
attr-selectany.cpp
attr-sentinel.cpp
attr-speculative-load-hardening.cpp [clang][slh] add attribute for speculative load hardening 2018-11-27 19:56:46 +00:00
attr-swiftcall.cpp Revert "Append new attributes to the end of an AttributeList." 2018-06-25 20:06:13 +00:00
attr-target-mv.cpp
attr-unavailable.cpp
attr-unused.cpp
attr-used.cpp
attr-visibility.cpp
attr-weak.cpp
attr-weakref.cpp
attr-x86-interrupt.cpp
attr-x86-no_caller_saved_registers.cpp
attributed-auto-deduction.cpp
auto-cxx0x.cpp
auto-cxx98.cpp
auto-subst-failure.cpp
auto-type-from-cxx.cpp
base-class-ambiguity-check.cpp
bitfield-layout.cpp
bitfield.cpp
block-call.cpp
blocks-1.cpp
blocks.cpp
bool-compare.cpp
bool.cpp
borland-extensions.cpp
builtin-assume-aligned-tmpl.cpp
builtin-assume-aligned.cpp
builtin-classify-type.cpp
builtin-exception-spec.cpp
builtin-object-size-cxx14.cpp
builtin-operator-new-delete.cpp
builtin-ptrtomember-ambig.cpp
builtin-ptrtomember-overload-1.cpp
builtin-ptrtomember-overload.cpp
builtin_objc_msgSend.cpp
builtins-arm.cpp
builtins-overflow.cpp Simplify test from r334650 2018-06-13 20:47:12 +00:00
builtins-va_arg.cpp
builtins.cpp [Clang] Add __builtin_launder 2018-12-14 21:11:28 +00:00
c99-variable-length-array-cxx11.cpp
c99-variable-length-array.cpp
c99.cpp
call-with-static-chain.cpp
calling-conv-compat.cpp Model type attributes as regular Attrs. 2018-08-20 21:47:29 +00:00
captured-statements.cpp
cast-conversion.cpp
cast-explicit-ctor.cpp
cast-lvalue-to-rvalue-reference.cpp
cdtor-fn-try-block.cpp
char8_t.cpp [c++20] Implement P0482R6: enable -fchar8_t by default in C++20 mode. 2018-11-14 21:04:34 +00:00
class-base-member-init.cpp
class-layout.cpp
class-names.cpp
class.cpp
co_await-range-for.cpp
code-seg.cpp Add support for __declspec(code_seg("segname")) 2018-07-18 20:04:48 +00:00
code-seg1.cpp Add support for __declspec(code_seg("segname")) 2018-07-18 20:04:48 +00:00
comma.cpp
compare-cxx2a.cpp
compare.cpp
complete-member-pointers.cpp Sema: Add a flag for rejecting member pointers with incomplete base types. 2018-05-30 03:40:04 +00:00
complex-conversion.cpp
complex-folding.cpp
complex-init-list.cpp
complex-overload.cpp
composite-pointer-type.cpp
compound-literal.cpp Revert "Revert r347417 "Re-Reinstate 347294 with a fix for the failures."" 2018-11-30 23:41:18 +00:00
condition.cpp
conditional-expr.cpp Support lifetime-extension of conditional temporaries. 2018-07-23 22:56:45 +00:00
const-cast.cpp DR330: look through array types when forming the cv-decomposition of a type. 2018-07-11 00:19:19 +00:00
constant-conversion.cpp
constant-expression-cxx1y.cpp [ExprConstant] Handle compound assignment when LHS has integral type and RHS has floating point type 2018-12-18 07:38:06 +00:00
constant-expression-cxx1z.cpp [Sema] Discarded statment should be an evaluatable context. 2018-07-03 22:15:36 +00:00
constant-expression-cxx2a.cpp [cxx2a] P0614R1: Support init-statements in range-based for loops. 2018-09-28 18:44:09 +00:00
constant-expression-cxx11.cpp Fix crash on call to __builtin_memcpy with a null pointer to an 2018-09-13 22:47:33 +00:00
constant-expression.cpp
constexpr-ackermann.cpp
constexpr-array-unknown-bound.cpp
constexpr-backtrace-limit.cpp
constexpr-default-arg.cpp Fold -Wreturn-stack-address into general initialization lifetime 2018-07-23 21:21:22 +00:00
constexpr-depth.cpp
constexpr-duffs-device.cpp
constexpr-factorial.cpp
constexpr-many-arguments.cpp
constexpr-nqueens.cpp
constexpr-printing.cpp
constexpr-steps.cpp
constexpr-string.cpp [ExprConstant] Improve memchr/memcmp for type mismatch and multibyte element types 2018-12-12 16:53:43 +00:00
constexpr-turing.cpp
constexpr-value-init.cpp
constructor-initializer.cpp
constructor-recovery.cpp
constructor.cpp PR38286: Don't crash when attempting to define a constructor for an 2018-08-08 00:42:42 +00:00
conversion-delete-expr.cpp
conversion-function.cpp
conversion-incomplete-type.cpp
conversion.cpp
convert-to-bool.cpp
converting-constructor.cpp
copy-assignment.cpp
copy-constructor-error.cpp
copy-initialization.cpp
coreturn-eh.cpp [coroutines] Fix fallthrough warning on try/catch 2018-11-03 22:35:17 +00:00
coreturn.cpp
coroutine-rvo.cpp [coro]Pass rvalue reference for named local variable to return_value 2018-10-08 03:08:39 +00:00
coroutine-seh.cpp
coroutine-traits-undefined-template.cpp [SemaCXX] Remove comment from coroutines test, NFC 2018-07-11 01:00:53 +00:00
coroutine-unhandled_exception-warning.cpp
coroutine-uninitialized-warning-crash.cpp
coroutines.cpp [Sema] isValidCoroutineContext FIXME and citations 2018-06-23 18:01:02 +00:00
crash-lambda-12645424.cpp
crashes.cpp
cstyle-cast.cpp
cv-unqual-rvalues.cpp
cxx-altivec.cpp
cxx-deprecated.cpp Add regression test for PR37935. 2018-06-27 12:05:06 +00:00
cxx-member-pointer-op.cpp
cxx0x-class.cpp
cxx0x-constexpr-const.cpp
cxx0x-cursory-default-delete.cpp
cxx0x-defaulted-functions.cpp PR38627: Fix handling of exception specification adjustment for 2018-09-05 22:30:37 +00:00
cxx0x-delegating-ctors.cpp
cxx0x-deleted-default-ctor.cpp [cxx2a] P0641R2: (Some) type mismatches on defaulted functions only 2018-09-28 01:16:43 +00:00
cxx0x-initializer-aggregates.cpp
cxx0x-initializer-constructor.cpp
cxx0x-initializer-references.cpp
cxx0x-initializer-scalars.cpp Make the "too many braces in scalar initialization" extension cause 2018-12-20 20:58:53 +00:00
cxx0x-initializer-stdinitializerlist.cpp Fold -Wreturn-stack-address into general initialization lifetime 2018-07-23 21:21:22 +00:00
cxx0x-noexcept-expression.cpp
cxx0x-nontrivial-union.cpp
cxx0x-return-init-list.cpp
cxx0x-type-convert-construct.cpp
cxx1y-constexpr-not-const.cpp
cxx1y-contextual-conversion-tweaks.cpp
cxx1y-deduced-return-type.cpp PR33222: Require the declared return type not the actual return type to 2018-09-10 06:35:32 +00:00
cxx1y-generic-lambdas-capturing.cpp
cxx1y-generic-lambdas-variadics.cpp
cxx1y-generic-lambdas.cpp
cxx1y-init-captures.cpp PR24164, PR39336: init-captures are not distinct full-expressions. 2018-10-19 19:01:34 +00:00
cxx1y-initializer-aggregates.cpp
cxx1y-sized-deallocation.cpp
cxx1y-user-defined-literals.cpp
cxx1y-variable-templates_in_class.cpp
cxx1y-variable-templates_top_level.cpp
cxx1z-class-template-argument-deduction.cpp Handle dependent class template names in class template argument 2018-09-28 03:18:53 +00:00
cxx1z-constexpr-lambdas.cpp
cxx1z-copy-omission.cpp
cxx1z-decomposition.cpp
cxx1z-init-statement-template.cpp
cxx1z-init-statement-warn-unused.cpp
cxx1z-init-statement.cpp
cxx1z-lambda-star-this.cpp
cxx1z-noexcept-function-type.cpp PR38141: check whether noexcept-specifications are equivalent in redeclarations 2018-07-12 21:11:25 +00:00
cxx1z-user-defined-literals.cpp
cxx2a-compat.cpp [c++20] Implement P0482R6: enable -fchar8_t by default in C++20 mode. 2018-11-14 21:04:34 +00:00
cxx2a-destroying-delete.cpp
cxx2a-initializer-aggregates.cpp P1008R1 Classes with user-declared constructors are never aggregates in 2018-09-26 19:00:16 +00:00
cxx2a-lambda-default-ctor-assign.cpp [cxx2a] P0624R2: Lambdas with no capture-default are 2018-09-27 22:47:04 +00:00
cxx2a-lambda-equals-this.cpp P0806R2 Implicit capture of this with a capture-default of [=] is 2018-07-07 05:58:48 +00:00
cxx2a-pointer-to-const-ref-member.cpp Fix PR34668 - P0704R1 implementation is too permissive 2018-07-13 16:27:45 +00:00
cxx2a-three-way-comparison.cpp
cxx2a-user-defined-literals.cpp Enable C++2a Chrono Literals 2018-07-19 13:36:57 +00:00
cxx11-ast-print.cpp
cxx11-attr-print.cpp
cxx11-call-to-deleted-constructor.cpp
cxx11-compat.cpp Add missing -Wc++11-compat / -Wc++14-compat warnings for: 2018-08-30 19:16:35 +00:00
cxx11-crashes.cpp
cxx11-default-member-initializers.cpp
cxx11-gnu-attrs.cpp
cxx11-inheriting-ctors.cpp
cxx11-thread-local-print.cpp
cxx11-thread-local.cpp
cxx11-thread-unsupported.cpp
cxx11-unused.cpp
cxx11-user-defined-literals-unused.cpp
cxx11-user-defined-literals.cpp
cxx14-compat.cpp Enhance -Wc++14-compat for class template argument deduction to list the 2018-09-10 20:31:03 +00:00
cxx17-compat.cpp [cxx2a] P0614R1: Support init-statements in range-based for loops. 2018-09-28 18:44:09 +00:00
cxx98-compat-flags.cpp
cxx98-compat-pedantic.cpp
cxx98-compat.cpp Add missing -Wc++11-compat / -Wc++14-compat warnings for: 2018-08-30 19:16:35 +00:00
dcl_ambig_res.cpp
dcl_init_aggr.cpp
decl-expr-ambiguity.cpp
decl-init-ref.cpp
decl-microsoft-call-conv.cpp Revert "Append new attributes to the end of an AttributeList." 2018-06-25 20:06:13 +00:00
declspec-thread.cpp
decltype-98.cpp
decltype-crash.cpp
decltype-overloaded-functions.cpp
decltype-pr4444.cpp
decltype-pr4448.cpp
decltype-this.cpp
decltype.cpp
decomposed-condition.cpp
default-arg-closures.cpp
default-argument-temporaries.cpp
default-assignment-operator.cpp
default-constructor-initializers.cpp
default1.cpp
default2.cpp
defaulted-ctor-loop.cpp
defaulted-private-dtor.cpp
delete-and-function-templates.cpp
delete-mismatch.h
delete.cpp
deleted-function-access.cpp
deleted-function.cpp
deleted-operator.cpp
dependent-auto.cpp
dependent-noexcept-unevaluated.cpp
dependent-types.cpp
deprecated.cpp
derived-to-base-ambig.cpp
designated-initializers-base-class.cpp
designated-initializers.cpp
destructor.cpp
devirtualize-vtable-marking.cpp
diagnose_if-ext.cpp
diagnose_if.cpp
diagnostic-order.cpp
direct-initializer.cpp
discrim-union.cpp
dllexport-pr22591.cpp
dllexport.cpp
dllimport-constexpr.cpp
dllimport-memptr.cpp
dllimport.cpp
do-while-scope.cpp
dr1301.cpp [cxx2a] P0641R2: (Some) type mismatches on defaulted functions only 2018-09-28 01:16:43 +00:00
dynamic-cast.cpp
elaborated-type-specifier.cpp
empty-class-layout.cpp
enable_if.cpp Emit diagnostic note when calling an invalid function declaration. 2018-10-05 17:49:48 +00:00
enum-attr.cpp
enum-bitfield.cpp
enum-increment.cpp
enum-scoped.cpp
enum-unscoped-nonexistent.cpp
enum.cpp [Test] Fix test file for C++98 mode 2018-10-18 21:26:01 +00:00
err_init_conversion_failed.cpp
err_reference_bind_drops_quals.cpp
err_typecheck_assign_const.cpp
err_typecheck_assign_const_filecheck.cpp
eval-crashes.cpp Fold -Wreturn-stack-address into general initialization lifetime 2018-07-23 21:21:22 +00:00
eval-sizeof-dependent-type.cpp
exception-spec-no-exceptions.cpp
exception-spec.cpp PR38627: Fix handling of exception specification adjustment for 2018-09-05 22:30:37 +00:00
exceptions-seh.cpp
exceptions.cpp
explicit.cpp
expression-traits.cpp
expressions.cpp
extern-c.cpp
extra-semi.cpp
flexible-array-test.cpp
fntype-decl.cpp
for-range-dereference.cpp P0962R1: only use the member form of 'begin' and 'end' in a range-based 2018-09-24 23:17:44 +00:00
for-range-examples.cpp
for-range-no-std.cpp
for-range-unused.cpp
format-strings-0x-nopedantic.cpp
format-strings-0x.cpp
format-strings.cpp
friend-class-nodecl.cpp
friend-out-of-line.cpp
friend-template-redecl.cpp Diagnose friend function template redefinitions. 2018-12-06 09:35:04 +00:00
friend.cpp Part of PR33222: defer enforcing return type mismatch for dependent 2018-09-10 05:32:13 +00:00
friend2.cpp Diagnose friend function template redefinitions. 2018-12-06 09:35:04 +00:00
friend3.cpp
funcdname.cpp
function-extern-c.cpp
function-overload-typo-crash.cpp
function-overloaded-redecl.cpp
function-pointer-arguments.cpp
function-redecl-2.cpp
function-redecl.cpp
function-type-qual.cpp
functional-cast.cpp
generalized-deprecated.cpp
generic-selection.cpp
gnu-case-ranges.cpp
gnu-flags.cpp
goto.cpp
goto2.cpp
has_unique_object_reps_member_ptr.cpp
i-c-e-cxx.cpp Refactor checking of switch conditions and case values. 2018-07-26 18:41:30 +00:00
illegal-member-initialization.cpp
imaginary-constants.cpp
implicit-exception-spec.cpp PR38627: Fix handling of exception specification adjustment for 2018-09-05 22:30:37 +00:00
implicit-int.cpp
implicit-member-functions.cpp
implicit-virtual-member-functions.cpp
incomplete-call.cpp
increment-decrement.cpp
indirect-goto.cpp
inherit.cpp
init-expr-crash.cpp
init-priority-attr.cpp
injected-class-name-crash.cpp [Sema] Fix crash in getConstructorName. 2018-07-04 08:50:12 +00:00
inline.cpp
instantiate-blocks.cpp [Sema] Fix crash on BlockExprs in a default member initializers 2018-07-23 22:47:37 +00:00
instantiate-template-fatal-error.cpp
integer-overflow.cpp
internal_linkage.cpp
invalid-instantiated-field-decl.cpp
invalid-member-expr.cpp
invalid-template-params.cpp
invalid-template-specifier.cpp
issue547.cpp
lambda-expressions.cpp
lambda-invalid-capture.cpp Mark lambda decl as invalid if a captured variable has an invalid type. 2018-11-21 17:49:37 +00:00
large-array-init.cpp
libstdcxx_atomic_ns_hack.cpp
libstdcxx_common_type_hack.cpp
libstdcxx_explicit_init_list_hack.cpp
libstdcxx_gets_hack.cpp
libstdcxx_is_pod_hack.cpp
libstdcxx_libcxx_less_hack.cpp
libstdcxx_map_base_hack.cpp
libstdcxx_pair_swap_hack.cpp
libstdcxx_pointer_return_false_hack.cpp
linkage-invalid-decl.cpp
linkage-spec.cpp
linkage.cpp
linkage2.cpp
literal-operators.cpp
literal-type.cpp
local-classes.cpp
long-virtual-inheritance-chain.cpp
lookup-member.cpp
make_integer_seq.cpp
many-template-parameter-lists.cpp
member-class-11.cpp
member-expr-anonymous-union.cpp
member-expr-static.cpp
member-expr.cpp
member-init.cpp PR38627: Fix handling of exception specification adjustment for 2018-09-05 22:30:37 +00:00
member-location.cpp
member-name-lookup.cpp
member-operator-expr.cpp
member-pointer-ms.cpp
member-pointer-size.cpp
member-pointer.cpp
member-pointers-2.cpp
microsoft-cxx0x.cpp
microsoft-dtor-lookup-cxx11.cpp [cxx2a] P0641R2: (Some) type mismatches on defaulted functions only 2018-09-28 01:16:43 +00:00
microsoft-dtor-lookup.cpp
microsoft-new-delete.cpp
microsoft-super.cpp
microsoft-varargs-diagnostics.cpp
microsoft-varargs.cpp [Sema] Handle __va_start for Windows/ARM64 in the same way as for ARM 2018-09-27 08:24:15 +00:00
microsoft-vs-float128.cpp
missing-header.cpp
missing-members.cpp
missing-namespace-qualifier-typo-corrections.cpp
modules-ts.cppm
ms-const-member-expr.cpp
ms-empty_bases.cpp
ms-exception-spec.cpp
ms-friend-lookup.cpp
ms-initlist-narrowing.cpp clang-cl: Emit narrowing diag for initializer lists if -fmsc-version is at least 1900 (i.e. MSVC2015). 2018-06-19 23:19:34 +00:00
ms-inline-asm.cpp
ms-interface.cpp
ms-iunknown-inline-def.cpp
ms-iunknown-outofline-def.cpp
ms-iunknown-template-function.cpp
ms-iunknown.cpp
ms-layout_version.cpp
ms-novtable.cpp
ms-overload-entry-point.cpp
ms-property-error.cpp
ms-property.cpp
ms-unsupported.cpp
ms-uuid.cpp Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
ms-wchar.cpp
ms_integer_suffix.cpp
ms_mutable_reference_member.cpp
ms_struct.cpp
ms_wide_bitfield.cpp
namespace-alias.cpp
namespace.cpp
neon-vector-types.cpp [x86] Teach the builtin argument range check to allow invalid ranges in 2018-06-21 23:46:09 +00:00
nested-name-spec-locations.cpp
nested-name-spec.cpp
new-array-size-conv.cpp
new-delete-0x.cpp
new-delete-cxx0x.cpp
new-delete-predefined-decl-2.cpp
new-delete-predefined-decl.cpp
new-delete.cpp
new-null.cpp
no-exceptions.cpp
no-implicit-builtin-decls.cpp
no-rtti.cpp Change the wording of RTTI errors to make them more generic. 2018-06-07 00:42:59 +00:00
no-warn-composite-pointer-type.cpp
no-warn-unused-const-variables.cpp
no-warn-user-defined-literals-in-system-headers.cpp
no-warn-user-defined-literals-in-system-headers.h
no-wchar.cpp
no_destroy.cpp Address Aaron Ballman's post-commit review comments from r340306, NFC 2018-08-21 17:50:10 +00:00
non-empty-class-size-zero.cpp
nonnull.cpp
nothrow-as-noexcept-ctor.cpp
ns_returns_retained_block_return.cpp
null-cast.cpp
null_in_arithmetic_ops.cpp
nullability-declspec.cpp
nullability.cpp
nullptr-98.cpp
nullptr-arithmetic.cpp
nullptr.cpp
nullptr_in_arithmetic_ops.cpp
offsetof-0x.cpp
offsetof.cpp
old-style-cast.cpp
openmp_default_simd_align.cpp
operator-arrow-depth.cpp
operator-arrow-temporary.cpp
out-of-line-def-mismatch.cpp
overload-0x.cpp
overload-call-copycon.cpp
overload-call.cpp Fix overload resolution between Ptr-To-Member and Bool 2018-06-12 13:59:32 +00:00
overload-decl.cpp
overload-member-call.cpp
overload-value-dep-arg.cpp
overloaded-builtin-operators-0x.cpp
overloaded-builtin-operators-cxx17.cpp
overloaded-builtin-operators.cpp
overloaded-name.cpp Check returned type is valid before using it. 2018-07-07 00:17:25 +00:00
overloaded-operator-decl.cpp
overloaded-operator.cpp
override-in-system-header.cpp
parentheses.cpp
pascal-strings.cpp
pass-object-size.cpp
pr9812.cpp
pr13353.cpp
pr13394-crash-on-invalid.cpp
pr18284-crash-on-invalid.cpp
pr25181-crash-on-invalid.cpp
pr27047-default-init-expr-name-conflict.cpp
pr28050.cpp
pr36536.cpp
pragma-init_seg.cpp
pragma-optimize.cpp [FileCheck] Add -allow-deprecated-dag-overlap to failing clang tests 2018-07-11 20:26:20 +00:00
pragma-pack.cpp
pragma-unused.cpp
pragma-visibility.cpp
pragma-vtordisp.cpp
pragma-weak.cpp
predefined-expr.cpp
prefetch-enum.cpp
primary-base.cpp
printf-block.cpp
printf-cstr.cpp
pseudo-destructors.cpp
ptrtomember-overload-resolution.cpp
ptrtomember.cpp
qual-id-test.cpp
qualification-conversion.cpp
qualified-id-lookup.cpp
qualified-member-enum.cpp
qualified-names-diag.cpp
rdar42746401.cpp [AST] Fix a crash on invalid. 2018-09-10 21:54:04 +00:00
redeclared-alias-template.cpp
redeclared-auto.cpp
redefine_extname.cpp
ref-init-ambiguous.cpp
references.cpp [C++11] Fix warning when dropping cv-qualifiers when assigning to a reference with a braced initializer list 2018-07-12 17:43:49 +00:00
reinterpret-cast.cpp
reinterpret-fn-obj-pedantic.cpp
return-noreturn.cpp
return-stack-addr-2.cpp Fold -Wreturn-stack-address into general initialization lifetime 2018-07-23 21:21:22 +00:00
return-stack-addr.cpp Don't lifetime-extend or track lifetime problems through the LHS of '->*'. 2018-07-24 21:18:30 +00:00
return.cpp
runtimediag-ppe.cpp
rval-references-examples.cpp
rval-references.cpp Fold -Wreturn-stack-address into general initialization lifetime 2018-07-23 21:21:22 +00:00
scope-check.cpp Refactor checking of switch conditions and case values. 2018-07-26 18:41:30 +00:00
self-comparison.cpp
shift.cpp
short-enums.cpp
short-wchar-sign.cpp
statements.cpp
static-array-member.cpp
static-assert-cxx17.cpp [Sema][NFC] Add test for static_assert diagnistics with constexpr template functions. 2018-12-20 13:30:40 +00:00
static-assert.cpp [Sema] Better static assert diagnostics for expressions involving temporaries/casts/.... 2018-12-20 09:05:15 +00:00
static-cast-complete-type.cpp
static-cast.cpp
static-data-member.cpp
static-initializers.cpp
std-compare-cxx2a.cpp
storage-class.cpp
string-init.cpp
string-plus-char.cpp
string-plus-int.cpp Revert "Make -Wstring-plus-int warns even if when the result is not out of bounds" 2018-12-14 00:43:34 +00:00
struct-class-redecl.cpp Fix -Wmismatched-tags to not warn on redeclarations of structs in system 2018-12-04 02:45:28 +00:00
subst-restrict.cpp [Sema] Retain __restrict qualifiers when substituting a reference type. 2018-09-20 18:12:24 +00:00
suppress.cpp
switch-0x.cpp
switch-implicit-fallthrough-blocks.cpp
switch-implicit-fallthrough-cxx98.cpp
switch-implicit-fallthrough-macro.cpp
switch-implicit-fallthrough-off-by-default.cpp
switch-implicit-fallthrough-per-method.cpp
switch-implicit-fallthrough.cpp Allow a double-underscore spelling of Clang attributes using double square bracket syntax. 2018-11-09 19:37:18 +00:00
switch.cpp
tag-ambig.cpp
template-ambiguous-overload.cpp
template-default-param-through-using.cpp
template-multiple-attr-propagation.cpp
template-specialization.cpp
templated-friend-decl.cpp
this.cpp
thread-safety-annotations.h Thread safety analysis: Run more tests with capability attributes [NFC] 2018-09-17 21:37:22 +00:00
thread-safety-reference-handling.cpp
trailing-return-0x.cpp
trivial-constructor.cpp
trivial-destructor.cpp
type-attrs.cpp
type-convert-construct.cpp
type-definition-in-specifier.cpp
type-dependent-exprs.cpp
type-formatting.cpp
type-traits-incomplete.cpp
type-traits.cpp
type_pack_element.cpp
typedef-redecl.cpp
typeid-ref.cpp
typeid.cpp
types_compatible_p.cpp
typo-correction-blocks.c
typo-correction-crash.cpp
typo-correction-cxx11.cpp
typo-correction-cxx17.cpp [Sema] Fix a structured binding typo correction bug 2018-07-10 02:15:07 +00:00
typo-correction-delayed.cpp
typo-correction.cpp Refactor checking of switch conditions and case values. 2018-07-26 18:41:30 +00:00
unaddressable-functions.cpp
unary-real-imag.cpp
unavailable_aligned_allocation.cpp [Sema] Produce diagnostics when C++17 aligned allocation/deallocation 2018-12-21 07:05:36 +00:00
undefined-inline.cpp
undefined-internal.cpp
underlying_type.cpp
uninit-variables-conditional.cpp
uninit-variables.cpp
uninitialized.cpp [Sema] Remove location from implicit capture init expr 2018-09-13 23:28:25 +00:00
unknown-anytype-blocks.cpp
unknown-anytype.cpp
unknown-type-name.cpp
unreachable-catch-clauses.cpp
unreachable-code.cpp
unused-functions.cpp
unused-with-error.cpp
unused.cpp
user-defined-conversions.cpp
using-decl-1.cpp
using-decl-pr4441.cpp
using-decl-pr4450.cpp
using-decl-templates.cpp
using-directive.cpp
value-dependent-exprs.cpp
value-initialization.cpp
vararg-class.cpp
vararg-default-arg.cpp
vararg-non-pod.cpp
varargs.cpp
vartemplate-lambda.cpp
vector-casts.cpp
vector-no-lax.cpp
vector.cpp [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
virtual-base-used.cpp
virtual-function-in-union.cpp
virtual-member-functions-key-function.cpp
virtual-override-x64.cpp
virtual-override-x86.cpp
virtual-override.cpp
virtuals.cpp
visibility.cpp
vla-consruct.cpp
vla.cpp
vtable-instantiation.cpp
vtordisp-mode.cpp
warn-absolute-value-header.cpp
warn-absolute-value.cpp
warn-address.cpp
warn-assignment-condition.cpp
warn-bad-memaccess.cpp
warn-bitfield-enum-conversion.cpp
warn-bool-conversion.cpp
warn-c++1z-extensions.cpp
warn-c++11-extensions.cpp
warn-cast-align.cpp
warn-cast-qual.cpp
warn-char-subscripts.cpp
warn-comma-operator.cpp [Sema] Fix -Wcomma for C89 2018-10-25 01:08:00 +00:00
warn-consumed-analysis.cpp
warn-consumed-parsing.cpp
warn-dangling-field.cpp Fold dangling-field warning into general initialization lifetime checks. 2018-07-23 18:50:26 +00:00
warn-dangling-local.cpp PR38355 Prevent infinite recursion when checking initializer lifetime if 2018-07-30 07:19:54 +00:00
warn-deprecated-header.cpp
warn-div-or-rem-by-zero.cpp
warn-empty-body.cpp
warn-enum-compare.cpp
warn-everthing.cpp
warn-exit-time-destructors.cpp Add a new flag and attributes to control static destructor registration 2018-08-21 17:24:06 +00:00
warn-float-conversion.cpp [SEMA] add more -Wfloat-conversion to compound assigment analysis 2018-08-13 16:38:07 +00:00
warn-func-not-needed.cpp
warn-global-constructors.cpp
warn-implicit-conversion-floating-point-to-bool.cpp
warn-inconsistent-missing-destructor-override
warn-infinite-recursion.cpp
warn-large-by-value-copy.cpp
warn-literal-conversion.cpp
warn-logical-not-compare.cpp
warn-loop-analysis.cpp Make -Wfor-loop-analysis work with C++17 2018-10-20 02:15:58 +00:00
warn-max-unsigned-zero.cpp
warn-member-not-needed.cpp
warn-memset-bad-sizeof.cpp
warn-memsize-comparison.cpp
warn-missing-noreturn.cpp
warn-missing-prototypes.cpp
warn-missing-variable-declarations.cpp
warn-msvc-enum-bitfield.cpp
warn-new-overaligned-2.cpp
warn-new-overaligned-3.cpp
warn-new-overaligned.cpp
warn-overloaded-virtual.cpp
warn-pessmizing-move.cpp
warn-pure-virtual-call-from-ctor-dtor.cpp Create a diagnostic group for warn_call_to_pure_virtual_member_function_from_ctor_dtor, so it can be turned into an error using Werror 2018-11-26 14:29:48 +00:00
warn-pure-virtual-kext.cpp
warn-range-loop-analysis.cpp
warn-redundant-move.cpp
warn-reinterpret-base-class.cpp
warn-reorder-ctor-initialization.cpp
warn-return-std-move.cpp
warn-self-assign-builtin.cpp
warn-self-assign-field-builtin.cpp
warn-self-assign-field-overloaded.cpp
warn-self-assign-overloaded-disable.cpp
warn-self-assign-overloaded.cpp
warn-self-comparisons.cpp
warn-self-move.cpp
warn-shadow-in-lambdas.cpp [C++17] Reject shadowing of capture by parameter in lambda 2018-10-25 20:15:03 +00:00
warn-shadow.cpp Do not check for parameters shadowing fields in function declarations. 2018-12-05 18:56:57 +00:00
warn-sign-conversion-cpp11.cpp
warn-sign-conversion.cpp
warn-static-const-float.cpp
warn-static-function-inheader.cpp
warn-static-function-inheader.h
warn-string-conversion.cpp
warn-sysheader-macro.cpp
warn-tautological-compare.cpp
warn-tautological-undefined-compare.cpp
warn-thread-safety-analysis.cpp Thread safety analysis: Allow scoped releasing of capabilities 2018-12-16 14:15:30 +00:00
warn-thread-safety-negative.cpp Thread safety analysis: Run more tests with capability attributes [NFC] 2018-09-17 21:37:22 +00:00
warn-thread-safety-parsing.cpp Thread Safety Analysis: warnings for attributes without arguments 2018-09-20 00:39:27 +00:00
warn-thread-safety-verbose.cpp Thread safety analysis: Run more tests with capability attributes [NFC] 2018-09-17 21:37:22 +00:00
warn-throw-out-noexcept-func.cpp
warn-undefined-bool-conversion.cpp
warn-unreachable.cpp
warn-unsequenced.cpp
warn-unused-attribute.cpp
warn-unused-comparison.cpp
warn-unused-filescoped.cpp
warn-unused-label-error.cpp
warn-unused-lambda-capture.cpp Revert "[Sema] Reword warning for constant captures that are not required" 2018-07-17 13:17:01 +00:00
warn-unused-local-typedef-serialize.cpp
warn-unused-local-typedef-x86asm.cpp
warn-unused-local-typedef.cpp
warn-unused-parameters.cpp
warn-unused-private-field-delayed-template.cpp
warn-unused-private-field.cpp
warn-unused-result.cpp
warn-unused-value-cxx11.cpp
warn-unused-value.cpp
warn-unused-variables-error.cpp
warn-unused-variables.cpp
warn-using-namespace-in-header.cpp
warn-variable-not-needed.cpp
warn-vla.cpp
warn-weak-vtables.cpp
warn-zero-nullptr.cpp
wchar_t.cpp
windows-arm-valist.cpp
writable-strings-deprecated.cpp
zero-length-arrays.cpp