llvm-capstone/clang/test/SemaCXX
MalavikaSamak e7596a99fc [-Wunsafe-buffer-usage] Add Fixable for simple pointer dereference
This patch introduces PointerDereferenceGadget, a FixableGadget that emits
fixits to handle cases where a pointer that is identified as unsafe is
dereferenced. The current implementation only handles cases where the strategy
is to change the type of the raw pointer to std::span. The fixit for this
strategy is to fetch the first element from the corresponding span instance.

For example for the code below, the PointerDereferenceGadget emits a fixit for
S3 (S1, S2 are to be handled by other gadgets):

  S1: int *ptr = new int[10];
  S2: int val1 = ptr[k]; // Unsafe operation
  S3: int val2 = *ptr; => Fixit: int val2 = ptr[0];

Differential revision: https://reviews.llvm.org/D143206
2023-03-22 15:32:51 -07:00
..
Inputs Add __builtin_FILE_NAME() 2023-03-17 09:52:41 -04:00
__null.cpp
__try.cpp
2008-01-11-BadWarning.cpp
aarch64-sve-explicit-casts-fixed-size.cpp [Clang][Arm] Convert -fallow-half-arguments-and-returns to a target option. NFC 2022-09-29 11:00:32 +01:00
aarch64-sve-lax-vector-conversions.cpp [Clang][Arm] Convert -fallow-half-arguments-and-returns to a target option. NFC 2022-09-29 11:00:32 +01:00
aarch64-sve-vector-conditional-op.cpp [Clang][Arm] Convert -fallow-half-arguments-and-returns to a target option. NFC 2022-09-29 11:00:32 +01:00
abstract.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
access-base-class.cpp [Clang] Implement CWG2518 - static_assert(false) 2023-02-28 17:21:40 +01:00
access-control-check.cpp
access-member-pointer.cpp
access.cpp
accessible-base.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
addr-label-in-coroutines.cpp [C++20] [Coroutines] Disable to take the address of labels in coroutines 2023-01-17 11:35:32 +08: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
address-space-arithmetic.cpp
address-space-conversion.cpp
address-space-ctor.cpp
address-space-initialize.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
address-space-newdelete.cpp
address-space-placement.cpp [clang] Reject non-declaration C++11 attributes on declarations 2022-06-15 11:58:26 +02:00
address-space-references.cpp
adl.cpp
aggregate-init-cxx98.cpp
aggregate-initialization.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
alias-template.cpp Rewording "static_assert" diagnostics 2022-07-25 07:22:54 -04:00
align_value.cpp
align-x86-abi7.cpp
align-x86.cpp [Sema] Reject array element types whose sizes aren't a multiple of their 2022-09-21 09:15:03 -07:00
alignment-of-derived-class.cpp [PS4/PS5] Don't inherit base class alignment 2022-06-10 13:15:17 -07:00
alignof-sizeof-reference.cpp
alignof.cpp PR47138: Don't crash if the preferred alignment of an invalid record 2020-08-12 12:31:20 -07:00
alloc-align-attr.cpp [clang] Set max allowed alignment to 2^32 2021-10-08 11:44:15 -07:00
altivec.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
ambig-user-defined-conversions.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
ambiguous-builtin-unary-operator.cpp
ambiguous-conversion-show-overload.cpp [clang] Print 32 candidates on the first failure, with -fshow-overloads=best. 2021-02-25 17:45:19 -08:00
amdgpu-sizeof-alignof.cpp
annotate-type.cpp [clang] Reject non-declaration C++11 attributes on declarations 2022-06-15 11:58:26 +02:00
anonymous-struct.cpp [Clang] Modify sanity check assert in AggExprEmitter::VisitInitListExpr to cover anonymous struct in a union GNU extension 2022-12-21 10:50:05 -08:00
anonymous-union-cxx11.cpp
anonymous-union-export.cpp [Modules] Refactor modules-ts tests to use standard c++ modules 2023-02-16 14:05:16 +08:00
anonymous-union.cpp Remove redundant check for access in the conversion from the naming 2020-11-29 19:21:59 -08:00
arm-cmse.cpp
array-alignment.cpp Check whether the allocated type is an array type before calling 2022-09-26 14:21:21 -07:00
array-bound-merge.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
array-bounds-ptr-arith.cpp [clang][Sema] Use correct array size for diagnostic 2022-10-20 11:56:49 -07:00
array-bounds-strict-flex-arrays.cpp [clang] Implement -fstrict-flex-arrays=3 2022-10-27 10:50:04 -07:00
array-bounds-system-header.cpp
array-bounds.cpp [clang][Sema] Use correct array size for diagnostic 2022-10-20 11:56:49 -07:00
arrow-operator.cpp [clang] Do not crash on arrow operator on dependent type. 2022-03-25 15:48:08 +01:00
ast-print-crash.cpp
ast-print.cpp
atomic-builtin-compound-assignment-overload.cpp [clang][sema] Generate builtin operator overloads for (volatile) _Atomic types 2022-06-20 11:03:29 +02:00
atomic-ops.cpp
atomic-type.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
attr-abi-tag-syntax.cpp
attr-after-definition.cpp
attr-aligned.cpp
attr-annotate.cpp Allow parameter pack expansions and initializer lists in annotate attribute 2022-02-08 13:38:07 -05:00
attr-arm-sve-vector-bits.cpp [Clang][Arm] Convert -fallow-half-arguments-and-returns to a target option. NFC 2022-09-29 11:00:32 +01:00
attr-availability.cpp [Sema] Fix a bug where clang doesn't detect uses of unavailable decls 2023-01-05 20:33:56 -08:00
attr-callback-broken.cpp
attr-callback.cpp
attr-cfi-canonical-jump-table.cpp
attr-cleanup-gcc.cpp
attr-cleanup.cpp
attr-common.cpp
attr-cpuspecific.cpp Change error for storage-class to mean linkage, fix lang-linkage diag 2021-09-22 10:51:05 -07:00
attr-cxx0x-fixit.cpp
attr-cxx0x.cpp
attr-cxx-disabled.cpp
attr-declspec-ignored.cpp [Clang] Fix: Restore warning inadvertently removed by D126061. 2022-06-28 08:52:58 +02:00
attr-deprecated-replacement-error.cpp
attr-deprecated-replacement-fixit.cpp Use functions with prototypes when appropriate; NFC 2022-02-07 09:25:01 -05:00
attr-deprecated.cpp [clang] Implement the using_if_exists attribute 2021-06-02 10:30:24 -04:00
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-extension-diags.cpp Add diagnostic groups for attribute extensions 2021-12-07 11:49:53 -05:00
attr-flatten.cpp
attr-format.cpp Allow non-variadic functions to be attributed with __attribute__((format)) 2022-07-05 17:26:11 -07:00
attr-gnu.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
attr-gsl-owner-pointer-std.cpp
attr-gsl-owner-pointer.cpp
attr-lifetimebound.cpp [Clang] Treat std::forward_like as builtin 2023-01-29 00:13:46 +00:00
attr-likelihood.cpp [Clang][NFC] Added testcase from #49549 2022-01-31 23:45:56 +01:00
attr-lto-visibility-public.cpp
attr-mode-tmpl.cpp
attr-musttail.cpp Add triple to fix test failure. 2021-04-15 18:08:35 -07:00
attr-no-sanitize-address.cpp
attr-no-sanitize-memory.cpp
attr-no-sanitize-thread.cpp
attr-no-sanitize.cpp [clang] Give better message for unsupported no_sanitize on globals 2022-09-01 22:35:42 +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
attr-noreturn.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
attr-notail.cpp [Clang][Attributes] Allow not_tail_called attribute to be applied to virtual function. 2021-02-25 14:58:18 -08:00
attr-on-explicit-template-instantiation.cpp
attr-optnone.cpp
attr-print.cpp [Attributes] Improve writing ExprArgument value. 2022-10-14 11:20:57 -07:00
attr-regparm.cpp
attr-reinitializes.cpp
attr-require-constant-initialization.cpp Use functions with prototypes when appropriate; NFC 2022-02-07 09:25:01 -05:00
attr-section.cpp Detect section type conflicts between functions and variables 2020-12-17 11:43:47 -05:00
attr-selectany.cpp
attr-sentinel.cpp
attr-speculative-load-hardening.cpp Use tablegen to diagnose mutually exclusive attributes 2021-04-02 16:34:42 -04:00
attr-swiftcall.cpp [Clang] Introduce Swift async calling convention. 2021-07-09 11:50:10 -07:00
attr-target-clones-aarch64.cpp Reland "[AArch64] FMV support and necessary target features dependencies." 2022-12-27 19:18:07 +00:00
attr-target-clones.cpp Reapply 'Implement target_clones multiversioning' 2021-11-29 06:30:01 -08:00
attr-target-mv.cpp Change error for storage-class to mean linkage, fix lang-linkage diag 2021-09-22 10:51:05 -07:00
attr-target-version.cpp Reland "[AArch64] FMV support and necessary target features dependencies." 2022-12-27 19:18:07 +00:00
attr-trivial-abi.cpp re-roll-forward "[clang] Mark trivial_abi types as "trivially relocatable""."" 2022-04-28 14:53:59 +02:00
attr-unavailable.cpp parse: process GNU and standard attributes on top-level decls 2022-11-21 22:34:50 +00:00
attr-unsafe-buffer-usage.cpp [-Wunsafe-buffer-usage] Introduce the unsafe_buffer_usage attribute 2023-01-31 11:43:34 -08:00
attr-unused.cpp Properly print unnamed TagDecl objects in diagnostics 2022-10-14 08:18:28 -04:00
attr-used.cpp Improve diagnostic for ignored GNU 'used' attribute 2021-02-22 09:18:13 -08:00
attr-visibility.cpp
attr-weak.cpp Add missing check for constant evaluation of a comparison of a pointer 2022-12-12 17:09:26 -08: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-invalid-init-crash.cpp
auto-subst-failure.cpp
auto-type-from-cxx.cpp PR46637: Fix handling of placeholder types in trailing-return-types. 2020-07-28 15:54:10 -07:00
base-class-ambiguity-check.cpp [clang] Don't crash on an incomplete-type base specifier in template context. 2021-11-09 22:17:47 +01:00
bitfield-layout.cpp Fix assertions and bad warnings on extremely wide bit-fields. 2020-11-17 14:36:51 -08:00
bitfield.cpp
block-call.cpp
blocks-1.cpp
blocks.cpp
bool-compare.cpp
bool.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
borland-extensions.cpp
builtin_objc_msgSend.cpp
builtin-align-cxx.cpp Fixed a number of typos 2022-08-01 13:13:18 -04:00
builtin-assume-aligned-tmpl.cpp
builtin-assume-aligned.cpp
builtin-bit-cast.cpp
builtin-classify-type.cpp
builtin-constant-p.cpp Diagnose -Wunused-value based on CFG reachability 2021-09-28 10:00:15 -07:00
builtin-dump-struct.cpp Reimplement __builtin_dump_struct in Sema. 2022-05-05 14:55:47 -07:00
builtin-exception-spec.cpp
builtin-is-constant-evaluated.cpp Rewording "static_assert" diagnostics 2022-07-25 07:22:54 -04:00
builtin-object-size-cxx14.cpp
builtin-operator-new-delete.cpp
builtin-ptrtomember-ambig.cpp
builtin-ptrtomember-overload-1.cpp
builtin-ptrtomember-overload.cpp
builtin-std-move-nobuiltin.cpp [Clang] Treat std::forward_like as builtin 2023-01-29 00:13:46 +00:00
builtin-std-move.cpp [Clang] Treat std::forward_like as builtin 2023-01-29 00:13:46 +00:00
builtins-arm.cpp
builtins-elementwise-math.cpp Add codegen for llvm exp/exp2 elementwise builtins 2023-03-09 12:14:59 -08:00
builtins-overflow.cpp
builtins-va_arg.cpp
builtins.cpp [Clang] Add lifetimebound attribute to std::move/std::forward 2023-01-19 20:57:24 +00:00
c99-variable-length-array-cxx11.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
c99-variable-length-array.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
c99.cpp
call-with-static-chain.cpp
calling-conv-compat.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
captured-statements.cpp
cast-conversion.cpp
cast-explicit-ctor.cpp
cast-lvalue-to-rvalue-reference.cpp
cdtor-fn-try-block.cpp
char8_t.cpp [Clang] Implement P2513 2022-10-24 18:10:43 +02:00
class-base-member-init.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
class-layout.cpp Opting out of Clang 16 ABI Changes for AIX and z/OS 2023-01-24 01:14:05 -05:00
class-names.cpp
class.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
co_await-ast.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
co_await-range-for.cpp [clang][TypePrinter] Teach isSubstitutedDefaultArgument about integral types 2022-12-16 11:38:51 +00:00
code-seg1.cpp
code-seg.cpp
comma.cpp
compare-cxx2a.cpp PR52537: When performing a no-op TreeTransform of a rewritten binary 2021-11-17 18:19:46 -08:00
compare-function-pointer.cpp [clang] Stop providing builtin overload candidate for relational function pointer comparisons 2021-06-26 00:08:02 +02:00
compare-modules-cxx2a.cpp Remove non-affecting module maps from PCM files. 2021-11-18 11:18:26 +01:00
compare.cpp [Clang] Allow downgrading to a warning the diagnostic for setting a non fixed enum to a value outside the range of the enumeration values 2022-08-08 16:23:07 -07:00
complete-member-pointers.cpp
complex-conversion.cpp [clang] use getCommonSugar in an assortment of places 2022-09-16 16:36:00 +02:00
complex-folding.cpp Rewording "static_assert" diagnostics 2022-07-25 07:22:54 -04:00
complex-init-list.cpp
complex-overload.cpp
composite-pointer-type.cpp
compound-literal.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
concept-fatal-error.cpp [clang] Do not crash on "requires" after a fatal error occurred. 2022-07-14 15:45:32 +02:00
condition.cpp [Parse] Use empty RecoveryExpr when if/while/do/switch conditions fail to parse 2022-01-10 10:38:27 +01:00
conditional-expr.cpp PR47861: Expand dangling reference warning to look through copy 2020-10-30 10:19:50 -07:00
const-cast.cpp
constant-conversion.cpp Further update -Wbitfield-constant-conversion for 1-bit bitfield 2022-08-31 09:23:45 -04:00
constant-expression-cxx1z.cpp [c++17] Implement P0145R3 during constant evaluation. 2020-10-06 12:30:26 -07:00
constant-expression-cxx2a.cpp [Clang] Fix lambda CheckForDefaultedFunction(...) so that it checks the CXXMethodDecl is not deleted before attempting to call DefineDefaultedFunction(...) 2022-09-02 18:59:15 -07:00
constant-expression-cxx2b.cpp [Clang] Permit static constexpr variables in constexpr functions 2022-11-28 21:38:31 +01:00
constant-expression-cxx11.cpp [clang][AST] Improve diagnostic for nullptr constexpr function pointer call 2023-03-13 12:53:12 -04:00
constant-expression-cxx14.cpp [Clang][C++2b] P2242R3: Non-literal variables [...] in constexpr 2022-03-22 19:51:19 +01:00
constant-expression.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
consteval-return-void.cpp [clang] [test] Fix an apparent typo in SemaCXX/consteval-return-void.cpp. 2022-02-14 11:28:23 -05:00
constexpr-ackermann.cpp
constexpr-array-init.cpp [clang] Consider array filler in MaybeElementDependentArrayfiller() 2022-08-05 06:47:49 +02:00
constexpr-array-unknown-bound.cpp
constexpr-backtrace-limit.cpp
constexpr-builtin-bit-cast.cpp Rewording "static_assert" diagnostics 2022-07-25 07:22:54 -04:00
constexpr-default-arg.cpp
constexpr-default-init-value-crash.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
constexpr-depth.cpp
constexpr-duffs-device.cpp
constexpr-factorial.cpp [clang][Interp] Implement ConditionalOperators 2022-10-14 13:16:10 +02:00
constexpr-function-recovery-crash.cpp Rewording "static_assert" diagnostics 2022-07-25 07:22:54 -04:00
constexpr-late-instantiation.cpp [clang] Enforce instantiation of constexpr template functions during non-constexpr evaluation 2022-07-10 08:40:03 +02:00
constexpr-many-arguments.cpp
constexpr-nqueens.cpp
constexpr-printing.cpp
constexpr-single-element-array.cpp [clang] Fix single-element array initialization in constexpr 2023-03-07 10:57:35 -05:00
constexpr-steps.cpp
constexpr-string.cpp Add extension diagnostic for linemarker directives 2022-05-11 06:42:00 -04:00
constexpr-turing-cxx2a.cpp
constexpr-turing.cpp
constexpr-unsigned-high-bit.cpp
constexpr-value-init.cpp [clang] Fix a crash in constant evaluation 2022-09-08 18:21:44 +02:00
constexpr-vectors.cpp [Clang] Convert various tests to opaque pointers (NFC) 2022-12-12 17:11:46 +01:00
constrained-special-member-functions.cpp [Clang] Adjust triviality computation in QualType::isTrivialType to C++20 cases. 2023-02-22 23:27:09 +02:00
constructor-initializer.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
constructor-recovery.cpp
constructor.cpp
conversion-delete-expr.cpp
conversion-function.cpp [clang] Add ElaboratedType sugaring for types on implicit special members 2023-01-20 15:51:32 -08:00
conversion-incomplete-type.cpp
conversion.cpp
convert-to-bool.cpp
converting-constructor.cpp
copy-assignment.cpp [AST] Use RecoveryExpr to model a DeclRefExpr which refers to an invalid Decl. 2022-03-03 10:33:40 +01:00
copy-constructor-error.cpp
copy-initialization.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
coreturn-eh.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coreturn.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coroutine_handle-address-return-type.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coroutine-alloc-2.cpp [Coroutines] Use LookupAllocationFunction to find allocation functions for coroutines consistently 2022-09-05 15:20:09 +08:00
coroutine-alloc-3.cpp [NFC] Remove invisible character in Diagnostic message and tests 2022-09-06 11:08:42 +08:00
coroutine-alloc-4.cpp [NFC] fix typo funciton -> function 2023-03-10 18:05:25 -08:00
coroutine-allocs.cpp [NFC] [Coroutines] Add test for ambiguous allocation functions in 2022-06-06 14:23:35 +08:00
coroutine-builtins.cpp [Coroutines] Remove -fcoroutines-ts 2023-02-23 14:40:58 +08:00
coroutine-dealloc.cpp [Coroutines] Pass size parameter for deallocation function when qualified 2023-02-07 00:22:22 +08:00
coroutine-decltype.cpp [C++20] [Coroutines] Exit early if we found co_await appears in 2022-10-09 14:59:27 +08:00
coroutine-final-suspend-noexcept.cpp [NFC] [Coroutines] Refactor implementation in checkFinalSuspendNoThrow 2022-01-14 15:37:01 +08:00
coroutine-no-move-ctor.cpp [Coroutines] Implement fix for cwg2563 issue and enable RVO under certain conditions 2023-03-21 21:42:31 -07:00
coroutine-no-valid-dealloc.cpp [NFC] [Coroutines] Add tests for looking up deallocation 2022-09-06 14:57:01 +08:00
coroutine-rvo.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coroutine-seh.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coroutine-traits-undefined-template.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coroutine-unhandled_exception-warning.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coroutine-uninitialized-warning-crash.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coroutines.cpp [Coroutines] Fix premature conversion of return object 2023-03-21 21:42:25 -07:00
crash-auto-36064.cpp [clang] Make member var invalid when static initializer is invalid. 2021-08-03 11:52:52 +02:00
crash-lambda-12645424.cpp
crashes.cpp Change the behavior of implicit int diagnostics 2022-05-04 08:35:47 -04:00
cstyle-cast.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
cv-unqual-rvalues.cpp
cxx0x-class.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
cxx0x-constexpr-const.cpp
cxx0x-cursory-default-delete.cpp
cxx0x-defaulted-functions.cpp Handle explicitly defaulted consteval special members. 2022-08-12 12:13:06 +02:00
cxx0x-delegating-ctors.cpp
cxx0x-deleted-default-ctor.cpp [clang] Add fix-it note to defaulted-function-deleted warning 2022-10-04 19:38:10 +01:00
cxx0x-initializer-aggregates.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
cxx0x-initializer-constructor.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
cxx0x-initializer-references.cpp [Clang] Adjust assert from Sema::BuildCXXTypeConstructExpr 2022-12-01 09:40:18 -08:00
cxx0x-initializer-scalars.cpp
cxx0x-initializer-stdinitializerlist.cpp [clang] template / auto deduction deduces common sugar 2022-09-16 11:20:10 +02:00
cxx0x-noexcept-expression.cpp Print nullptr_t namespace qualified within std:: 2021-09-21 11:21:40 -07:00
cxx0x-nontrivial-union.cpp [Clang][Sema] Fix incorrect deletion of default constructors for some unions 2023-03-15 23:55:52 +02:00
cxx0x-return-init-list.cpp
cxx0x-type-convert-construct.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
cxx1y-constexpr-not-const.cpp
cxx1y-contextual-conversion-tweaks.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
cxx1y-generic-lambdas-capturing.cpp [clang] Warn by default that implicit capture of 'this' is deprecated in C++20 and later. 2023-02-02 15:10:47 -05:00
cxx1y-generic-lambdas-variadics.cpp [clang] NFC: include non friendly types and missing sugar in test expectations 2021-10-27 23:03:29 +02:00
cxx1y-generic-lambdas.cpp [Clang] Fix ClassifyImplicitMemberAccess to handle cases where the access in an unevaluated context is not within a CXXRecordDecl or CXXMethodDecl 2023-03-14 16:37:58 -07:00
cxx1y-init-captures.cpp [Sema] Add some basic lambda capture fix-its 2021-03-11 13:46:25 +00:00
cxx1y-initializer-aggregates.cpp
cxx1y-sized-deallocation.cpp
cxx1y-user-defined-literals.cpp [C++2b] Support size_t literals 2021-03-31 13:36:23 +00:00
cxx1y-variable-templates_in_class.cpp [Sema] Fix the assertion in Sema::ActOnDependentMemberExpr 2022-01-04 13:08:12 -08:00
cxx1y-variable-templates_top_level.cpp [Clang] Avoid crashes when parsing using enum declarations 2022-08-27 15:18:36 -07:00
cxx1z-ast-print.cpp [clang] Fix missing template arguments in AST of access to member variable template 2022-09-21 00:46:18 +02:00
cxx1z-class-template-argument-deduction.cpp An expression should only contain an unexpanded parameter pack if it 2022-03-31 20:02:53 -07:00
cxx1z-constexpr-lambdas.cpp [Sema] Add some basic lambda capture fix-its 2021-03-11 13:46:25 +00:00
cxx1z-copy-omission.cpp [AST][RecoveryExpr] Preserve the AST for invalid class constructions. 2020-07-20 13:11:15 +02:00
cxx1z-decomposition.cpp Fix -Wbitfield-constant-conversion on 1-bit signed bitfield 2022-08-09 11:43:50 -04:00
cxx1z-init-statement-template.cpp
cxx1z-init-statement-warn-unused.cpp
cxx1z-init-statement.cpp Reland "[Clang][Sema] Fix invalid redefinition error in if/switch/for statement" 2022-04-21 01:18:58 +08:00
cxx1z-lambda-star-this.cpp PR45881: Properly use CXXThisOverride for templated lambda 2021-09-07 17:02:24 -07:00
cxx1z-noexcept-function-type.cpp PR44406: Follow behavior of array bound constant folding in more recent versions of GCC. 2020-10-16 14:34:35 -07:00
cxx1z-user-defined-literals.cpp
cxx2a-adl-only-template-id.cpp
cxx2a-compat.cpp [Clang] Implement P2513 2022-10-24 18:10:43 +02:00
cxx2a-consteval-default-params.cpp Implement CWG2631 2023-01-08 10:35:26 +01:00
cxx2a-consteval.cpp [Clang] Fix a crash when taking the address of a consteval lambda 2023-02-23 15:26:37 +01:00
cxx2a-constexpr-dynalloc.cpp PR49465: Disallow constant evaluation of a call to operator delete(nullptr). 2021-03-09 15:06:06 -08:00
cxx2a-destroying-delete.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
cxx2a-explicit-bool.cpp [clang] Reland parenthesized aggregate init patches 2023-01-12 09:58:15 -08:00
cxx2a-initializer-aggregates.cpp PR49020: Diagnose brace elision in designated initializers in C++. 2021-02-03 14:36:49 -08:00
cxx2a-lambda-default-ctor-assign.cpp
cxx2a-lambda-equals-this.cpp [clang] Warn by default that implicit capture of 'this' is deprecated in C++20 and later. 2023-02-02 15:10:47 -05:00
cxx2a-no-unique-address.cpp Implement WG21 P2156R1/WG14 N2557 on duplicate attributes 2021-04-13 12:30:04 -04:00
cxx2a-nttp-printing.cpp Disambiguate type names when printing NTTP types 2022-10-28 08:18:38 -04:00
cxx2a-pointer-to-const-ref-member.cpp
cxx2a-template-lambdas.cpp Rewording "static_assert" diagnostics 2022-07-25 07:22:54 -04:00
cxx2a-three-way-comparison.cpp PR44325 (and duplicates): don't issue -Wzero-as-null-pointer-constant 2021-02-03 14:58:53 -08:00
cxx2a-user-defined-literals.cpp [c++20] Don't consider string literal operator templates for numeric 2021-01-11 13:19:00 -08:00
cxx2b-ast-print.cpp [Clang] Remove redundant init-parens in AST print 2022-02-28 19:31:16 -06:00
cxx2b-consteval-if.cpp [clang] [test] [NFC] Eliminate some hard tabs in tests 2022-02-16 10:42:58 -05:00
cxx2b-init-statement.cpp Extend init-statement to allow alias-declaration 2021-10-08 07:13:45 -04:00
cxx2b-overloaded-operator-pedantic.cpp No longer issue pedantic warning about pre-c++2b compat 2023-03-21 10:51:53 -04:00
cxx2b-overloaded-operator.cpp [C++2b] Implement multidimentional subscript operator 2022-02-08 12:10:47 -05:00
cxx2b-p2266-disable-with-msvc-compat.cpp [clang] P2266 implicit moves STL workaround 2021-07-26 22:21:31 +02:00
cxx03-aligned-allocation-unscoped-enum.cpp [test] Add {{.*}} to make ELF tests immune to dso_local/dso_preemptable/(none) differences 2020-12-31 00:27:11 -08:00
cxx11-ast-print.cpp Add type information to integral template argument if required. 2021-05-12 19:00:08 +00:00
cxx11-attr-print.cpp
cxx11-attributes-on-using-declaration.cpp [clang][Parse] Add parsing support for C++ attributes on using-declarations 2021-06-01 08:47:50 -04:00
cxx11-call-to-deleted-constructor.cpp [clang] Add ElaboratedType sugaring for types on implicit special members 2023-01-20 15:51:32 -08:00
cxx11-compat.cpp [Sema] Introduce BuiltinAttr, per-declaration builtin-ness 2020-09-17 19:28:57 +03:00
cxx11-crashes.cpp [Sema] Add deprecation warnings for some compiler provided __has_* type traits 2022-07-12 19:24:17 +03:00
cxx11-default-member-initializers.cpp Implement CWG2631 2023-01-08 10:35:26 +01:00
cxx11-gnu-attrs.cpp
cxx11-inheriting-ctors.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
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-access.cpp [clang] Fix an assertion crash in delayed access check. 2020-11-13 14:02:57 +01:00
cxx14-compat.cpp Suppress printing template arguments that match default template 2020-11-11 15:05:51 -08:00
cxx17-compat.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
cxx20-check-fptr-constraints.cpp [concepts] Implement dcl.decl.general p4: No constraints on non-template funcs 2022-05-17 06:21:51 -07:00
cxx20-constinit.cpp Fix interaction of constinit and weak. 2020-09-30 10:49:50 -07:00
cxx20-decomposition.cpp [Clang] Correctly capture bindings in dependent lambdas. 2023-01-09 21:20:57 +01:00
cxx20-lambda-decltype-this.cpp PR45881: Properly use CXXThisOverride for templated lambda 2021-09-07 17:02:24 -07:00
cxx20-p0388-unbound-ary.cpp [clang] p0388 array list initialization overloads 2021-10-12 07:35:21 -07:00
cxx20-using-enum.cpp [Clang] Fix Sema::ClassifyName so that it classifies EnumConstantDecl as NonType when they are brought into scope via using enum 2022-11-29 10:39:21 -08:00
cxx98-compat-flags.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
cxx98-compat-pedantic.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
cxx98-compat.cpp Rewording "static_assert" diagnostics 2022-07-25 07:22:54 -04:00
cxx-altivec.cpp
cxx-deprecated.cpp
cxx-member-pointer-op.cpp
dcl_ambig_res.cpp
dcl_init_aggr.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
decl-expr-ambiguity.cpp [AST][RecoveryAST] Preserve the type by default for recovery expression. 2020-08-24 14:28:28 +02:00
decl-init-ref.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
decl-microsoft-call-conv.cpp
declspec-allocator.cpp
declspec-selectany.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 [clang] Replace Member Expressions During Instantiation If Necessary 2023-03-13 22:22:06 +08:00
decomposed-condition.cpp
decomposition-blocks.cpp Fix -Wbitfield-constant-conversion on 1-bit signed bitfield 2022-08-09 11:43:50 -04:00
decomposition-openmp.cpp [Clang][C++20] Support capturing structured bindings in lambdas 2022-08-04 10:12:53 +02:00
deduced-return-type-cxx14.cpp [clang] Add ElaboratedType sugaring for types on implicit special members 2023-01-20 15:51:32 -08:00
deduced-return-void.cpp [clang] template / auto deduction deduces common sugar 2022-09-16 11:20:10 +02:00
default1.cpp PR47682: Merge the DeclContext of a merged FunctionDecl before we inherit 2021-01-22 15:46:41 -08:00
default2.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
default-arg-closures.cpp
default-argument-temporaries.cpp
default-assignment-operator.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
default-constructor-initializers.cpp
defaulted-ctor-loop.cpp
defaulted-private-dtor.cpp
delete-and-function-templates.cpp Rewording "static_assert" diagnostics 2022-07-25 07:22:54 -04:00
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-builtins.cpp __has_trivial_copy should map to __is_trivially_copyable 2022-08-13 22:54:52 +03:00
deprecated-copy-with-dtor.cpp [Clang]: Diagnose deprecated copy operations also in MSVC compatibility mode 2022-09-14 19:48:08 +02:00
deprecated-copy-with-user-provided-copy.cpp [Clang]: Diagnose deprecated copy operations also in MSVC compatibility mode 2022-09-14 19:48:08 +02:00
deprecated-copy-with-user-provided-dtor.cpp [Clang]: Diagnose deprecated copy operations also in MSVC compatibility mode 2022-09-14 19:48:08 +02:00
deprecated-copy.cpp [Clang]: Diagnose deprecated copy operations also in MSVC compatibility mode 2022-09-14 19:48:08 +02:00
deprecated.cpp [Clang] Implement CWG2654: Un-deprecation of compound volatile assignments 2022-11-29 17:15:39 +01:00
derived-to-base-ambig.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
designated-initializers-base-class.cpp
designated-initializers.cpp
destructor.cpp [clang][Sema] Fix crash on invalid base destructor 2022-10-05 15:23:15 +02:00
devirtualize-vtable-marking.cpp
diagnose_if-ext.cpp
diagnose_if.cpp
diagnostic-order.cpp
direct-initializer.cpp
disallow_void_deref.cpp Disallow dereferencing of void* in C++. 2022-10-10 07:11:46 -07:00
discrim-union.cpp
dllexport-pr22591.cpp
dllexport.cpp [MSVC][dllexport/dllimport] Propagate a dllexport/dllimport attribute to template baseclass 2023-03-15 11:47:54 -07:00
dllimport-constexpr.cpp
dllimport-memptr.cpp
dllimport.cpp [MSVC][dllexport/dllimport] Propagate a dllexport/dllimport attribute to template baseclass 2023-03-15 11:47:54 -07:00
do-while-scope.cpp
dr1301.cpp [clang] Add fix-it note to defaulted-function-deleted warning 2022-10-04 19:38:10 +01:00
dynamic-cast.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
elaborated-type-specifier.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
empty-class-layout.cpp
enable_if-nested-call-with-valuedependent-param.cpp [Sema] Fix crash when evaluating nested call with value-dependent arg 2023-01-06 02:57:50 -05:00
enable_if.cpp [AST] Enhance the const expression evaluator to support error-dependent exprs. 2020-11-18 15:48:06 +01:00
enum-attr.cpp
enum-bitfield.cpp
enum-increment.cpp
enum-scoped.cpp [Clang] Avoid crashes when parsing using enum declarations 2022-08-27 15:18:36 -07:00
enum-unscoped-nonexistent.cpp
enum.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
err_init_conversion_failed.cpp
err_reference_bind_drops_quals.cpp
err_typecheck_assign_const_filecheck.cpp
err_typecheck_assign_const.cpp
eval-crashes.cpp
eval-sizeof-dependent-type.cpp
exception-spec-no-exceptions.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
exception-spec.cpp
exceptions-seh.cpp
exceptions-seh.mm [clang] Disallow mixing SEH and Objective-C exceptions 2021-10-20 14:18:12 -04:00
exceptions.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
explicit.cpp
explicitly-defaulted.cpp [clang] Add fix-it note to defaulted-function-deleted warning 2022-10-04 19:38:10 +01:00
expression-traits.cpp Diagnose -Wunused-value based on CFG reachability 2021-09-28 10:00:15 -07:00
expressions.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
ext-int-asm.cpp Introduce _BitInt, deprecate _ExtInt 2021-12-06 12:52:01 -05:00
ext-int.cpp [X86][clang] Lift _BitInt() supported max width. 2022-12-06 11:02:27 +08:00
ext-vector-type-conditional.cpp [ExtVectorType] Support conditional select operator for C++. 2021-03-09 13:08:52 +00:00
extended-usual-deallocation-functions.cpp
extern-c.cpp PR46859: Fix crash if declaring a template in a DeclScope with no DeclContext. 2020-07-29 12:02:55 -07:00
externc-ifunc-resolver.cpp [clang][alias|ifunc]: Add a diagnostic for mangled names 2023-03-06 08:59:02 -08:00
extra-semi.cpp
flexible-array-test.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
Float16.cpp [X86] Support _Float16 on SSE2 and up 2022-06-30 17:21:37 +08:00
fntype-decl.cpp
fold_expr_expansion_limit.cpp [clang] Limit the maximum level of fold-expr expansion. 2020-09-08 15:40:09 +02:00
fold_expr_typo.cpp [SemaCXX]use CorrectDelayedTyposInExpr in ActOnCXXFoldExpr only when Diag 2023-03-15 01:08:41 +08:00
for-range-crash.cpp Change the behavior of implicit int diagnostics 2022-05-04 08:35:47 -04:00
for-range-dereference.cpp
for-range-examples.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
for-range-no-std.cpp
for-range-unused.cpp
format-strings-0x-nopedantic.cpp
format-strings-0x.cpp
format-strings.cpp [Sema] check InitListExpr format strings like {"foo"} 2022-11-23 04:58:19 +08:00
friend2.cpp
friend3.cpp
friend-class-nodecl.cpp
friend-out-of-line.cpp
friend-template-redecl.cpp
friend.cpp [clang] retain type sugar in auto / template argument deduction 2021-11-15 23:07:45 +01:00
funcdname.cpp
function-extern-c.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
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 [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
generalized-deprecated.cpp
generic-selection.cpp Allow use of an elaborated type specifier in a _Generic association in C++ 2022-06-06 07:17:35 -04:00
GH59446.cpp [Clang] Add sanity check in Sema::getDestructorName to prevent nullptr dereference 2023-01-25 10:49:04 -08:00
GH61441.cpp [Sema] Fix crash on __fp16 parameters in template instantiations 2023-03-21 14:06:46 +01:00
gnu_inline.cpp
gnu-case-ranges.cpp
gnu-flags.cpp
goto2.cpp
goto.cpp [Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable 2021-06-01 15:38:48 -07:00
has_unique_object_reps_bitint.cpp Fix std::has_unique_object_representations for _BitInt types with padding bits 2022-06-01 11:34:40 -04:00
has_unique_object_reps_member_ptr.cpp
has_unique_object_reps_no_unique_addr.cpp Fix __has_unique_object_representations with no_unique_address 2021-08-26 09:23:37 +02:00
i-c-e-cxx.cpp Revert "Revert "Ensure that checkInitIsICE is called exactly once for every variable"" 2020-10-26 12:08:57 -07:00
ignored-reference-qualifiers-disabled.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
illegal-member-initialization.cpp
imaginary-constants.cpp
implicit-exception-spec.cpp
implicit-int.cpp Change the behavior of implicit int diagnostics 2022-05-04 08:35:47 -04:00
implicit-member-functions.cpp
implicit-virtual-member-functions.cpp
incomplete-call.cpp [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
increment-decrement.cpp
indirect-goto.cpp
inherit.cpp
init-expr-crash.cpp
init-priority-attr.cpp Guard init_priority attribute within libc++ 2020-11-20 15:53:26 -05:00
injected-class-name-crash.cpp
inline.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
instantiate-blocks.cpp
instantiate-template-fatal-error.cpp
int-ptr-cast-SFINAE.cpp Rewording "static_assert" diagnostics 2022-07-25 07:22:54 -04:00
integer-overflow.cpp [Clang] Add machinery to catch overflow in unary minus outside of a constant expression context 2023-01-31 09:35:12 -08:00
internal_linkage.cpp [Clang][DiagnosticSemaKinds] combine diagnostic texts 2021-08-06 13:58:21 -07:00
invalid-aligned-attr.cpp
invalid-constructor-init.cpp [AST] Enhance the const expression evaluator to support error-dependent exprs. 2020-11-18 15:48:06 +01:00
invalid-decl.cpp Fix for PR47544. Clang is crashing after generating the right 2020-10-27 05:57:39 -07:00
invalid-instantiated-field-decl.cpp
invalid-member-expr.cpp
invalid-requirement-requires-expr.cpp Add test for an invalid requirement in requires expr. 2023-01-16 12:28:49 +01:00
invalid-template-base-specifier.cpp Revert "DR2064: decltype(E) is only a dependent type if E is type-dependent, not 2021-01-19 12:48:40 -08:00
invalid-template-params.cpp Reland "nullptr returned from ActOnTag() is not a valid result" 2023-01-18 12:41:44 +01:00
invalid-template-specifier.cpp
issue547.cpp
lambda-capture-type-deduction.cpp [Clang] Implement Change scope of lambda trailing-return-type 2023-03-02 10:04:16 +01:00
lambda-conversion-op-cc.cpp PR47372: Fix Lambda invoker calling conventions 2020-10-30 06:39:55 -07:00
lambda-expressions.cpp [clang] Fix aggregate initialization inside lambda constexpr 2023-03-06 03:38:49 -05:00
lambda-implicit-this-capture.cpp [clang] Warn by default that implicit capture of 'this' is deprecated in C++20 and later. 2023-02-02 15:10:47 -05:00
lambda-invalid-capture.cpp Change the behavior of implicit int diagnostics 2022-05-04 08:35:47 -04:00
lambda-pack-expansion.cpp [clang] Correctly handle by-reference capture with an initializer that is a pack expansion in lambdas. 2022-12-07 16:00:58 +01:00
lambda-unevaluated.cpp [clang] fix crash on generic lambda with lambda in decltype 2023-01-20 17:11:07 +08:00
lambdas-implicit-explicit-template.cpp Lambdas are not necessarily locals. This resolves DR48250. 2022-02-18 06:11:28 -08:00
large-array-init.cpp
libcxx_move_hack.cpp Treat std::move, forward, etc. as builtins. 2022-04-20 17:58:31 -07:00
libcxx_valarray_hack.cpp
libstdcxx_atomic_ns_hack.cpp clang: libstdc++ LWM is 4.8.3 2021-04-22 05:26:07 -07:00
libstdcxx_common_type_hack.cpp
libstdcxx_explicit_init_list_hack.cpp
libstdcxx_gets_hack.cpp
libstdcxx_is_pod_hack.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
libstdcxx_libcxx_less_hack.cpp
libstdcxx_map_base_hack.cpp [clang] Remove libstdc++ friend template hack 2021-05-03 04:19:30 -07:00
libstdcxx_pair_swap_hack.cpp
libstdcxx_pointer_return_false_hack.cpp
libstdcxx_transform_type_traits_hack.cpp [clang][libcxx] renames __remove_reference 2022-08-22 23:15:10 +00:00
linkage2.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
linkage-invalid-decl.cpp
linkage-spec.cpp
linkage.cpp [Clang] Convert various tests to opaque pointers (NFC) 2022-12-12 17:11:46 +01:00
literal-operators.cpp Fix a crash on an invalid templated UDL declaration 2021-10-15 10:00:16 -04:00
literal-type.cpp
local-classes.cpp
long-virtual-inheritance-chain.cpp
lookup-member.cpp Refactor and simplify class scope name lookup. 2020-11-25 16:25:33 -08:00
lookup-template-name-extern-CXX.cpp [AST] lookup in parent DeclContext for transparent DeclContext 2022-01-11 10:16:26 +08:00
lookup-through-export.cpp [AST] Don't consider 'ExportDecl' when calculating DeclContext 'Encloses' 2022-01-11 09:54:57 +08:00
lookup-through-linkage.cpp Don't consider 'LinkageSpec' when calculating DeclContext 'Encloses' 2021-11-29 06:08:16 -08:00
make_integer_seq.cpp
many-template-parameter-lists.cpp
matrix-casts.cpp [Matrix] Move C++ matrix cast checks to TryStaticCast. 2021-05-28 13:00:28 +01:00
matrix-type-builtins-disabled.cpp
matrix-type-builtins.cpp Add type information to integral template argument if required. 2021-05-12 19:00:08 +00:00
matrix-type-operators.cpp [clang] use getCommonSugar in an assortment of places 2022-09-16 16:36:00 +02:00
matrix-type.cpp
member-class-11.cpp [Sema] Fix friend destructor declarations after D130936 2022-08-16 22:28:19 +03:00
member-expr-anonymous-union.cpp
member-expr-static.cpp
member-expr.cpp [Clang] Fix assert in Sema::LookupTemplateName so that it does not attempt an unconditional cast to TagType 2022-08-26 09:40:43 -07:00
member-init.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
member-location.cpp
member-name-lookup.cpp Part of C++ DR 39: a class member lookup is not ambiguous if it finds the 2020-11-25 17:03:11 -08:00
member-operator-expr.cpp
member-pointer-ms.cpp
member-pointer-size.cpp
member-pointer.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
member-pointers-2.cpp
microsoft-cxx0x.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
microsoft-dtor-lookup-cxx11.cpp [clang] Add fix-it note to defaulted-function-deleted warning 2022-10-04 19:38:10 +01:00
microsoft-dtor-lookup.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
microsoft-new-delete.cpp
microsoft-super.cpp
microsoft-template-shadow.cpp
microsoft-varargs-diagnostics.cpp
microsoft-varargs.cpp
microsoft-vs-float128.cpp
MicrosoftCompatibility.cpp [C++2a] P0634r3: Down with typename! 2022-09-28 09:50:19 -07:00
MicrosoftCompatibilityNoExceptions.cpp
MicrosoftExtensions.cpp [C++2a] P0634r3: Down with typename! 2022-09-28 09:50:19 -07:00
MicrosoftSuper.cpp [C++2a] P0634r3: Down with typename! 2022-09-28 09:50:19 -07:00
misaligned-member-with-depdent-type.cpp [Clang] Fix crash when checking misaligned member with dependent type 2022-10-18 21:05:49 +08:00
missing-header.cpp
missing-members.cpp
missing-namespace-qualifier-typo-corrections.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
modules.cppm [C++20] [Modules] Deprecate to load C++20 Modules eagerly 2023-03-03 14:25:33 +08:00
ms_integer_suffix.cpp
ms_mutable_reference_member.cpp
ms_struct.cpp
ms_wide_bitfield.cpp Combine two diagnostics into one and correct grammar 2021-07-14 11:43:28 -04:00
ms-const-member-expr.cpp
ms-empty_bases.cpp
ms-exception-spec.cpp
ms-friend-lookup.cpp
ms-implicit-complete-dtor.cpp
ms-initlist-narrowing.cpp
ms-inline-asm.cpp
ms-interface.cpp Properly print unnamed TagDecl objects in diagnostics 2022-10-14 08:18:28 -04:00
ms-iunknown-inline-def.cpp
ms-iunknown-outofline-def.cpp
ms-iunknown-template-function.cpp
ms-iunknown.cpp
ms-layout_version.cpp
ms-no-rtti-data.cpp [Sema][MSVC] warn at dynamic_cast/typeid when /GR- is given 2020-09-16 10:38:52 -07:00
ms-novtable.cpp
ms-overload-entry-point.cpp
ms-property-error.cpp
ms-property.cpp
ms-unsupported.cpp
ms-uuid.cpp
ms-wchar.cpp
namespace-alias.cpp
namespace.cpp
neon-vector-types.cpp
nested-name-spec-locations.cpp
nested-name-spec.cpp [clang][sema] Provide better diagnostic for missing template arguments 2022-06-15 16:06:06 +02:00
new-array-size-conv.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
new-delete-0x.cpp
new-delete-array.cpp Fix crash when diagnosing a CTAD failure in an array new expression 2021-10-18 14:01:55 -04:00
new-delete-cxx0x.cpp
new-delete-predefined-decl-2.cpp
new-delete-predefined-decl.cpp
new-delete.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
new-null.cpp
no_destroy.cpp
no-exceptions.cpp
no-implicit-builtin-decls.cpp
no-rtti-data.cpp [Sema][MSVC] warn at dynamic_cast/typeid when /GR- is given 2020-09-16 10:38:52 -07:00
no-rtti.cpp fix test no-rtti.cpp 2020-09-16 11:03:15 -07:00
no-warn-composite-pointer-type.cpp
no-warn-unused-const-variables.cpp
no-warn-user-defined-literals-in-system-headers.cpp
no-warn-user-defined-literals-in-system-headers.h
no-wchar.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
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 [Clang] Fix unconditional access to Attr pointer when checking if _Nullable is applicable to a type 2023-01-30 13:28:29 -08:00
nullptr_in_arithmetic_ops.cpp
nullptr-98.cpp
nullptr-arithmetic.cpp
nullptr.cpp Print nullptr_t namespace qualified within std:: 2021-09-21 11:21:40 -07:00
offsetof-0x.cpp
offsetof.cpp Diagnose extensions in 'offsetof' 2023-01-18 08:51:21 -05:00
old-style-cast.cpp
openmp_default_simd_align.cpp
operator-arrow-depth.cpp
operator-arrow-temporary.cpp
operator-new-size-diagnose_if.cpp
out-of-line-def-mismatch.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
overload-0x.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
overload-ary-bind.cpp [clang] Array list initialization (pre-p0388) 2021-09-09 08:30:04 -07:00
overload-call-copycon.cpp
overload-call.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
overload-decl.cpp
overload-member-call.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
overload-template.cpp
overload-value-dep-arg.cpp
overloaded-builtin-operators-0x.cpp
overloaded-builtin-operators-cxx17.cpp
overloaded-builtin-operators.cpp [clang] Print 32 candidates on the first failure, with -fshow-overloads=best. 2021-02-25 17:45:19 -08:00
overloaded-name.cpp
overloaded-operator-decl.cpp [Clang] P1169R4: static operator() 2022-09-29 23:03:26 +03:00
overloaded-operator.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
override-in-system-header.cpp
P1155.cpp [clang] Apply P1825 as Defect Report from C++11 up to C++20. 2021-07-01 12:10:06 +02:00
P30636.cpp [clang] Expose unreachable fallthrough annotation warning 2021-08-16 17:14:55 -07:00
paren-list-agg-init.cpp [clang] Reland parenthesized aggregate init patches 2023-01-12 09:58:15 -08:00
parentheses.cpp
pascal-strings.cpp
pass-object-size.cpp
pointer-forward-declared-class-conversion.cpp [clang] do not emit note for bad conversion when destination type qualifiers are not compatibly include source type qualifiers 2021-09-30 11:24:18 -07:00
ppc-pair-mma-types.cpp [clang] Changes to produce sugared converted template arguments 2022-10-27 05:50:00 +02:00
pr9812.cpp
pr13353.cpp
pr13394-crash-on-invalid.cpp
pr18284-crash-on-invalid.cpp Change the behavior of implicit int diagnostics 2022-05-04 08:35:47 -04:00
pr25181-crash-on-invalid.cpp
pr27047-default-init-expr-name-conflict.cpp
pr28050.cpp
pr30559.cpp
pr31042.cpp [clang] Fix crash for sizeof on VLAs 2022-01-12 16:10:58 +01:00
pr36536.cpp
pr47804.cpp Ensure TreeTransform considers ParmVarDecls as transformed Decls 2020-10-12 14:38:04 -07:00
pr48848.cpp [clang][PATCH][NFC] Correct test case related to review D95482 2021-02-02 07:06:43 -08:00
pr50497-crash-typeid.cpp [clang] Fix ICE with typeid & polymorphic class (pr50497) 2021-06-01 12:55:29 -07:00
pr51171-crash.cpp [clang] SIGSEGV at DeduceTemplateArgumentsByTypeMatch 2021-07-30 12:40:38 +03:00
PR5086-ambig-resolution-enum.cpp
PR6562.cpp
PR6618.cpp
PR7410.cpp
PR7944.cpp
PR8012.cpp
PR8385.cpp
PR8755.cpp
PR8884.cpp
PR9459.cpp Change the behavior of implicit int diagnostics 2022-05-04 08:35:47 -04:00
PR9460.cpp Change the behavior of implicit int diagnostics 2022-05-04 08:35:47 -04:00
PR9461.cpp Change the behavior of implicit int diagnostics 2022-05-04 08:35:47 -04:00
PR9572.cpp Use "default member initializer" instead of "in-class initializer" for diagnostics. 2020-09-29 15:04:23 -04:00
PR9884.cpp
PR9902.cpp
PR9908.cpp
PR10177.cpp
PR10243.cpp
PR10447.cpp
PR10458.cpp
PR11358.cpp
PR12481.cpp
PR12778.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
PR16677.cpp PR46231: Promote diagnostic for 'template<...>;' from ExtWarn to Error. 2020-07-29 12:35:18 -07:00
PR19955.cpp
PR20110.cpp
PR20334-std_initializer_list_diagnosis_assertion.cpp
PR20705.cpp
PR21679.cpp
PR22637.cpp
PR23334.cpp
PR25848.cpp
PR27037.cpp
PR28101.cpp [Clang] Fix PR28101 2022-03-24 00:38:45 +08:00
PR29152.cpp
PR31422.cpp
PR35832.cpp
PR38235.cpp
PR38913.cpp
PR40395.cpp
PR41139.cpp
PR49534.cpp [Sema] Mark virtual method declaration in union as invalid 2021-11-09 10:57:38 -08:00
PR51712-large-array-constexpr-check-oom.cpp [test] Add 'hwasan' feature and disable a test 2022-08-17 23:50:35 -07:00
PR57778.cpp [Modules] Don't judge if we're compiling a module unit by LangOpts::CurrentModule.empty() 2022-09-18 16:43:30 +08: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 [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02: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 Reland "nullptr returned from ActOnTag() is not a valid result" 2023-01-18 12:41:44 +01:00
recovery-expr-type.cpp [clang] Reland parenthesized aggregate init patches 2023-01-12 09:58:15 -08:00
recursive-lambda.cpp Do not merge LocalInstantiationScope for template specialization 2021-06-14 23:28:04 -04:00
redeclared-alias-template.cpp [clang] NFC: include non friendly types and missing sugar in test expectations 2021-10-27 23:03:29 +02:00
redeclared-auto.cpp
redefine_extname.cpp
ref-init-ambiguous.cpp
references.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
reinterpret-cast.cpp Disallow dereferencing of void* in C++. 2022-10-10 07:11:46 -07:00
reinterpret-fn-obj-pedantic.cpp
remove_pointer.mm [clang] adds unary type transformations as compiler built-ins 2022-08-22 03:03:32 +00:00
remove-nested-immediate-invocation-crash.cpp [clang][C++20] Fix clang/clangd assert/crash after compilation errors 2022-09-17 07:37:19 -07:00
reserved-identifier.cpp Add missing diagnostic for use of _reserved name in extern "C" 2021-10-06 15:13:06 -07:00
return-noreturn.cpp
return-stack-addr-2.cpp Add -Wreturn-local-addr, GCC alias for -Wreturn-stack-address 2023-01-12 18:25:12 +00:00
return-stack-addr.cpp [clang] Implement P2266 Simpler implicit move 2021-06-18 17:08:59 +02:00
return-void.cpp [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
return.cpp Better source location for -Wignored-qualifiers on trailing return types 2020-10-28 23:32:57 +01:00
rounding-math-crash.cpp [C++2a] P0634r3: Down with typename! 2022-09-28 09:50:19 -07:00
rounding-math.cpp Re-apply "[clang][Interp] Support floating-point values" 2023-01-25 15:13:09 +01:00
runtimediag-ppe.cpp
rval-references-examples.cpp Consistent spelling in diagnostics: {l,r}value instead of {l,r}-value 2020-11-15 18:05:11 +01:00
rval-references.cpp
scope-check.cpp PR49585: Emit the jump destination for a for loop 'continue' from within the scope of the condition variable. 2021-03-17 16:24:04 -07:00
self-comparison.cpp
shift.cpp [Diagnostics] Fix inconsistent shift-overflow warnings in C++20 2022-06-14 20:19:46 +05:30
short-enums.cpp
short-wchar-sign.cpp
size_t-literal.cpp Use functions with prototypes when appropriate; NFC 2022-02-07 09:25:01 -05:00
sizeless-1.cpp Revert "[clang] Instantiate alias templates with sugar" 2022-11-08 17:19:54 +01:00
source_location_err.cpp [Clang] Implement __builtin_source_location. 2022-03-28 18:29:02 -04:00
source_location.cpp Add __builtin_FILE_NAME() 2023-03-17 09:52:41 -04:00
specialization-diagnose-crash.cpp [Clang] Fix variant crashes from GH58028, GH57370 2022-09-30 21:17:34 +03:00
statements.cpp [Clang] Fix ClassifyImplicitMemberAccess to handle cases where the access in an unevaluated context is not within a CXXRecordDecl or CXXMethodDecl 2023-03-14 16:37:58 -07:00
static-array-member.cpp
static-assert-cxx17.cpp [clang][sema] Print more information about failed static assertions 2022-08-11 08:44:38 +02:00
static-assert.cpp [Clang] Implement CWG2518 - static_assert(false) 2023-02-28 17:21:40 +01:00
static-cast-complete-type.cpp
static-cast.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
static-data-member.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
static-initializers.cpp
std-align-val-t-in-operator-new.cpp PR49260: Improve diagnostics for no matching 'operator new'. 2021-03-05 15:53:10 -08:00
std-compare-cxx2a.cpp
storage-class.cpp
string-init.cpp
string-plus-char.cpp
string-plus-int.cpp
struct-class-redecl.cpp
subst-func-type-invalid-ret-type.cpp [clang] Fix a nullptr dereference bug on invalid code 2021-01-25 15:02:25 +01:00
subst-restrict.cpp
sugar-common-types.cpp [clang] Implement divergence for TypedefType and UsingType 2022-10-03 23:23:58 +02:00
sugared-auto.cpp [clang] use getCommonSugar in an assortment of places 2022-09-16 16:36:00 +02:00
suppress.cpp
switch-0x.cpp
switch-implicit-fallthrough-blocks.cpp
switch-implicit-fallthrough-cxx98.cpp
switch-implicit-fallthrough-macro.cpp
switch-implicit-fallthrough-off-by-default.cpp
switch-implicit-fallthrough-per-method.cpp
switch-implicit-fallthrough.cpp [clang] Omit most AttributedStatements from the CFG 2021-10-12 09:15:45 -04:00
switch.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
tag-ambig.cpp
template-ambiguous-overload.cpp
template-default-param-through-using.cpp
template-multiple-attr-propagation.cpp
template-specialization-fatal.cpp [clang] Do not crash on template specialization following a fatal error 2021-04-23 13:34:05 +02:00
template-specialization.cpp
templated-friend-decl.cpp
this.cpp
thread-safety-annotations.h Thread safety analysis: Test and document release_generic_capability 2020-09-06 20:37:41 +02:00
thread-safety-coro.cpp [Coroutines] Remove -fcoroutines-ts 2023-02-23 14:40:58 +08:00
thread-safety-reference-handling.cpp
trailing-return-0x.cpp PR46637: Fix handling of placeholder types in trailing-return-types. 2020-07-28 15:54:10 -07:00
trivial-constructor.cpp [Sema] Add deprecation warnings for some compiler provided __has_* type traits 2022-07-12 19:24:17 +03:00
trivial-destructor.cpp [Sema] Add deprecation warnings for some compiler provided __has_* type traits 2022-07-12 19:24:17 +03:00
try-print-as-string-literal-type-check.cpp [clang] add APValue type check in TryPrintAsStringLiteral 2022-08-10 08:42:59 +08:00
type_pack_element.cpp
type-attrs.cpp
type-convert-construct.cpp [AST][RecoveryAST] Preserve the type by default for recovery expression. 2020-08-24 14:28:28 +02:00
type-definition-in-specifier.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
type-dependent-exprs.cpp
type-formatting.cpp
type-trait-eval-crash-issue-57008.cpp [clang] fix frontend crash when evaluating type trait 2022-08-13 00:02:19 +08:00
type-traits-incomplete.cpp
type-traits-ms-extensions.cpp [clang] makes __is_destructible KEYALL instead of KEYMS 2022-10-11 00:13:58 +00:00
type-traits.cpp [Clang] Export CanPassInRegisters as a type trait 2023-02-13 19:16:23 +02:00
typedef-redecl.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
typeid-ref.cpp Try to fix tests on Windows after 0cbf61be8b 2020-12-03 10:55:05 -05:00
typeid.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
types_compatible_p.cpp Use functions with prototypes when appropriate; NFC 2022-02-07 09:25:01 -05:00
typo-correction-blocks.c
typo-correction-crash.cpp [clang] Fix a crash on CheckArgAlignment. 2021-05-19 13:29:28 +02:00
typo-correction-cxx11.cpp
typo-correction-cxx17.cpp [clang] [test] [NFC] Eliminate some hard tabs in tests 2022-02-16 10:42:58 -05:00
typo-correction-delayed.cpp Change the behavior of implicit int diagnostics 2022-05-04 08:35:47 -04:00
typo-correction.cpp [C++2a] P0634r3: Down with typename! 2022-09-28 09:50:19 -07:00
unaddressable-functions.cpp
unary-real-imag.cpp
unavailable_aligned_allocation.cpp [clang] Correct the macOS version that supports aligned allocation 2022-07-06 15:04:53 -04:00
undefined-inline.cpp
undefined-internal.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
underlying_type.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
uninit-variables-conditional.cpp
uninit-variables.cpp
uninitialized.cpp [Sema] Fix missing warning on initializer lists on field initializers with overloaded operators 2020-08-10 19:32:59 -07:00
unknown-anytype-blocks.cpp
unknown-anytype.cpp
unknown-type-name.cpp [C++2a] P0634r3: Down with typename! 2022-09-28 09:50:19 -07:00
unqualified-std-call-fixits.cpp Use builtin recognition to detect std::move / std::forward. 2022-04-21 14:21:07 -07:00
unqualified-std-call.cpp Use builtin recognition to detect std::move / std::forward. 2022-04-21 14:21:07 -07:00
unreachable-catch-clauses.cpp Fix false positive with unreachable C++ catch handlers 2023-03-14 11:08:39 -04:00
unreachable-code.cpp [clang][diagnostics] Don't warn about unreachable code in constexpr if 2022-08-15 15:24:39 -04:00
unsafe-buffer-usage-diag-type.cpp [-Wunsafe-buffer-usage] Group diagnostics by variable 2023-01-18 15:00:22 -08:00
unused-functions.cpp
unused-with-error.cpp
unused.cpp
user-defined-conversions.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
using-decl-1.cpp
using-decl-pr4441.cpp
using-decl-pr4450.cpp
using-decl-templates.cpp Add boundary check for ASTUnresolvedSet::erase 2022-11-06 15:07:42 -08:00
using-declspec.cpp [NFC] Fix using-declspec.cpp test with non-C++17 compilers 2023-02-13 16:58:13 +01:00
using-directive.cpp
using-if-exists.cpp [clang] Implement the using_if_exists attribute 2021-06-02 10:30:24 -04:00
value-dependent-exprs.cpp
value-initialization.cpp
vararg-class.cpp
vararg-default-arg.cpp
vararg-non-pod.cpp
varargs.cpp [Clang][Sema] Avoid crashing for va_arg expressions with bool argument 2022-01-07 10:41:45 +01:00
vartemplate-lambda.cpp [clang] Correct handling of lambdas in lambda default arguments in dependent contexts. 2022-10-04 09:04:54 -07:00
vector-bool.cpp [clang] Fix sizeof of boolean vector 2023-01-26 10:44:15 -05:00
vector-casts.cpp
vector-no-lax.cpp
vector-size-conditional.cpp [Clang] Allow "ext_vector_type" applied to Booleans 2022-03-16 11:10:32 +01:00
vector.cpp Handle char{8,16,32} and wchar_t in ASTContext::getIntegerRank() 2022-12-07 16:12:38 +01:00
virtual-base-used.cpp
virtual-function-in-union.cpp [Sema] Mark virtual method declaration in union as invalid 2021-11-09 10:57:38 -08:00
virtual-member-functions-key-function.cpp
virtual-override-x64.cpp
virtual-override-x86.cpp
virtual-override.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
virtuals.cpp
visibility.cpp
vla-construct.cpp PR47805: Use a single object for a function parameter in the caller and 2020-10-14 17:43:51 -07:00
vla.cpp Fix a test failing on windows 2020-12-04 11:20:17 -05:00
void-argument.cpp [clang] Use the location of the void parameters when complaining that only a single void parameter should be present. 2020-07-31 20:36:58 +01:00
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 [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
warn-bitfield-enum-conversion.cpp
warn-bitwise-compare.cpp Missing tautological compare warnings due to unary operators 2022-08-19 10:46:29 -04:00
warn-bool-conversion.cpp
warn-c++1z-extensions.cpp
warn-c++11-extensions.cpp
warn-cast-align.cpp
warn-cast-function-type-strict.cpp [Clang][Sema] Add -Wcast-function-type-strict 2022-10-26 20:38:37 +00:00
warn-cast-function-type.cpp [Clang][Sema] Add -Wcast-function-type-strict 2022-10-26 20:38:37 +00:00
warn-cast-qual.cpp
warn-char-subscripts.cpp
warn-comma-operator.cpp [Sema] fix false -Wcomma being emitted from void returning functions 2022-08-16 20:44:38 +08:00
warn-constant-evaluated-constexpr.cpp
warn-consumed-analysis.cpp Treat std::move, forward, etc. as builtins. 2022-04-20 17:58:31 -07: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 clang: Tweak behaviour of warn_empty_while_body and warn_empty_if_body 2022-06-24 02:40:25 +02:00
warn-enum-compare.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
warn-everthing.cpp
warn-exit-time-destructors.cpp
warn-final-dtor-non-final-class.cpp
warn-float-conversion.cpp
warn-func-not-needed.cpp [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
warn-global-constructors.cpp
warn-implicit-conversion-floating-point-to-bool.cpp
warn-inconsistent-missing-destructor-override
warn-infinite-recursion.cpp Correct -Winfinite-recursion warning on potentially-unevaluated operand 2022-06-30 09:09:28 -04:00
warn-inline-namespace-reopened-noninline-disable.cpp
warn-inline-namespace-reopened-twice.cpp [clang] Improve diagnostic for reopened inline namespace 2022-03-23 22:30:45 +01:00
warn-large-by-value-copy.cpp [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
warn-literal-conversion.cpp
warn-logical-not-compare.cpp
warn-loop-analysis.cpp
warn-max-unsigned-zero.cpp Add missing CHECK lines in test 2021-04-06 18:00:31 -07:00
warn-member-not-needed.cpp [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
warn-memset-bad-sizeof.cpp
warn-memsize-comparison.cpp
warn-missing-noreturn.cpp
warn-missing-prototypes.cpp Disable -Wmissing-prototypes for internal linkage functions that aren't explicitly marked "static" 2022-03-25 23:53:19 +00:00
warn-missing-variable-declarations.cpp
warn-msvc-enum-bitfield.cpp [clang][nearly-NFC] Remove some superfluous uses of NamedDecl::getNameAsString 2020-08-05 13:54:37 +01:00
warn-new-overaligned-2.cpp
warn-new-overaligned-3.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
warn-new-overaligned.cpp [Sema] Reject array element types whose sizes aren't a multiple of their 2022-09-21 09:15:03 -07:00
warn-once-on-unknown-attr.cpp [Clang] Fix unknown type attributes diagnosed twice with [[]] spelling 2022-04-12 21:11:51 +08:00
warn-overaligned-type-thrown.cpp Handle unknown OSes in DarwinTargetInfo::getExnObjectAlignment 2020-09-30 16:05:17 -07:00
warn-overloaded-virtual.cpp
warn-pessmizing-move.cpp
warn-pure-virtual-call-from-ctor-dtor.cpp [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
warn-pure-virtual-kext.cpp [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
warn-range-loop-analysis-trivially-copyable.cpp
warn-range-loop-analysis.cpp
warn-redundant-move.cpp
warn-reinterpret-base-class.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
warn-reorder-ctor-initialization.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
warn-self-assign-builtin.cpp [clang] Add a fixit for warn-self-assign if LHS is a field with the same name as parameter on RHS 2022-07-09 08:28:07 +01:00
warn-self-assign-field-builtin.cpp [clang] Add a fixit for warn-self-assign if LHS is a field with the same name as parameter on RHS 2022-07-09 08:28:07 +01:00
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 [clang] Add a fixit for warn-self-assign if LHS is a field with the same name as parameter on RHS 2022-07-09 08:28:07 +01:00
warn-shadow-in-lambdas.cpp [Clang] Implement Change scope of lambda trailing-return-type 2023-03-02 10:04:16 +01:00
warn-shadow.cpp [SEMA] Added warn_decl_shadow support for structured bindings 2021-02-23 13:37:05 -08:00
warn-sign-conversion-cpp11.cpp
warn-sign-conversion.cpp Modify TypePrinter to differentiate between anonymous struct and unnamed struct 2021-02-22 14:16:43 -08:00
warn-static-const-float.cpp
warn-static-function-inheader.cpp [clang] [test] [NFC] Eliminate some hard tabs in tests 2022-02-16 10:42:58 -05:00
warn-static-function-inheader.h
warn-static-outside-class-definition.cpp
warn-string-conversion.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
warn-suggest-destructor-override
warn-suggest-override
warn-sysheader-macro.cpp [clang] Introduce support for disabling warnings in system macros 2022-01-12 08:18:19 +00:00
warn-tautological-compare.cpp
warn-tautological-undefined-compare.cpp
warn-thread-safety-analysis.cpp Thread safety analysis: Support copy-elided production of scoped capabilities through arbitrary calls 2022-10-13 19:36:15 +02:00
warn-thread-safety-negative.cpp Thread safety analysis: Consider static class members as inaccessible 2020-10-30 00:35:14 +01:00
warn-thread-safety-parsing.cpp Fix duplicate word typos; NFC 2022-11-08 07:21:23 -05:00
warn-thread-safety-verbose.cpp Correct some thread safety analysis diagnostics; NFC. 2021-05-20 11:30:21 -04:00
warn-throw-out-noexcept-coro.cpp [Coroutines] Fix premature conversion of return object 2023-03-21 21:42:25 -07:00
warn-throw-out-noexcept-func.cpp
warn-undefined-bool-conversion.cpp
warn-undefined-internal.cpp Call MarkVirtualMembersReferenced on an actual class definition 2023-03-02 15:50:12 +01:00
warn-uninitialized-const-reference.cpp
warn-unreachable.cpp Missing tautological compare warnings due to unary operators 2022-08-19 10:46:29 -04:00
warn-unsafe-buffer-usage-crashes.c [-Wunsafe-buffer-usage] Suppress an assertion for visiting VarDecl twice. 2022-12-20 16:05:13 -08:00
warn-unsafe-buffer-usage-fixits-assign-to-array-subscr-on-ptr.cpp [-Wunsafe-buffer-usage] Fixits for assignments to array subscript expressions 2023-02-23 15:02:46 -08:00
warn-unsafe-buffer-usage-fixits-deref-simple-ptr-arith.cpp [-Wunsafe-buffer-usage] Add Fixable for dereference of simple ptr arithmetic 2023-03-20 17:07:03 -07:00
warn-unsafe-buffer-usage-fixits-local-var-span.cpp [-Wunsafe-buffer-usage] Reducing non-determinism in diagnostics output stream 2023-03-13 17:22:22 -07:00
warn-unsafe-buffer-usage-fixits-pointer-deref.cpp [-Wunsafe-buffer-usage] Add Fixable for simple pointer dereference 2023-03-22 15:32:51 -07:00
warn-unsafe-buffer-usage-function-attr.cpp [-Wunsafe-buffer-usage] Introduce the unsafe_buffer_usage attribute 2023-01-31 11:43:34 -08:00
warn-unsafe-buffer-usage-no-fixits.cpp [-Wunsafe-buffer-usage] Emit Fix-Its only for C++20 and later standards 2023-02-09 17:28:27 -08:00
warn-unsafe-buffer-usage-pragma-fixit.cpp [-Wunsafe-buffer-usage] Add unsafe buffer checking opt-out pragmas 2023-02-08 14:12:03 -08:00
warn-unsafe-buffer-usage-pragma-misuse.cpp [-Wunsafe-buffer-usage] Add unsafe buffer checking opt-out pragmas 2023-02-08 14:12:03 -08:00
warn-unsafe-buffer-usage-pragma.cpp [-Wunsafe-buffer-usage] Add unsafe buffer checking opt-out pragmas 2023-02-08 14:12:03 -08:00
warn-unsafe-buffer-usage-pragma.h [-Wunsafe-buffer-usage] Add unsafe buffer checking opt-out pragmas 2023-02-08 14:12:03 -08:00
warn-unsafe-buffer-usage-source-ranges.cpp [-Wunsafe-buffer-usage] Group diagnostics by variable 2023-01-18 15:00:22 -08:00
warn-unsafe-buffer-usage.cpp [-Wunsafe-buffer-usage] Generate fix-it for local variable declarations 2023-02-07 15:40:19 -08:00
warn-unsequenced-coro.cpp [Clang][SemaCXX][Coroutines] Fix misleading diagnostics with -Wunsequenced 2023-02-03 15:37:29 -08:00
warn-unsequenced.cpp
warn-unused-attribute.cpp
warn-unused-but-set-parameters-cpp.cpp [Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable 2021-06-01 15:38:48 -07:00
warn-unused-but-set-variables-cpp.cpp Relands "[Clang] -Wunused-but-set-variable warning - handle also pre/post unary operators" 2022-03-24 10:34:44 +01:00
warn-unused-comparison.cpp
warn-unused-filescoped.cpp [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
warn-unused-label-error.cpp [clang][parser] Unify rejecting (non) decl stmts with gnu attributes 2021-04-19 12:43:55 +02:00
warn-unused-lambda-capture.cpp Revert "Following up on PR48517, fix handling of template arguments that refer" 2021-01-20 15:55:35 +01:00
warn-unused-local-typedef-serialize.cpp
warn-unused-local-typedef-x86asm.cpp
warn-unused-local-typedef.cpp [clang] Fix wrong -Wunused-local-typedef warning within a template function 2022-03-21 13:21:25 +02:00
warn-unused-parameters.cpp Don't trigger unused-parameter warnings on naked functions 2022-01-27 11:40:08 -05:00
warn-unused-private-field-delayed-template.cpp
warn-unused-private-field.cpp [clang][c++20] Fix false warning for unused private fields when a class has only defaulted comparison operators. 2021-06-22 18:40:16 +02:00
warn-unused-result.cpp Support warn_unused_result on typedefs 2022-06-02 20:57:31 +00:00
warn-unused-value-cxx11.cpp
warn-unused-value.cpp Diagnose -Wunused-value based on CFG reachability 2021-09-28 10:00:15 -07:00
warn-unused-variables-error.cpp
warn-unused-variables.cpp [Clang] Do not warn on unused lifetime-extending vars with side effects... 2022-04-05 21:03:02 +02:00
warn-using-namespace-in-header.cpp
warn-variable-not-needed.cpp [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
warn-vla.cpp PR47805: Use a single object for a function parameter in the caller and 2020-10-14 17:43:51 -07:00
warn-weak-vtables.cpp Revert "Remove -Wweak-template-vtables" 2022-02-07 16:52:23 +01:00
warn-xor-as-pow.cpp [clang][sema] Ignore xor-used-as-pow if both sides are macros 2021-02-25 16:31:07 +01:00
warn-zero-nullptr-cxx20.cpp [clang] Skip defaulted functions in zero-as-null-pointer-constant. 2022-11-29 11:56:10 +01:00
warn-zero-nullptr.cpp
wasm-funcref.cpp [clang][WebAssembly] Initial support for reference type funcref in clang 2023-03-17 18:31:44 +01:00
wasm-refs.cpp [WebAssembly] Initial support for reference type externref in clang 2023-02-17 18:48:48 -08:00
wchar_t.cpp [clang] Do not crash on pointer wchar_t pointer assignment. 2020-11-20 15:27:15 +01:00
weak-init.cpp Rewording "static_assert" diagnostics 2022-07-25 07:22:54 -04:00
windows-arm-valist.cpp
writable-strings-deprecated.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
zero-length-arrays.cpp