llvm-capstone/clang/test/SemaCXX
Eric Fiselier c5fb858053 [C++2a] Implement operator<=>: Address bugs and post-commit review comments after r331677.
This patch addresses some mostly trivial post-commit review comments received
on r331677.

Additionally, this patch fixes an assertion in `getNarrowingKind` caused by
the use of an uninitialized value from `checkThreeWayNarrowingConversion`.

llvm-svn: 331707
2018-05-08 00:52:19 +00:00
..
Inputs [C++2a] Implement operator<=> CodeGen and ExprConstant 2018-05-07 21:07:10 +00:00
__null.cpp
__try.cpp
2008-01-11-BadWarning.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 [AMDGPU] Fix size and alignment of size_t and pointer types 2017-07-05 04:58:24 +00:00
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 Improve -Warray-bounds to handle multiple array extents rather than only handling the top-most array extent. 2018-04-24 19:21:04 +00:00
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-cxx0x-fixit.cpp
attr-cxx0x.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-declspec-ignored.cpp
attr-deprecated-replacement-error.cpp
attr-deprecated-replacement-fixit.cpp
attr-deprecated.cpp [Sema] Don't allow -Wunguarded-availability to be silenced with redecls 2017-07-05 17:08:56 +00:00
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 Use ARC parsing rules for ns_returns_retained in MRC so that code can 2017-07-15 11:06:46 +00:00
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_objc_msgSend.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-operator-new-delete.cpp Fix test failure on Windows caused by different underlying enumeration type rules 2018-03-22 21:17:07 +00:00
builtin-ptrtomember-ambig.cpp
builtin-ptrtomember-overload-1.cpp
builtin-ptrtomember-overload.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
char8_t.cpp Implement P0482R2, support for char8_t type. 2018-05-01 05:02:45 +00:00
class-base-member-init.cpp
class-layout.cpp PR37275 packed attribute should not apply to base classes 2018-04-29 04:55:46 +00:00
class-names.cpp
class.cpp
co_await-range-for.cpp [coroutines] Fix co_await for range statement 2017-06-14 03:24:55 +00:00
comma.cpp
compare-cxx2a.cpp [C++2a] Implement operator<=>: Address bugs and post-commit review comments after r331677. 2018-05-08 00:52:19 +00:00
compare.cpp [Sema] -Wtautological-constant-compare is too good. Cripple it. 2018-01-03 08:45:19 +00:00
complex-conversion.cpp Sema: disable implicit conversion from _Complex to real types in C++. 2017-08-08 23:18:05 +00:00
complex-folding.cpp
complex-init-list.cpp
complex-overload.cpp Sema: disable implicit conversion from _Complex to real types in C++. 2017-08-08 23:18:05 +00:00
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 Fix typos in clang 2018-04-06 15:14:32 +00:00
const-cast.cpp
constant-conversion.cpp [CFG] Allow CallExpr's to be looked up in CFG's 2018-03-15 00:09:26 +00:00
constant-expression-cxx1y.cpp [ExprConstant] Use an AST node and a version number as a key to create 2018-04-10 05:15:01 +00:00
constant-expression-cxx1z.cpp
constant-expression-cxx2a.cpp [C++2a] Implement operator<=> CodeGen and ExprConstant 2018-05-07 21:07:10 +00:00
constant-expression-cxx11.cpp Improve -Warray-bounds to handle multiple array extents rather than only handling the top-most array extent. 2018-04-24 19:21:04 +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-default-arg.cpp [ExprConstant] Use an AST node and a version number as a key to create 2018-04-10 05:15:01 +00:00
constexpr-depth.cpp
constexpr-duffs-device.cpp
constexpr-factorial.cpp
constexpr-many-arguments.cpp
constexpr-nqueens.cpp
constexpr-printing.cpp Revert "Lexer: always allow imaginary constants in GNU mode." 2017-08-08 23:17:51 +00:00
constexpr-steps.cpp
constexpr-string.cpp [AST] Another attempt at fixing the ARM bots. 2018-04-24 08:18:32 +00:00
constexpr-turing.cpp
constexpr-value-init.cpp
constructor-initializer.cpp
constructor-recovery.cpp
constructor.cpp
conversion-delete-expr.cpp
conversion-function.cpp Correctly diagnose when a conversion function is declared with a type qualifier in the declaration specifiers rather than in the conversion type id. Fixes PR30595. 2018-04-12 16:41:55 +00:00
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 [coroutines] Fix assertion during -Wuninitialized analysis 2017-05-31 19:36:59 +00:00
coroutine-seh.cpp
coroutine-source-location-crash.cpp [coroutines] Fix invalid source range in co_await call expressions. 2018-03-27 03:15:46 +00:00
coroutine-unhandled_exception-warning.cpp [coroutines] Improved diagnostics when unhandled_exception is missing in the promise_type 2017-05-24 14:34:19 +00:00
coroutine-uninitialized-warning-crash.cpp [coroutines] Fix assertion during -Wuninitialized analysis 2017-05-31 19:36:59 +00:00
coroutines.cpp Correct warning on Float->Integer conversions. 2018-05-07 20:52:56 +00:00
crash-lambda-12645424.cpp
crashes.cpp
cstyle-cast.cpp
cv-unqual-rvalues.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 Implement isDefined by call to isThisDeclarationADefinition. 2017-06-04 12:53:12 +00:00
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 [Sema] Fix PR22637 - IndirectFieldDecl's discard qualifiers during template instantiation. 2018-04-08 05:11:59 +00:00
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 Fix for Bug 33471: Preventing operator auto from resolving to a template operator. 2017-06-20 17:38:07 +00:00
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 PR33082: Improve tracking of unexpanded parameter packs within variadic generic lambdas. 2017-08-15 19:11:21 +00:00
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 [Parser] Correct initalizer typos before lambda capture type is deduced. 2017-08-22 17:55:19 +00:00
cxx1y-initializer-aggregates.cpp
cxx1y-sized-deallocation.cpp
cxx1y-user-defined-literals.cpp
cxx1y-variable-templates_in_class.cpp Parse A::template B as an identifier rather than as a template-id with no 2018-04-27 02:00:13 +00:00
cxx1y-variable-templates_top_level.cpp Factor out common code for diagnosing missing template arguments. 2018-04-26 01:08:00 +00:00
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 [AST] Don't track lambda captures when checking a potential constant expression. 2018-04-05 00:12:05 +00:00
cxx1z-copy-omission.cpp [c++17] Refine resolution of constructor / conversion function disambiguation. 2017-11-01 01:37:11 +00:00
cxx1z-decomposition.cpp PR37352: mangle numbering for decomposition declarations. 2018-05-07 22:23:38 +00:00
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 Make -std=c++17 an alias of -std=c++1z 2017-08-09 20:12:53 +00:00
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 [c++2a] Implement P0409R2 - Allow lambda capture [=,this] (by hamzasood) 2017-08-19 03:43:07 +00:00
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 Allow writing calling convention attributes on function types. 2018-05-03 15:33:50 +00:00
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 Add test for -Wc++17-compat warning for P0683R1. 2017-08-28 00:31:35 +00:00
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 Implement C++ DR727, which permits explicit specializations at class scope. 2018-03-16 13:36:56 +00:00
cxx-altivec.cpp
cxx-deprecated.cpp
cxx-member-pointer-op.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
default1.cpp
default2.cpp
default-arg-closures.cpp
default-argument-temporaries.cpp
default-assignment-operator.cpp Switch from using a DiagnosticTrap and a note for "while defining a special 2017-05-25 22:47:05 +00:00
default-constructor-initializers.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 [MS] Don't statically initialize dllimport member function pointers 2017-07-07 22:04:29 +00:00
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_filecheck.cpp Fix typos in clang 2018-04-06 15:14:32 +00:00
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
eval-crashes.cpp Revert r301742, which caused us to try to evaluate all full-expressions. 2017-06-26 23:19:32 +00:00
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
extra-semi.cpp [Parser] (C++) Make -Wextra-semi slightly more useful 2018-03-14 19:31:34 +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
friend2.cpp Function definition may have uninstantiated body 2018-03-01 07:04:11 +00:00
friend3.cpp
friend-class-nodecl.cpp
friend-out-of-line.cpp
friend.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
goto2.cpp
goto.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 Reapply Sema: allow imaginary constants via GNU extension if UDL overloads not present. 2017-08-09 14:56:48 +00:00
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 Replace remaining user-visible mentions of C++1z with C++17. 2017-08-13 22:26:53 +00:00
instantiate-blocks.cpp
instantiate-template-fatal-error.cpp
integer-overflow.cpp [Sema] Emit -Winteger-overflow for arguments in function calls, ObjC messages. 2018-03-27 21:29:05 +00:00
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 [Sema] Fix a crash-on-invalid when a template parameter list has a class 2017-06-26 18:46:12 +00:00
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
linkage2.cpp Add test for regression caused by reverted patch r315251. 2017-10-10 21:07:44 +00:00
linkage-invalid-decl.cpp
linkage-spec.cpp
linkage.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 revert r311839 (ongoing cwg discussion) 2017-08-29 03:04:13 +00:00
member-init.cpp [Sema] Extend -Wself-assign and -Wself-assign-field to warn on overloaded self-assignment (classes) 2018-04-07 10:39:21 +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
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
MicrosoftCompatibility.cpp
MicrosoftCompatibilityNoExceptions.cpp
MicrosoftExtensions.cpp Implement C++ DR727, which permits explicit specializations at class scope. 2018-03-16 13:36:56 +00:00
MicrosoftSuper.cpp
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_integer_suffix.cpp
ms_mutable_reference_member.cpp
ms_struct.cpp
ms_wide_bitfield.cpp
ms-const-member-expr.cpp
ms-empty_bases.cpp
ms-exception-spec.cpp
ms-friend-lookup.cpp
ms-inline-asm.cpp
ms-interface.cpp Fix some handling of AST nodes with diagnostics. 2018-03-28 04:16:13 +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
namespace-alias.cpp
namespace.cpp
neon-vector-types.cpp
nested-name-spec-locations.cpp
nested-name-spec.cpp Don't crash when forming a destructor name on an incomplete type. 2017-06-11 20:33:00 +00:00
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_in_arithmetic_ops.cpp
null-cast.cpp Create valid LValue to represent null pointers in constant exprs 2017-05-26 02:16:00 +00:00
nullability-declspec.cpp
nullability.cpp
nullptr_in_arithmetic_ops.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
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-cxx17.cpp [Sema] Disable built-in increment operator for bool in overload resolution in C++17 2018-04-18 13:38:39 +00:00
overloaded-builtin-operators.cpp [Sema] Fix built-in decrement operator overload resolution 2018-04-11 13:36:29 +00:00
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
P30636.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 Push a function scope when parsing function bodies without a declaration 2018-03-07 18:55:10 +00:00
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 [Sema] Fix a crash-on-invalid when a template parameter list has a class 2017-06-26 18:46:12 +00:00
PR19955.cpp
PR20110.cpp
PR20334-std_initializer_list_diagnosis_assertion.cpp
PR20705.cpp
PR21679.cpp
PR22637.cpp [Sema] Fix PR22637 - IndirectFieldDecl's discard qualifiers during template instantiation. 2018-04-08 05:11:59 +00:00
PR23334.cpp
PR25848.cpp
PR27037.cpp 27037: Use correct CVR qualifier on an upcast on method pointer call 2017-06-09 22:25:28 +00:00
PR29152.cpp
PR35832.cpp [Sema] Fix PR35832 - Ambiguity accessing anonymous struct/union with multiple bases. 2018-04-08 06:21:33 +00:00
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 Fix printing of reference-to-reference types. 2018-04-29 05:33:38 +00:00
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
std-compare-cxx2a.cpp [C++2a] Implement operator<=>: Address bugs and post-commit review comments after r331677. 2018-05-08 00:52:19 +00:00
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_pack_element.cpp
type-attrs.cpp Allow writing calling convention attributes on function types. 2018-05-03 15:33:50 +00:00
type-convert-construct.cpp
type-definition-in-specifier.cpp
type-dependent-exprs.cpp
type-formatting.cpp
type-traits-incomplete.cpp
type-traits.cpp Non-zero-length bit-fields make a class non-empty. 2018-05-07 06:43:30 +00:00
typedef-redecl.cpp
typeid-ref.cpp Bring r325915 back. 2018-02-23 19:30:48 +00:00
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 Fix some handling of AST nodes with diagnostics. 2018-03-28 04:16:13 +00:00
unaddressable-functions.cpp
unary-real-imag.cpp
unavailable_aligned_allocation.cpp [Sema] Improve diagnostic message for unavailable C++17 aligned 2017-07-19 17:17:50 +00:00
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 Fix typos in clang 2018-04-06 15:14:32 +00:00
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 Fix typos in clang 2018-04-06 15:14:32 +00:00
virtual-base-used.cpp Switch from using a DiagnosticTrap and a note for "while defining a special 2017-05-25 22:47:05 +00:00
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 Sema: disable implicit conversion from _Complex to real types in C++. 2017-08-08 23:18:05 +00:00
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 Replace remaining user-visible mentions of C++1z with C++17. 2017-08-13 22:26:53 +00:00
warn-c++11-extensions.cpp
warn-cast-align.cpp
warn-cast-qual.cpp [clang] Implement -Wcast-qual for C++ 2017-07-03 17:59:22 +00:00
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 Correct warning on Float->Integer conversions. 2018-05-07 20:52:56 +00:00
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 Improve -Winfinite-recursion 2018-03-22 03:16:23 +00:00
warn-large-by-value-copy.cpp
warn-literal-conversion.cpp Correct warning on Float->Integer conversions. 2018-05-07 20:52:56 +00:00
warn-logical-not-compare.cpp
warn-loop-analysis.cpp [Sema] Make BreakContinueFinder handle nested loops. 2017-07-04 00:52:24 +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 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-return-std-move.cpp Diagnose cases of "return x" that should be "return std::move(x)" for efficiency 2018-04-12 14:48:48 +00:00
warn-self-assign-builtin.cpp [Sema] Extend -Wself-assign and -Wself-assign-field to warn on overloaded self-assignment (classes) 2018-04-07 10:39:21 +00:00
warn-self-assign-field-builtin.cpp [Sema] Extend -Wself-assign and -Wself-assign-field to warn on overloaded self-assignment (classes) 2018-04-07 10:39:21 +00:00
warn-self-assign-field-overloaded.cpp [Sema] Extend -Wself-assign and -Wself-assign-field to warn on overloaded self-assignment (classes) 2018-04-07 10:39:21 +00:00
warn-self-assign-overloaded-disable.cpp [Sema] Add -Wno-self-assign-overloaded 2018-04-23 21:35:21 +00:00
warn-self-assign-overloaded.cpp [Sema] Add -Wno-self-assign-overloaded 2018-04-23 21:35:21 +00:00
warn-self-comparisons.cpp
warn-self-move.cpp
warn-shadow-in-lambdas.cpp
warn-shadow.cpp Fix -Wshadow false positives with function-local classes. 2017-07-31 15:21:26 +00:00
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 Fix the try_acquire_capability attribute to behave like the other try-lock functions. Fixes PR32954. 2018-04-12 17:53:21 +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 Fix typos in clang 2018-04-06 15:14:32 +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