llvm-capstone/clang/test/SemaCXX
Reid Kleckner 55efb68c19 [MS] Mark vbase dtors used when marking dtor used
In the MS C++ ABI, the complete destructor variant for a class with
virtual bases is emitted whereever it is needed, instead of directly
alongside the base destructor variant. The complete destructor calls the
base destructor of the current class and the base destructors of each
virtual base. In order for this to work reliably, translation units that
use the destructor of a class also need to mark destructors of virtual
bases of that class used.

Fixes PR38521

Reviewed By: rsmith

Differential Revision: https://reviews.llvm.org/D77081
2020-04-09 14:19:36 -07:00
..
Inputs [c++20] P1959R0: Remove support for std::*_equality. 2019-12-16 17:49:45 -08: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
accessible-base.cpp
addr-of-overloaded-function-casting.cpp
addr-of-overloaded-function.cpp [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
address-of-temporary.cpp
address-of.cpp
address-packed-member-memops.cpp
address-packed.cpp
address-space-conversion.cpp
address-space-ctor.cpp
address-space-initialize.cpp
address-space-newdelete.cpp
address-space-references.cpp [Sema] Improve diagnostic about addr spaces for overload candidates 2019-12-13 12:35:18 +00:00
adl.cpp
aggregate-init-cxx98.cpp
aggregate-initialization.cpp [c++20] Implement semantic restrictions for C++20 designated 2019-08-30 22:52:55 +00:00
alias-template.cpp
align_value.cpp
align-x86-abi7.cpp
align-x86.cpp
alignment-of-derived-class.cpp
alignof-sizeof-reference.cpp
alignof.cpp
alloc-align-attr.cpp [Sema] Demote call-site-based 'alignment is a power of two' check for AllocAlignAttr into a warning 2020-02-20 16:39:26 +03:00
altivec.cpp For PR17164: split -fno-lax-vector-conversion into three different 2019-09-13 06:02:15 +00:00
ambig-user-defined-conversions.cpp When diagnosing an ambiguity, only note the candidates that contribute 2019-10-24 14:58:29 -07:00
ambiguous-builtin-unary-operator.cpp
ambiguous-conversion-show-overload.cpp
amdgpu-sizeof-alignof.cpp
anonymous-struct.cpp Implement P1766R1: diagnose giving non-C-compatible classes a typedef name for linkage purposes. 2020-02-07 11:47:37 -08:00
anonymous-union-cxx11.cpp
anonymous-union-export.cpp
anonymous-union.cpp
arm-cmse.cpp [ARM][CMSE] Implement CMSE attributes 2020-03-24 10:21:26 +00:00
array-bound-merge.cpp
array-bounds-ptr-arith.cpp
array-bounds-system-header.cpp
array-bounds.cpp
arrow-operator.cpp
ast-print-crash.cpp
ast-print.cpp
atomic-ops.cpp
atomic-type.cpp Fix diagnostics where _Atomic can't be applied 2020-03-31 17:23:35 -07:00
attr-abi-tag-syntax.cpp
attr-after-definition.cpp
attr-aligned.cpp
attr-callback-broken.cpp
attr-callback.cpp
attr-cfi-canonical-jump-table.cpp cfi-icall: Allow the jump table to be optionally made non-canonical. 2019-08-09 22:31:59 +00:00
attr-cleanup-gcc.cpp
attr-cleanup.cpp
attr-common.cpp
attr-cpuspecific.cpp
attr-cxx0x-fixit.cpp
attr-cxx0x.cpp Allow standards-based attributes to have leading and trailing underscores. 2019-08-15 18:35:44 +00:00
attr-cxx-disabled.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
attr-exclude_from_explicit_instantiation.explicit_instantiation.cpp
attr-exclude_from_explicit_instantiation.extern_declaration.cpp
attr-exclude_from_explicit_instantiation.merge_redeclarations.cpp
attr-flatten.cpp
attr-format.cpp
attr-gnu.cpp
attr-gsl-owner-pointer-std.cpp Reland [LifetimeAnalysis] Support more STL idioms (template forward declaration and DependentNameType) 2019-09-06 08:56:30 +00:00
attr-gsl-owner-pointer.cpp [LifetimeAnalysis] Do not forbid void deref type in gsl::Pointer/gsl::Owner annotations 2020-01-07 08:32:40 -08:00
attr-lifetimebound.cpp
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 ARM MTE stack sanitizer. 2019-07-15 20:02:23 +00:00
attr-no-speculative-load-hardening.cpp
attr-no-split-stack.cpp
attr-nodebug.cpp
attr-non-x86-no_caller_saved_registers.cpp
attr-nonnull.cpp [clang] prevent crash for nonnull attribut in constant context (Bug 43601) 2019-10-10 07:13:20 +00:00
attr-noreturn.cpp [Diagnostics] Try to improve warning message for -Wreturn-type 2019-11-09 17:54:58 +01:00
attr-notail.cpp
attr-on-explicit-template-instantiation.cpp Revert "[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition" 2020-02-03 10:09:39 -08:00
attr-optnone.cpp
attr-print.cpp
attr-regparm.cpp
attr-reinitializes.cpp
attr-require-constant-initialization.cpp C++ DR2026: static storage duration variables are not zeroed before 2020-02-06 16:37:22 -08:00
attr-section.cpp
attr-selectany.cpp
attr-sentinel.cpp
attr-speculative-load-hardening.cpp
attr-swiftcall.cpp
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 Renamed and changed the wording of warn_cconv_ignored 2019-07-17 20:41:26 +00:00
builtin_objc_msgSend.cpp
builtin-align-cxx.cpp Add builtins for aligning and checking alignment of pointers and integers 2020-01-09 21:48:29 +00:00
builtin-assume-aligned-tmpl.cpp
builtin-assume-aligned.cpp
builtin-bit-cast.cpp [Sema] Require a complete type for __builtin_bit_cast operands 2019-08-12 18:31:27 +00:00
builtin-classify-type.cpp
builtin-constant-p.cpp
builtin-exception-spec.cpp
builtin-is-constant-evaluated.cpp [Diagnostics] Warn for std::is_constant_evaluated in constexpr mode 2019-10-31 10:03:11 +01:00
builtin-object-size-cxx14.cpp PR44268: Fix crash if __builtin_object_size is applied to a heap 2019-12-13 18:41:54 -08:00
builtin-operator-new-delete.cpp [clang] Annotating C++'s operator new with more attributes 2020-02-26 01:37:17 +03:00
builtin-ptrtomember-ambig.cpp When diagnosing an ambiguity, only note the candidates that contribute 2019-10-24 14:58:29 -07:00
builtin-ptrtomember-overload-1.cpp When diagnosing an ambiguity, only note the candidates that contribute 2019-10-24 14:58:29 -07:00
builtin-ptrtomember-overload.cpp
builtins-arm.cpp [Sema] Improved diagnostic for qualifiers in reference binding 2019-06-21 10:50:02 +00:00
builtins-overflow.cpp
builtins-va_arg.cpp
builtins.cpp Improve recovery from invalid template-ids. 2020-03-27 17:11:04 -07:00
c99-variable-length-array-cxx11.cpp
c99-variable-length-array.cpp
c99.cpp [c++20] Implement semantic restrictions for C++20 designated 2019-08-30 22:52:55 +00:00
call-with-static-chain.cpp
calling-conv-compat.cpp
captured-statements.cpp
cast-conversion.cpp Revert "[AST] Build recovery expressions by default for C++." 2020-03-26 16:25:32 +01:00
cast-explicit-ctor.cpp
cast-lvalue-to-rvalue-reference.cpp
cdtor-fn-try-block.cpp
char8_t.cpp
class-base-member-init.cpp
class-layout.cpp
class-names.cpp
class.cpp [CXX] Exercise all paths through these tests. 2019-07-09 20:49:07 +00:00
co_await-range-for.cpp
code-seg1.cpp
code-seg.cpp
comma.cpp
compare-cxx2a.cpp PR44992 Don't crash when a defaulted <=> is in a class declared in a 2020-03-13 19:30:49 -07:00
compare-modules-cxx2a.cpp [c++20] Fix incorrect assumptions in checks for comparison category types. 2019-12-09 12:18:33 -08:00
compare.cpp
complete-member-pointers.cpp
complex-conversion.cpp
complex-folding.cpp
complex-init-list.cpp Diagnose both _Complex and _Imaginary as C99 extensions. 2019-08-27 19:15:24 +00:00
complex-overload.cpp
composite-pointer-type.cpp
compound-literal.cpp
condition.cpp
conditional-expr.cpp
const-cast.cpp
constant-conversion.cpp
constant-expression-cxx1y.cpp C++ DR2026: static storage duration variables are not zeroed before 2020-02-06 16:37:22 -08:00
constant-expression-cxx1z.cpp
constant-expression-cxx2a.cpp PR45350: Handle unsized array CXXConstructExprs in constant evaluation 2020-03-29 19:33:56 -07:00
constant-expression-cxx11.cpp PR45087: Fix check for emptiness when determining whether a trivial copy 2020-03-03 15:57:48 -08:00
constant-expression.cpp
constexpr-ackermann.cpp
constexpr-array-unknown-bound.cpp
constexpr-backtrace-limit.cpp
constexpr-builtin-bit-cast.cpp Fix behavior of __builtin_bit_cast when the From and To types are the 2019-10-07 02:45:12 +00:00
constexpr-default-arg.cpp
constexpr-depth.cpp
constexpr-duffs-device.cpp
constexpr-factorial.cpp
constexpr-many-arguments.cpp Revert "[Clang Interpreter] Initial patch for the constexpr interpreter" 2019-09-04 10:57:06 +00:00
constexpr-nqueens.cpp
constexpr-printing.cpp C++ DR2026: static storage duration variables are not zeroed before 2020-02-06 16:37:22 -08:00
constexpr-steps.cpp
constexpr-string.cpp Permit constant evaluation of mixed __builtin_memcmp between char and 2020-04-05 15:35:32 -07:00
constexpr-turing-cxx2a.cpp [c++20] Add a C++20 version of the existing turing machine test. 2019-10-01 00:47:41 +00:00
constexpr-turing.cpp
constexpr-unsigned-high-bit.cpp
constexpr-value-init.cpp C++ DR2026: static storage duration variables are not zeroed before 2020-02-06 16:37:22 -08:00
constructor-initializer.cpp Revert "[AST] Build recovery expressions by default for C++." 2020-03-26 16:25:32 +01:00
constructor-recovery.cpp
constructor.cpp PR12350: Handle remaining cases permitted by CWG DR 244. 2020-02-07 18:40:41 -08:00
conversion-delete-expr.cpp
conversion-function.cpp When diagnosing the lack of a viable conversion function, also list 2020-01-09 15:15:02 -08:00
conversion-incomplete-type.cpp
conversion.cpp CWG1423: don't permit implicit conversion of nullptr_t to bool. 2020-02-11 06:52:45 -08:00
convert-to-bool.cpp When diagnosing the lack of a viable conversion function, also list 2020-01-09 15:15:02 -08:00
converting-constructor.cpp When diagnosing the lack of a viable conversion function, also list 2020-01-09 15:15:02 -08:00
copy-assignment.cpp
copy-constructor-error.cpp
copy-initialization.cpp When diagnosing the lack of a viable conversion function, also list 2020-01-09 15:15:02 -08:00
coreturn-eh.cpp
coreturn.cpp [Diagnostics] Try to improve warning message for -Wreturn-type 2019-11-09 17:54:58 +01:00
coroutine-rvo.cpp
coroutine-seh.cpp
coroutine-traits-undefined-template.cpp
coroutine-unhandled_exception-warning.cpp
coroutine-uninitialized-warning-crash.cpp
coroutines.cpp [coroutines][PR41909] Generalize fix from D62550 2019-12-16 17:43:04 -05:00
crash-lambda-12645424.cpp
crashes.cpp
cstyle-cast.cpp [Sema] Fix pointer-to-int-cast diagnostic for _Bool 2020-02-22 19:39:49 +01:00
cv-unqual-rvalues.cpp
cxx0x-class.cpp
cxx0x-constexpr-const.cpp
cxx0x-cursory-default-delete.cpp Defer checking for mismatches between the deletedness of and overriding 2020-03-12 13:07:22 -07:00
cxx0x-defaulted-functions.cpp [c++2a] Allow comparison functions to be explicitly defaulted. 2019-10-22 18:16:17 -07:00
cxx0x-delegating-ctors.cpp
cxx0x-deleted-default-ctor.cpp
cxx0x-initializer-aggregates.cpp
cxx0x-initializer-constructor.cpp When diagnosing an ambiguity, only note the candidates that contribute 2019-10-24 14:58:29 -07:00
cxx0x-initializer-references.cpp
cxx0x-initializer-scalars.cpp
cxx0x-initializer-stdinitializerlist.cpp [c++20] Disallow template argument deduction from a braced-init-list 2019-08-31 00:05:50 +00:00
cxx0x-noexcept-expression.cpp PR44514: Fix recovery from noexcept with non-convertible expressions 2020-01-13 13:51:48 -08:00
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
cxx1y-generic-lambdas-capturing.cpp
cxx1y-generic-lambdas-variadics.cpp PR42587: diagnose unexpanded uses of a pack parameter of a generic 2019-08-26 22:51:28 +00:00
cxx1y-generic-lambdas.cpp [Concepts] Placeholder constraints and abbreviated templates 2020-01-23 19:39:43 +02:00
cxx1y-init-captures.cpp
cxx1y-initializer-aggregates.cpp
cxx1y-sized-deallocation.cpp
cxx1y-user-defined-literals.cpp
cxx1y-variable-templates_in_class.cpp [MS] Consder constexpr globals to be inline, as in C++17 2019-09-11 18:09:10 +00:00
cxx1y-variable-templates_top_level.cpp
cxx1z-class-template-argument-deduction.cpp PR45124: Don't leave behind pending cleanups when declaring implicit 2020-03-06 13:22:10 -08:00
cxx1z-constexpr-lambdas.cpp Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang 2020-02-18 16:16:37 -08:00
cxx1z-copy-omission.cpp Revert "[AST] Build recovery expressions by default for C++." 2020-03-26 16:25:32 +01:00
cxx1z-decomposition.cpp Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang 2020-02-18 16:16:37 -08:00
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
cxx1z-user-defined-literals.cpp
cxx2a-adl-only-template-id.cpp Fix handling of class member access into a vector type. 2019-08-14 22:57:50 +00:00
cxx2a-compat.cpp Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang 2020-02-18 16:16:37 -08:00
cxx2a-consteval.cpp [clang] Add support for consteval constructors 2020-03-20 11:33:54 +01:00
cxx2a-constexpr-dynalloc.cpp PR43629: Fix crash evaluating constexpr placement new on a subobject of 2019-10-10 22:31:17 +00:00
cxx2a-destroying-delete.cpp
cxx2a-explicit-bool.cpp PR42694 Support explicit(bool) in older language modes as an extension. 2020-01-15 18:38:23 -08:00
cxx2a-initializer-aggregates.cpp Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang 2020-02-18 16:16:37 -08:00
cxx2a-lambda-default-ctor-assign.cpp [cxx2a] P0624R2 fix: only lambdas with no lambda-capture are default-constructible and assignable. 2019-07-08 23:24:41 +00:00
cxx2a-lambda-equals-this.cpp
cxx2a-no-unique-address.cpp
cxx2a-pointer-to-const-ref-member.cpp
cxx2a-template-lambdas.cpp
cxx2a-three-way-comparison.cpp PR44786: Don't assert when profiling <=> expressions. 2020-02-04 18:30:17 -08:00
cxx2a-user-defined-literals.cpp
cxx03-aligned-allocation-unscoped-enum.cpp Revert "[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition" 2020-02-03 10:09:39 -08:00
cxx11-ast-print.cpp
cxx11-attr-print.cpp Implement P1301R4, which allows specifying an optional message on the [[nodiscard]] attribute. 2019-07-20 07:56:34 +00:00
cxx11-call-to-deleted-constructor.cpp
cxx11-compat.cpp
cxx11-crashes.cpp
cxx11-default-member-initializers.cpp
cxx11-gnu-attrs.cpp Renamed and changed the wording of warn_cconv_ignored 2019-07-17 20:41:26 +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
cxx14-compat.cpp
cxx17-compat.cpp Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang 2020-02-18 16:16:37 -08:00
cxx98-compat-flags.cpp
cxx98-compat-pedantic.cpp
cxx98-compat.cpp PR43775: don't produce a bogus 'auto' -Wc++98-compat warning for CTAD 2019-10-27 21:42:58 -07:00
cxx-altivec.cpp
cxx-deprecated.cpp
cxx-member-pointer-op.cpp
dcl_ambig_res.cpp
dcl_init_aggr.cpp
decl-expr-ambiguity.cpp
decl-init-ref.cpp
decl-microsoft-call-conv.cpp [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
declspec-allocator.cpp
declspec-selectany.cpp Don't warn about selectany on implicitly inline variables 2019-09-12 17:55:48 +00:00
declspec-thread.cpp
decltype-98.cpp
decltype-crash.cpp Revert "[AST] Build recovery expressions by default for C++." 2020-03-26 16:25:32 +01:00
decltype-overloaded-functions.cpp
decltype-pr4444.cpp
decltype-pr4448.cpp
decltype-this.cpp
decltype.cpp Improve error recovery from missing '>' in template argument list. 2020-03-27 18:59:01 -07:00
decomposed-condition.cpp
default1.cpp When diagnosing the lack of a viable conversion function, also list 2020-01-09 15:15:02 -08:00
default2.cpp Fix template instantiation of a non-dependent call to an inherited 2020-04-06 19:20:30 -07:00
default-arg-closures.cpp
default-argument-temporaries.cpp
default-assignment-operator.cpp
default-constructor-initializers.cpp
defaulted-ctor-loop.cpp
defaulted-private-dtor.cpp
delete-and-function-templates.cpp
delete-mismatch.h
delete-non-virtual-dtor.cpp
delete.cpp
deleted-function-access.cpp
deleted-function.cpp
deleted-operator.cpp
dependent-auto.cpp
dependent-noexcept-unevaluated.cpp
dependent-types.cpp
deprecated-copy.cpp Try to reenable -Wdeprecated-copy under -Wextra 2019-11-27 22:36:51 +01:00
deprecated.cpp [c++20] Add deprecation warnings for the expression forms deprecated by P1120R0. 2019-12-16 17:49:45 -08:00
derived-to-base-ambig.cpp
designated-initializers-base-class.cpp [c++20] Implement semantic restrictions for C++20 designated 2019-08-30 22:52:55 +00:00
designated-initializers.cpp [c++20] Implement semantic restrictions for C++20 designated 2019-08-30 22:52:55 +00:00
destructor.cpp PR44978: Accept as an extension some cases where destructor name lookup 2020-02-26 14:55:31 -08:00
devirtualize-vtable-marking.cpp
diagnose_if-ext.cpp
diagnose_if.cpp [Sema] Perform call checking when building CXXNewExpr 2020-02-26 01:36:44 +03:00
diagnostic-order.cpp
direct-initializer.cpp
discrim-union.cpp
dllexport-pr22591.cpp
dllexport.cpp [MS] Consder constexpr globals to be inline, as in C++17 2019-09-11 18:09:10 +00:00
dllimport-constexpr.cpp
dllimport-memptr.cpp
dllimport.cpp [MS] Consder constexpr globals to be inline, as in C++17 2019-09-11 18:09:10 +00:00
do-while-scope.cpp
dr1301.cpp
dynamic-cast.cpp [Diagnostics] Improve some error messages related to bad use of dynamic_cast 2019-11-04 16:26:43 +01:00
elaborated-type-specifier.cpp
empty-class-layout.cpp
enable_if.cpp Fix __attribute__((enable_if)) to treat arguments with side-effects as 2019-10-30 13:39:29 -07:00
enum-attr.cpp
enum-bitfield.cpp
enum-increment.cpp
enum-scoped.cpp
enum-unscoped-nonexistent.cpp
enum.cpp Check whether the destination is a complete type in a static_cast (or 2019-12-16 18:33:35 -08:00
err_init_conversion_failed.cpp
err_reference_bind_drops_quals.cpp [Sema] Improved diagnostic for qualifiers in reference binding 2019-06-21 10:50:02 +00:00
err_typecheck_assign_const_filecheck.cpp
err_typecheck_assign_const.cpp
eval-crashes.cpp [c++20] Implement semantic restrictions for C++20 designated 2019-08-30 22:52:55 +00:00
eval-sizeof-dependent-type.cpp
exception-spec-no-exceptions.cpp
exception-spec.cpp
exceptions-seh.cpp Properly convert all declaration non-type template arguments when 2019-12-05 14:32:36 -08:00
exceptions.cpp
explicit.cpp When diagnosing the lack of a viable conversion function, also list 2020-01-09 15:15:02 -08:00
expression-traits.cpp
expressions.cpp
extended-usual-deallocation-functions.cpp
extern-c.cpp
extra-semi.cpp
flexible-array-test.cpp
Float16.cpp
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
friend3.cpp
friend-class-nodecl.cpp
friend-out-of-line.cpp
friend-template-redecl.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_inline.cpp [clang] [AST] Treat "inline gnu_inline" the same way as "extern inline gnu_inline" in C++ mode 2019-09-27 12:25:19 +00:00
gnu-case-ranges.cpp
gnu-flags.cpp
goto2.cpp
goto.cpp [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
has_unique_object_reps_member_ptr.cpp
i-c-e-cxx.cpp
illegal-member-initialization.cpp
imaginary-constants.cpp
implicit-exception-spec.cpp Improve error recovery from missing '>' in template argument list. 2020-03-27 18:59:01 -07: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 Improve error recovery from missing '>' in template argument list. 2020-03-27 18:59:01 -07:00
inline.cpp
instantiate-blocks.cpp
instantiate-template-fatal-error.cpp
int-ptr-cast-SFINAE.cpp [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
integer-overflow.cpp
internal_linkage.cpp
invalid-constructor-init.cpp [AST] Fix a crash on invalid constexpr Ctorinitializer when building RecoveryExpr. 2020-04-07 14:29:38 +02:00
invalid-instantiated-field-decl.cpp
invalid-member-expr.cpp Improve recovery from invalid template-ids. 2020-03-27 17:11:04 -07:00
invalid-template-params.cpp
invalid-template-specifier.cpp Form invalid template-id annotations when parsing a construct that is 2020-03-27 20:27:42 -07:00
issue547.cpp
lambda-expressions.cpp Fix crash-on-invalid-code in lambda constant evaluation. 2019-12-04 15:12:17 -05:00
lambda-invalid-capture.cpp PR43080: Do not build context-sensitive expressions during name classification. 2019-10-14 21:53:03 +00:00
large-array-init.cpp
libcxx_valarray_hack.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
linkage2.cpp Implement P1766R1: diagnose giving non-C-compatible classes a typedef name for linkage purposes. 2020-02-07 11:47:37 -08:00
linkage-invalid-decl.cpp
linkage-spec.cpp
linkage.cpp Implement P1766R1: diagnose giving non-C-compatible classes a typedef name for linkage purposes. 2020-02-07 11:47:37 -08:00
literal-operators.cpp PR45294: Fix handling of assumed template names looked up in the lexical 2020-03-27 21:07:06 -07:00
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 Add -std=c++20 flag, replace C++2a with C++20 throughout the Clang 2020-02-18 16:16:37 -08:00
member-location.cpp
member-name-lookup.cpp
member-operator-expr.cpp
member-pointer-ms.cpp Remove some explicit calls to getName() when printing diagnostics; NFC 2020-03-14 17:01:45 -04:00
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-template-shadow.cpp Put microsoft template parameter shadow warning behind separate flag (PR44794) 2020-02-26 16:04:40 +01:00
microsoft-varargs-diagnostics.cpp
microsoft-varargs.cpp
microsoft-vs-float128.cpp When diagnosing an ambiguity, only note the candidates that contribute 2019-10-24 14:58:29 -07:00
MicrosoftCompatibility.cpp [MS] Warn when shadowing template parameters under -fms-compatibility 2019-09-12 18:26:34 +00:00
MicrosoftCompatibilityNoExceptions.cpp
MicrosoftExtensions.cpp Add warnings for casting ptr -> smaller int for C++ in Microsoft mode 2020-03-05 15:17:06 -08:00
MicrosoftSuper.cpp
missing-header.cpp
missing-members.cpp
missing-namespace-qualifier-typo-corrections.cpp
modules-ts.cppm
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 Ignore exception specifier mismatch when merging redeclarations 2019-09-17 20:29:10 +00:00
ms-friend-lookup.cpp
ms-implicit-complete-dtor.cpp [MS] Mark vbase dtors used when marking dtor used 2020-04-09 14:19:36 -07:00
ms-initlist-narrowing.cpp
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 [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
ms-property.cpp
ms-unsupported.cpp
ms-uuid.cpp Allow redeclaration of __declspec(uuid) 2019-12-28 13:13:46 -08:00
ms-wchar.cpp
namespace-alias.cpp
namespace.cpp
neon-vector-types.cpp
nested-name-spec-locations.cpp
nested-name-spec.cpp Don't treat a CXXScopeSpec with a nested name specifier but no location 2020-04-03 20:20:48 -07:00
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 [clang] Annotating C++'s operator new with more attributes 2020-02-26 01:37:17 +03:00
new-null.cpp
no_destroy.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
no-warn-user-defined-literals-in-system-headers.h
no-wchar.cpp
non-empty-class-size-zero.cpp
nonnull.cpp
nothrow-as-noexcept-ctor.cpp
nothrow-vs-exception-specs.cpp
ns_returns_retained_block_return.cpp
null_in_arithmetic_ops.cpp
null-cast.cpp
nullability-declspec.cpp
nullability.cpp
nullptr_in_arithmetic_ops.cpp
nullptr-98.cpp
nullptr-arithmetic.cpp
nullptr.cpp CWG1423: don't permit implicit conversion of nullptr_t to bool. 2020-02-11 06:52:45 -08:00
offsetof-0x.cpp
offsetof.cpp
old-style-cast.cpp
openmp_default_simd_align.cpp
operator-arrow-depth.cpp
operator-arrow-temporary.cpp
operator-new-size-diagnose_if.cpp [Sema] Perform call checking when building CXXNewExpr 2020-02-26 01:36:44 +03:00
out-of-line-def-mismatch.cpp
overload-0x.cpp
overload-call-copycon.cpp
overload-call.cpp When diagnosing an ambiguity, only note the candidates that contribute 2019-10-24 14:58:29 -07:00
overload-decl.cpp
overload-member-call.cpp Fix argument numbering confusion when diagnosing a non-viable operator(). 2019-10-29 13:08:39 -07:00
overload-template.cpp
overload-value-dep-arg.cpp
overloaded-builtin-operators-0x.cpp
overloaded-builtin-operators-cxx17.cpp
overloaded-builtin-operators.cpp When diagnosing an ambiguity, only note the candidates that contribute 2019-10-24 14:58:29 -07:00
overloaded-name.cpp
overloaded-operator-decl.cpp
overloaded-operator.cpp
override-in-system-header.cpp
P30636.cpp
parentheses.cpp [Sema] Disable -Wbitwise-op-parentheses and -Wlogical-op-parentheses by default 2019-08-02 16:31:38 +00:00
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
pr30559.cpp
pr36536.cpp
PR5086-ambig-resolution-enum.cpp
PR6562.cpp
PR6618.cpp
PR7410.cpp
PR7944.cpp
PR8012.cpp
PR8385.cpp
PR8755.cpp
PR8884.cpp
PR9459.cpp Improve recovery from invalid template-ids. 2020-03-27 17:11:04 -07:00
PR9460.cpp
PR9461.cpp
PR9572.cpp Defer checking for mismatches between the deletedness of and overriding 2020-03-12 13:07:22 -07:00
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 Improve recovery from invalid template-ids. 2020-03-27 17:11:04 -07:00
PR21679.cpp
PR22637.cpp
PR23334.cpp
PR25848.cpp
PR27037.cpp
PR29152.cpp
PR31422.cpp [Sema] Avoids an assertion failure when an invalid conversion declaration is used 2019-10-06 18:40:59 +00:00
PR35832.cpp
PR38235.cpp
PR38913.cpp
PR40395.cpp
PR41139.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 Don't claim template names that name non-templates are undeclared. 2020-03-29 13:15:30 -07:00
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
redeclared-alias-template.cpp
redeclared-auto.cpp
redefine_extname.cpp
ref-init-ambiguous.cpp CWG2352: Allow qualification conversions during reference binding. 2020-01-09 18:24:06 -08:00
references.cpp [Sema] Improved diagnostic for qualifiers in reference binding 2019-06-21 10:50:02 +00:00
reinterpret-cast.cpp
reinterpret-fn-obj-pedantic.cpp
return-noreturn.cpp [Diagnostics] Try to improve warning message for -Wreturn-type 2019-11-09 17:54:58 +01: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 [c++20] Add deprecation warnings for the expression forms deprecated by P1120R0. 2019-12-16 17:49:45 -08:00
shift.cpp Revert "[Clang Interpreter] Initial patch for the constexpr interpreter" 2019-09-04 10:57:06 +00:00
short-enums.cpp
short-wchar-sign.cpp
sizeless-1.cpp [AST][SVE] Treat built-in SVE types as trivial 2020-03-27 17:34:04 +00:00
source_location.cpp
statements.cpp Ignore trailing NullStmts in StmtExprs for GCC compatibility. 2019-07-09 15:02:07 +00:00
static-array-member.cpp
static-assert-cxx17.cpp
static-assert.cpp
static-cast-complete-type.cpp
static-cast.cpp
static-data-member.cpp
static-initializers.cpp
std-align-val-t-in-operator-new.cpp [Sema] Perform call checking when building CXXNewExpr 2020-02-26 01:36:44 +03:00
std-compare-cxx2a.cpp [c++20] P1959R0: Remove support for std::*_equality. 2019-12-16 17:49:45 -08:00
storage-class.cpp
string-init.cpp
string-plus-char.cpp
string-plus-int.cpp
struct-class-redecl.cpp
subst-restrict.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 [Attr] Support _attribute__ ((fallthrough)) 2019-08-20 17:16:49 +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-reference-handling.cpp
trailing-return-0x.cpp
trivial-constructor.cpp
trivial-destructor.cpp
type_pack_element.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 Accept __is_same_as as a GCC-compatibility synonym for the proper trait name __is_same. 2019-10-29 14:44:38 -07:00
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
typo-correction-delayed.cpp
typo-correction.cpp [Concepts] Fix incorrect control flow when TryAnnotateTypeConstraint annotates an invalid template-id 2020-03-17 01:49:42 +02:00
unaddressable-functions.cpp
unary-real-imag.cpp
unavailable_aligned_allocation.cpp
undefined-inline.cpp [clang] [AST] Treat "inline gnu_inline" the same way as "extern inline gnu_inline" in C++ mode 2019-09-27 12:25:19 +00:00
undefined-internal.cpp Implement P1766R1: diagnose giving non-C-compatible classes a typedef name for linkage purposes. 2020-02-07 11:47:37 -08:00
underlying_type.cpp
uninit-variables-conditional.cpp
uninit-variables.cpp
uninitialized.cpp Suppress false-positive -Wuninitialized warnings in the constructor of a 2019-12-11 14:26:28 -08: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 Fix compatibility for __builtin_stdarg_start 2020-03-28 23:24:13 +01:00
varargs.cpp Revert "[AST] Build recovery expressions by default for C++." 2020-03-26 16:25:32 +01:00
vartemplate-lambda.cpp
vector-casts.cpp
vector-conditional.cpp Implement VectorType conditional operator GNU extension. 2020-01-13 13:27:20 -08:00
vector-no-lax.cpp For PR17164: split -fno-lax-vector-conversion into three different 2019-09-13 06:02:15 +00:00
vector.cpp [AST] clang::VectorType supports any size (that fits in unsigned) 2020-04-03 17:30:31 +02:00
virtual-base-used.cpp Defer checking for mismatches between the deletedness of and overriding 2020-03-12 13:07:22 -07:00
virtual-function-in-union.cpp
virtual-member-functions-key-function.cpp
virtual-override-x64.cpp Renamed and changed the wording of warn_cconv_ignored 2019-07-17 20:41:26 +00:00
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-bitwise-compare.cpp Add -Wtautological-compare to -Wall 2019-11-12 14:36:57 -08:00
warn-bool-conversion.cpp Properly convert all declaration non-type template arguments when 2019-12-05 14:32:36 -08:00
warn-c++1z-extensions.cpp
warn-c++11-extensions.cpp
warn-cast-align.cpp
warn-cast-qual.cpp
warn-char-subscripts.cpp Revert "[Sema] Suppress -Wchar-subscripts if the index is a literal char" 2019-11-07 18:45:40 +00:00
warn-comma-operator.cpp
warn-constant-evaluated-constexpr.cpp [Diagnostics] Warn for std::is_constant_evaluated in constexpr mode 2019-10-31 10:03:11 +01:00
warn-consumed-analysis.cpp [Consumed] Treat by-value class arguments as consuming by default, like rvalue refs. 2019-09-19 23:00:31 +00:00
warn-consumed-parsing.cpp
warn-dangling-field.cpp
warn-dangling-local.cpp
warn-deprecated-header.cpp
warn-div-or-rem-by-zero.cpp
warn-empty-body.cpp
warn-enum-compare.cpp [c++20] Add deprecation warnings for the expression forms deprecated by P1120R0. 2019-12-16 17:49:45 -08:00
warn-everthing.cpp
warn-exit-time-destructors.cpp
warn-final-dtor-non-final-class.cpp Fixit for -Wfinal-dtor-non-final-class 2019-09-03 10:54:25 +00:00
warn-float-conversion.cpp
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
warn-max-unsigned-zero.cpp
warn-member-not-needed.cpp
warn-memset-bad-sizeof.cpp
warn-memsize-comparison.cpp
warn-missing-noreturn.cpp [Diagnostics] Try to improve warning message for -Wreturn-type 2019-11-09 17:54:58 +01:00
warn-missing-prototypes.cpp
warn-missing-variable-declarations.cpp Don't warn about missing declarations for partial template specializations 2020-02-01 00:06:03 +01:00
warn-msvc-enum-bitfield.cpp
warn-new-overaligned-2.cpp
warn-new-overaligned-3.cpp
warn-new-overaligned.cpp
warn-overaligned-type-thrown.cpp [ARM] Set default alignment to 64bits 2019-08-08 12:50:36 +00:00
warn-overloaded-virtual.cpp
warn-pessmizing-move.cpp Revert r368237 - Update fix-it hints for std::move warnings. 2019-10-02 02:32:15 +00:00
warn-pure-virtual-call-from-ctor-dtor.cpp
warn-pure-virtual-kext.cpp
warn-range-loop-analysis-trivially-copyable.cpp [Sema] Reword -Wrange-loop-analysis warning messages 2020-03-06 14:57:01 +01:00
warn-range-loop-analysis.cpp [Sema] Reword -Wrange-loop-analysis warning messages 2020-03-06 14:57:01 +01:00
warn-redundant-move.cpp Revert r368237 - Update fix-it hints for std::move warnings. 2019-10-02 02:32:15 +00:00
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
warn-shadow.cpp
warn-sign-conversion-cpp11.cpp
warn-sign-conversion.cpp [NFC] Updated tests after rL373371 2019-10-01 18:18:45 +00:00
warn-static-const-float.cpp
warn-static-function-inheader.cpp
warn-static-function-inheader.h
warn-static-outside-class-definition.cpp
warn-string-conversion.cpp
warn-sysheader-macro.cpp
warn-tautological-compare.cpp
warn-tautological-undefined-compare.cpp
warn-thread-safety-analysis.cpp [clang analysis] Make mutex guard detection more reliable. 2020-03-30 11:46:02 -07:00
warn-thread-safety-negative.cpp
warn-thread-safety-parsing.cpp
warn-thread-safety-verbose.cpp
warn-throw-out-noexcept-func.cpp
warn-undefined-bool-conversion.cpp
warn-unreachable.cpp Improve -Wtautological-overlap-compare 2019-09-21 02:37:10 +00:00
warn-unsequenced.cpp [Sema] SequenceChecker: C++17 sequencing rules for built-in operators <<, >>, .*, ->*, =, op= 2019-12-22 12:41:14 +00:00
warn-unused-attribute.cpp
warn-unused-comparison.cpp
warn-unused-filescoped.cpp Implement P1766R1: diagnose giving non-C-compatible classes a typedef name for linkage purposes. 2020-02-07 11:47:37 -08:00
warn-unused-label-error.cpp [Attr] Support _attribute__ ((fallthrough)) 2019-08-20 17:16:49 +00:00
warn-unused-lambda-capture.cpp
warn-unused-local-typedef-serialize.cpp
warn-unused-local-typedef-x86asm.cpp
warn-unused-local-typedef.cpp Implement P1766R1: diagnose giving non-C-compatible classes a typedef name for linkage purposes. 2020-02-07 11:47:37 -08:00
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 Suppress -Wwarn-unused-variables when we don't know the constructor 2019-12-12 11:34:17 -08:00
warn-using-namespace-in-header.cpp
warn-variable-not-needed.cpp
warn-vla.cpp
warn-weak-vtables.cpp
warn-xor-as-pow.cpp [NFCI] Slightly improve warning message 2019-10-05 08:09:06 +00:00
warn-zero-nullptr.cpp
wchar_t.cpp Give the 'signed/unsigned wchar_t' extension a warning flag, and follow 2019-07-29 20:00:46 +00:00
windows-arm-valist.cpp
writable-strings-deprecated.cpp
zero-length-arrays.cpp