hanchenye-llvm-project/clang/test/SemaCXX
Richard Smith 9ff1bfe480 Add a test to ensure we don't permit mutable access on temporaries outside the evaluation in which they were created.
llvm-svn: 325854
2018-02-23 02:03:26 +00:00
..
Inputs [Sema] -Wzero-as-null-pointer-constant: don't warn for system macros other than NULL. 2017-10-26 13:18:14 +00:00
2008-01-11-BadWarning.cpp
MicrosoftCompatibility.cpp
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
PR23334.cpp
PR25848.cpp
PR27037.cpp
PR29152.cpp
__null.cpp
__try.cpp
abstract.cpp
access-base-class.cpp
access-control-check.cpp
access-member-pointer.cpp
access.cpp Revert r325321 "[Sema] Take into account the current context when checking the" 2018-02-16 12:06:32 +00:00
accessible-base.cpp [MS] Allow access to ambiguous, inaccessible direct bases 2017-10-27 22:48:41 +00:00
addr-of-overloaded-function-casting.cpp
addr-of-overloaded-function.cpp
address-of-temporary.cpp
address-of.cpp
address-packed-member-memops.cpp
address-packed.cpp Ignore pointers to incomplete types when diagnosing misaligned addresses 2017-12-07 09:23:50 +00:00
address-space-conversion.cpp
address-space-initialize.cpp
address-space-newdelete.cpp
address-space-references.cpp
aggregate-init-cxx98.cpp
aggregate-initialization.cpp Suppress -Wmissing-braces warning when aggregate-initializing a struct with a single field that is itself an aggregate. 2017-10-03 20:36:00 +00:00
alias-template.cpp
align_value.cpp
alignment-of-derived-class.cpp
alignof-sizeof-reference.cpp
alignof.cpp
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.cpp
array-bound-merge.cpp
array-bounds-ptr-arith.cpp
array-bounds-system-header.cpp
array-bounds.cpp
arrow-operator.cpp
ast-print-crash.cpp [DeclPrinter] Fix two cases that crash clang -ast-print. 2018-01-17 19:29:39 +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-cxx-disabled.cpp Fix a typo with -fno-double-square-bracket-attributes and add a test to demonstrate that it works as expected in C++11 mode. Additionally corrected the handling of -fdouble-square-bracket-attributes to be properly passed down to the cc1 option. 2017-10-21 20:28:58 +00:00
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-flatten.cpp
attr-format.cpp
attr-gnu.cpp
attr-lto-visibility-public.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
attr-mode-tmpl.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
attr-no-sanitize-address.cpp
attr-no-sanitize-memory.cpp
attr-no-sanitize-thread.cpp
attr-no-sanitize.cpp Hardware-assisted AddressSanitizer (clang part). 2017-12-09 01:32:07 +00:00
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-optnone.cpp
attr-print.cpp
attr-regparm.cpp
attr-require-constant-initialization.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
attr-selectany.cpp Enable __declspec(selectany) on any platform 2017-09-14 17:33:08 +00:00
attr-sentinel.cpp
attr-swiftcall.cpp
attr-target-mv.cpp Clean up 'target' attribute diagnostics 2018-02-16 17:31:59 +00:00
attr-unavailable.cpp
attr-unused.cpp
attr-used.cpp
attr-visibility.cpp
attr-weak.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
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-pragma.cpp
auto-subst-failure.cpp
auto-type-from-cxx.cpp
base-class-ambiguity-check.cpp [Sema] Fix crash for type-dependent base classes 2018-01-13 15:24:16 +00:00
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 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
builtin-assume-aligned.cpp
builtin-classify-type.cpp
builtin-exception-spec.cpp
builtin-object-size-cxx14.cpp
builtin-ptrtomember-ambig.cpp
builtin-ptrtomember-overload-1.cpp
builtin-ptrtomember-overload.cpp
builtin_objc_msgSend.cpp
builtins-arm.cpp
builtins-va_arg.cpp
builtins.cpp
c99-variable-length-array-cxx11.cpp
c99-variable-length-array.cpp
c99.cpp
call-with-static-chain.cpp
calling-conv-compat.cpp
captured-statements.cpp
cast-conversion.cpp
cast-explicit-ctor.cpp
cast-lvalue-to-rvalue-reference.cpp
cdtor-fn-try-block.cpp
class-base-member-init.cpp
class-layout.cpp
class-names.cpp
class.cpp
co_await-range-for.cpp
comma.cpp
compare-cxx2a.cpp Add tests for three-way self- and array comparison. 2018-01-07 22:03:44 +00:00
compare.cpp [Sema] -Wtautological-constant-compare is too good. Cripple it. 2018-01-03 08:45:19 +00:00
complex-conversion.cpp
complex-folding.cpp
complex-init-list.cpp
complex-overload.cpp
composite-pointer-type.cpp
compound-literal.cpp Re-commit r321223, which adds a printing policy to the ASTDumper. 2017-12-21 21:42:42 +00:00
condition.cpp
conditional-expr.cpp
const-cast.cpp
constant-expression-cxx1y.cpp Add a test to ensure we don't permit mutable access on temporaries outside the evaluation in which they were created. 2018-02-23 02:03:26 +00:00
constant-expression-cxx1z.cpp
constant-expression-cxx2a.cpp [c++20] P0515R3: Parsing support and basic AST construction for operator <=>. 2017-12-14 15:16:18 +00:00
constant-expression-cxx11.cpp Unnamed bitfields don't block constant evaluation of constexpr ctors 2017-10-24 02:17:07 +00:00
constant-expression.cpp
constexpr-ackermann.cpp
constexpr-array-unknown-bound.cpp Implement current CWG direction for support of arrays of unknown bounds in 2017-10-20 22:56:25 +00:00
constexpr-backtrace-limit.cpp
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
constexpr-turing.cpp
constexpr-value-init.cpp
constructor-initializer.cpp
constructor-recovery.cpp
constructor.cpp
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 [Sema] Improve diagnostics for const- and ref-qualified member functions 2017-12-31 18:27:29 +00:00
coreturn.cpp
coroutine-seh.cpp
coroutine-unhandled_exception-warning.cpp
coroutine-uninitialized-warning-crash.cpp
coroutines.cpp [Coroutines] Use target-agnostic size_t in test 2018-02-16 14:11:27 +00:00
crash-lambda-12645424.cpp
crashes.cpp
cstyle-cast.cpp
cv-unqual-rvalues.cpp
cxx-altivec.cpp
cxx-deprecated.cpp
cxx-member-pointer-op.cpp
cxx0x-class.cpp
cxx0x-compat.cpp Fix backwards warning for use of C++17 attributes-on-namespaces-and-enumerators feature. 2017-10-14 00:56:24 +00:00
cxx0x-constexpr-const.cpp
cxx0x-cursory-default-delete.cpp
cxx0x-defaulted-functions.cpp
cxx0x-delegating-ctors.cpp
cxx0x-deleted-default-ctor.cpp
cxx0x-initializer-aggregates.cpp
cxx0x-initializer-constructor.cpp
cxx0x-initializer-references.cpp
cxx0x-initializer-scalars.cpp
cxx0x-initializer-stdinitializerlist.cpp P0620 follow-up: deducing `auto` from braced-init-list in new expr 2017-12-11 18:29:54 +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 [Sema] Improve diagnostics for const- and ref-qualified member functions 2017-12-31 18:27:29 +00:00
cxx1y-deduced-return-type.cpp
cxx1y-generic-lambdas-capturing.cpp Fix the second half of PR34266: Don't implicitly capture '*this' if the members are found in a class unrelated to the enclosing class. 2017-09-17 15:37:51 +00:00
cxx1y-generic-lambdas-variadics.cpp
cxx1y-generic-lambdas.cpp Fix and simplify handling of return type for (generic) lambda conversion function to function pointer. 2018-01-02 23:52:42 +00:00
cxx1y-init-captures.cpp
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 PR35045: Convert injected-class-name to its corresponding simple-template-id 2018-01-04 01:24:17 +00:00
cxx1z-constexpr-lambdas.cpp
cxx1z-copy-omission.cpp [c++17] Refine resolution of constructor / conversion function disambiguation. 2017-11-01 01:37:11 +00:00
cxx1z-decomposition.cpp
cxx1z-init-statement-template.cpp [Sema] Fix using old initializer during switch statement transformation. 2017-09-21 17:58:27 +00:00
cxx1z-init-statement-warn-unused.cpp
cxx1z-init-statement.cpp
cxx1z-lambda-star-this.cpp
cxx1z-noexcept-function-type.cpp Undo accidental language mode change in this test. 2017-10-30 18:06:18 +00:00
cxx1z-user-defined-literals.cpp
cxx2a-destroying-delete.cpp P0722R2: The first parameter in an implicit call to a destroying operator 2017-12-05 23:54:25 +00:00
cxx2a-lambda-equals-this.cpp
cxx2a-pointer-to-const-ref-member.cpp [Sema] Improve diagnostics for const- and ref-qualified member functions 2017-12-31 18:27:29 +00:00
cxx2a-three-way-comparison.cpp [c++2a] P0515R3: Support for overloaded operator<=>. 2017-12-01 02:13:10 +00:00
cxx11-ast-print.cpp Handle lambda captures of variable length arrays in profiling and printing. 2017-11-11 00:54:25 +00:00
cxx11-attr-print.cpp
cxx11-call-to-deleted-constructor.cpp
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
cxx17-compat.cpp
cxx98-compat-flags.cpp Provide a flag group to turn on/off all "binary literals" extension warnings. 2017-10-18 02:19:24 +00:00
cxx98-compat-pedantic.cpp
cxx98-compat.cpp
dcl_ambig_res.cpp
dcl_init_aggr.cpp
decl-expr-ambiguity.cpp Suppress "redundant parens" warning for "A (::B())". 2017-12-21 22:26:47 +00:00
decl-init-ref.cpp
decl-microsoft-call-conv.cpp
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 Allow conditions to be decomposed with structured bindings 2017-12-07 07:03:15 +00:00
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 Try to fix test/SemaCXX/deleted-operator.cpp after r318309 2017-11-15 17:47:58 +00:00
dependent-auto.cpp
dependent-noexcept-unevaluated.cpp
dependent-types.cpp
deprecated.cpp Fix missing -Wregister warning when 'register' is applied to a function parameter. 2017-11-01 23:38:37 +00:00
derived-to-base-ambig.cpp
designated-initializers-base-class.cpp
designated-initializers.cpp
destructor.cpp Remove accidental newline. 2017-08-31 06:18:26 +00:00
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 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-memptr.cpp
dllimport.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
do-while-scope.cpp
dr1301.cpp
dynamic-cast.cpp
elaborated-type-specifier.cpp
empty-class-layout.cpp
enable_if.cpp
enum-attr.cpp
enum-bitfield.cpp
enum-increment.cpp
enum-scoped.cpp PR35586: Relax two asserts that are overly restrictive 2017-12-11 19:44:28 +00:00
enum-unscoped-nonexistent.cpp
enum.cpp [Sema] Error out early for tags defined inside an enumeration. 2017-09-15 19:51:42 +00:00
err_init_conversion_failed.cpp
err_reference_bind_drops_quals.cpp
err_typecheck_assign_const.cpp Fif for an issue when Clang permits assignment to vector/extvector elements in a const method. 2018-02-09 09:30:42 +00:00
err_typecheck_assign_const_filecheck.cpp
eval-crashes.cpp
eval-sizeof-dependent-type.cpp
exception-spec-no-exceptions.cpp
exception-spec.cpp
exceptions-seh.cpp
exceptions.cpp
explicit.cpp
expression-traits.cpp
expressions.cpp
extern-c.cpp PR35697: look at the first declaration when determining whether a function or 2018-01-03 02:34:35 +00:00
flexible-array-test.cpp [Sema] Add support for flexible array members in Obj-C. 2017-10-23 22:01:41 +00:00
fntype-decl.cpp
for-range-dereference.cpp
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.cpp
friend2.cpp
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 Fix __has_unique_object_representations implementation 2017-11-30 16:37:02 +00:00
i-c-e-cxx.cpp
illegal-member-initialization.cpp
imaginary-constants.cpp
implicit-exception-spec.cpp Let -Wdelete-non-virtual-dtor fire in system headers too. 2017-08-30 20:25:22 +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 PR36055: fix computation of *-dependence in nested initializer lists. 2018-02-07 22:25:16 +00:00
init-priority-attr.cpp
inline.cpp
instantiate-blocks.cpp
instantiate-template-fatal-error.cpp
integer-overflow.cpp
internal_linkage.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
invalid-instantiated-field-decl.cpp
invalid-member-expr.cpp
invalid-template-params.cpp
invalid-template-specifier.cpp
issue547.cpp
lambda-expressions.cpp Fix crash on invalid. 2018-02-06 02:58:21 +00:00
large-array-init.cpp [AST] Fix passing large-array-init.cpp on builds without asserts 2018-02-14 13:27:48 +00:00
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 Add test for regression caused by reverted patch r315251. 2017-10-10 21:07:44 +00:00
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
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
microsoft-dtor-lookup.cpp
microsoft-new-delete.cpp
microsoft-super.cpp
microsoft-varargs-diagnostics.cpp
microsoft-varargs.cpp Sema: Windows/ARM __va_start is not const correct 2017-09-26 17:44:10 +00:00
microsoft-vs-float128.cpp BuiltinOperatorOverloadBuilder: Don't consider types that are unavailable on the target (PR35174) 2017-11-15 17:11:53 +00:00
missing-header.cpp
missing-members.cpp Change assertion to quick exit from checking function. 2017-11-01 03:57:27 +00:00
missing-namespace-qualifier-typo-corrections.cpp
modules-ts.cppm [Modules TS] Added module re-export support. 2017-11-21 09:42:42 +00:00
ms-const-member-expr.cpp
ms-empty_bases.cpp
ms-exception-spec.cpp
ms-friend-lookup.cpp
ms-inline-asm.cpp
ms-interface.cpp [MS Compat]Allow __interfaces to have properties. 2017-09-20 22:28:24 +00:00
ms-iunknown-inline-def.cpp Fix the __interface inheritence rules to work better with IUnknown and IDispatch 2017-09-15 16:03:35 +00:00
ms-iunknown-outofline-def.cpp Fix the __interface inheritence rules to work better with IUnknown and IDispatch 2017-09-15 16:03:35 +00:00
ms-iunknown-template-function.cpp Update IUnknown lit test to pass on Win32 2017-10-02 16:49:32 +00:00
ms-iunknown.cpp [Sema] Correct IUnknown to support Unknwnbase.h Header. 2017-09-29 21:06:00 +00:00
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 [NFC] fix trivial typos in comments 2018-02-22 07:49:13 +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
nested-name-spec-locations.cpp
nested-name-spec.cpp
new-array-size-conv.cpp Switch to gnu++14 as the default dialect. 2017-12-09 12:09:54 +00:00
new-delete-0x.cpp
new-delete-cxx0x.cpp
new-delete-predefined-decl-2.cpp
new-delete-predefined-decl.cpp
new-delete.cpp Switch to gnu++14 as the default dialect. 2017-12-09 12:09:54 +00:00
new-null.cpp
no-exceptions.cpp
no-implicit-builtin-decls.cpp
no-rtti.cpp
no-warn-composite-pointer-type.cpp
no-warn-unused-const-variables.cpp
no-warn-user-defined-literals-in-system-headers.cpp Don't trigger -Wuser-defined-literals for system headers 2017-12-14 22:32:24 +00:00
no-warn-user-defined-literals-in-system-headers.h Don't trigger -Wuser-defined-literals for system headers 2017-12-14 22:32:24 +00:00
no-wchar.cpp
non-empty-class-size-zero.cpp
nonnull.cpp
nothrow-as-noexcept-ctor.cpp [Sema] Correct nothrow inherited by noexcept 2017-09-28 20:47:10 +00:00
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 Remove offset size check in nullptr arithmetic handling 2017-09-20 18:06:44 +00:00
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 Preserve the "last diagnostic was suppressed" flag across SFINAE checks. 2017-11-30 08:18:21 +00:00
overload-decl.cpp
overload-member-call.cpp
overload-value-dep-arg.cpp
overloaded-builtin-operators-0x.cpp
overloaded-builtin-operators.cpp
overloaded-name.cpp
overloaded-operator-decl.cpp
overloaded-operator.cpp Fix two-phase name lookup for non-dependent overloaded operators. 2017-10-05 19:35:51 +00:00
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
pragma-init_seg.cpp
pragma-optimize.cpp
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
redeclared-alias-template.cpp
redeclared-auto.cpp
redefine_extname.cpp
ref-init-ambiguous.cpp
references.cpp
reinterpret-cast.cpp
reinterpret-fn-obj-pedantic.cpp
return-noreturn.cpp [AST] Incorrectly qualified unscoped enumeration as template actual parameter. 2017-12-21 21:47:22 +00:00
return-stack-addr-2.cpp
return-stack-addr.cpp
return.cpp
runtimediag-ppe.cpp
rval-references-examples.cpp
rval-references.cpp
scope-check.cpp
self-comparison.cpp Remove bogus check for template specialization from self-comparison warning. 2018-01-07 22:25:55 +00:00
shift.cpp
short-enums.cpp
short-wchar-sign.cpp Driver: hoist the `wchar_t` handling to the driver 2017-10-06 23:09:55 +00:00
sourceranges.cpp [Parse] Forward brace locations to TypeConstructExpr 2018-01-17 18:53:51 +00:00
statements.cpp
static-array-member.cpp
static-assert.cpp Diagnostic specific failed condition in a static_assert. 2017-09-14 23:38:42 +00:00
static-cast-complete-type.cpp
static-cast.cpp
static-data-member.cpp
static-initializers.cpp
storage-class.cpp
string-init.cpp
string-plus-char.cpp
string-plus-int.cpp
struct-class-redecl.cpp
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
switch.cpp
tag-ambig.cpp
template-ambiguous-overload.cpp
template-default-param-through-using.cpp Add Forgotten test for: Fix template parameter default args missed if redecled 2017-10-24 13:51:07 +00:00
template-implicit-vars.cpp
template-multiple-attr-propagation.cpp
template-specialization.cpp
templated-friend-decl.cpp
this.cpp
thread-safety-reference-handling.cpp
trailing-return-0x.cpp
trivial-constructor.cpp
trivial-destructor.cpp
type-convert-construct.cpp
type-definition-in-specifier.cpp
type-dependent-exprs.cpp
type-formatting.cpp
type-traits-incomplete.cpp
type-traits.cpp Make __has_unique_object_representations reject empty union types. 2018-02-02 20:30:39 +00:00
type_pack_element.cpp
typedef-redecl.cpp
typeid-ref.cpp
typeid.cpp
types_compatible_p.cpp
typo-correction-blocks.c
typo-correction-crash.cpp [Sema] Null check in BuildDeclarationNameExpr 2017-09-25 17:36:54 +00:00
typo-correction-cxx11.cpp
typo-correction-delayed.cpp
typo-correction.cpp
unaddressable-functions.cpp
unary-real-imag.cpp
unavailable_aligned_allocation.cpp
undefined-inline.cpp
undefined-internal.cpp DR1113: anonymous namespaces formally give their contents internal linkage. 2017-09-22 22:21:44 +00:00
underlying_type.cpp Correct UnaryTransformTypeLoc to properly initialize. 2017-12-14 23:37:08 +00:00
uninit-variables-conditional.cpp
uninit-variables.cpp
uninitialized.cpp
unknown-anytype-blocks.cpp
unknown-anytype.cpp
unknown-type-name.cpp Switch to gnu++14 as the default dialect. 2017-12-09 12:09:54 +00:00
unreachable-catch-clauses.cpp
unreachable-code.cpp
unused-functions.cpp
unused-with-error.cpp
unused.cpp Fix -Wunused-private-field to fire regardless of which implicit special members have been implicitly declared. 2017-11-01 04:52:12 +00:00
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 Fix missing -Wregister warning when 'register' is applied to a function parameter. 2017-11-01 23:38:37 +00:00
vartemplate-lambda.cpp Give external linkage and mangling to lambdas inside inline variables and variable templates. 2017-09-22 04:25:05 +00:00
vector-casts.cpp
vector-no-lax.cpp
vector.cpp
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
warn-consumed-analysis.cpp
warn-consumed-parsing.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
warn-dangling-field.cpp
warn-deprecated-header.cpp
warn-div-or-rem-by-zero.cpp
warn-empty-body.cpp Revert r318456 "Issue -Wempty-body warnings for else blocks" 2017-11-20 17:48:54 +00:00
warn-enum-compare.cpp Fix warn-enum-compare.cpp on Windows 2017-12-11 18:58:18 +00:00
warn-everthing.cpp
warn-exit-time-destructors.cpp
warn-float-conversion.cpp
warn-func-not-needed.cpp
warn-global-constructors.cpp Unnamed bitfields don't block constant evaluation of constexpr ctors 2017-10-24 02:17:07 +00:00
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
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 PR35862: Suppress -Wmissing-variable-declarations warning on inline variables, 2018-01-08 21:46:42 +00:00
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
warn-pure-virtual-kext.cpp
warn-range-loop-analysis.cpp
warn-redundant-move.cpp Re-commit r321223, which adds a printing policy to the ASTDumper. 2017-12-21 21:42:42 +00:00
warn-reinterpret-base-class.cpp
warn-reorder-ctor-initialization.cpp
warn-self-assign.cpp
warn-self-comparisons.cpp
warn-self-move.cpp
warn-shadow-in-lambdas.cpp
warn-shadow.cpp
warn-sign-conversion-cpp11.cpp Add testcase I forgot to add in R313907. 2017-09-21 20:14:08 +00:00
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 Handle scoped_lockable objects being returned by value in C++17. 2018-01-11 22:13:57 +00:00
warn-thread-safety-negative.cpp
warn-thread-safety-parsing.cpp [ThreadSafetyAnalysis] Fix isCapabilityExpr 2017-12-14 22:24:45 +00:00
warn-thread-safety-verbose.cpp
warn-throw-out-noexcept-func.cpp Fix some -Wexceptions false positives. 2018-02-20 02:32:30 +00:00
warn-undefined-bool-conversion.cpp
warn-unreachable.cpp Implement C++ [basic.link]p8. 2017-09-20 07:22:00 +00:00
warn-unsequenced.cpp
warn-unused-attribute.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
warn-unused-comparison.cpp
warn-unused-filescoped.cpp
warn-unused-label-error.cpp
warn-unused-lambda-capture.cpp [Sema] Fix crash in unused-lambda-capture warning for VLAs 2017-12-11 18:00:36 +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 Fix -Wunused-private-field to fire regardless of which implicit special members have been implicitly declared. 2017-11-01 04:52:12 +00:00
warn-unused-result.cpp
warn-unused-value-cxx11.cpp
warn-unused-value.cpp
warn-unused-variables-error.cpp
warn-unused-variables.cpp [Sema] Fix assertion failure when checking for unused variables in a dependent context. 2017-10-19 19:07:13 +00:00
warn-using-namespace-in-header.cpp
warn-variable-not-needed.cpp
warn-vla.cpp
warn-weak-vtables.cpp
warn-zero-nullptr.cpp [Sema] -Wzero-as-null-pointer-constant: don't warn for system macros other than NULL. 2017-10-26 13:18:14 +00:00
wchar_t.cpp
windows-arm-valist.cpp
writable-strings-deprecated.cpp
zero-length-arrays.cpp