llvm-project/clang/test/SemaCXX
Ivan Murashko 8eaa05d061 [clang] SIGSEGV at DeduceTemplateArgumentsByTypeMatch
There is a SIGSEGV at `DeduceTemplateArgumentsByTypeMatch`. The bug [#51171](https://bugs.llvm.org/show_bug.cgi?id=51171) was filled. The reproducer can be found at the bug description.

LIT test for the issue was added:
```
./bin/llvm-lit -v ../clang/test/SemaCXX/pr51171-crash.cpp
```

The debug stack trace is below:
```
 #0 0x00000000055afcb9 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/ivanmurashko/local/llvm-project/llvm/lib/Support/Unix/Signals.inc:565:22
 #1 0x00000000055afd70 PrintStackTraceSignalHandler(void*) /home/ivanmurashko/local/llvm-project/llvm/lib/Support/Unix/Signals.inc:632:1
 #2 0x00000000055add2d llvm::sys::RunSignalHandlers() /home/ivanmurashko/local/llvm-project/llvm/lib/Support/Signals.cpp:97:20
 #3 0x00000000055af701 SignalHandler(int) /home/ivanmurashko/local/llvm-project/llvm/lib/Support/Unix/Signals.inc:407:1
 #4 0x00007ffff7bc2b20 __restore_rt sigaction.c:0:0
 #5 0x00007ffff66a337f raise (/lib64/libc.so.6+0x3737f)
 #6 0x00007ffff668ddb5 abort (/lib64/libc.so.6+0x21db5)
 #7 0x00007ffff668dc89 _nl_load_domain.cold.0 loadmsgcat.c:0:0
 #8 0x00007ffff669ba76 .annobin___GI___assert_fail.end assert.c:0:0
 #9 0x000000000594b210 clang::QualType::getCommonPtr() const /home/ivanmurashko/local/llvm-project/clang/include/clang/AST/Type.h:684:5
#10 0x0000000005a12ca6 clang::QualType::getCanonicalType() const /home/ivanmurashko/local/llvm-project/clang/include/clang/AST/Type.h:6467:36
#11 0x0000000005a137a6 clang::ASTContext::getCanonicalType(clang::QualType) const /home/ivanmurashko/local/llvm-project/clang/include/clang/AST/ASTContext.h:2433:58
#12 0x0000000009204584 DeduceTemplateArgumentsByTypeMatch(clang::Sema&, clang::TemplateParameterList*, clang::QualType, clang::QualType, clang::sema::TemplateDeductionInfo&, llvm::SmallVectorImpl<clang::DeducedTemplateArgument>&, unsigned int, bool, bool) /home/ivanmurashko/local/llvm-project/clang/lib/Sema/SemaTemplateDeduction.cpp:1355:54
#13 0x000000000920df0d clang::Sema::DeduceTemplateArguments(clang::FunctionTemplateDecl*, clang::TemplateArgumentListInfo*, clang::QualType, clang::FunctionDecl*&, clang::sema::TemplateDeductionInfo&, bool) /home/ivanmurashko/local/llvm-project/clang/lib/Sema/SemaTemplateDeduction.cpp:4354:47
#14 0x0000000009012b09 (anonymous namespace)::AddressOfFunctionResolver::AddMatchingTemplateFunction(clang::FunctionTemplateDecl*, clang::DeclAccessPair const&) /home/ivanmurashko/local/llvm-project/clang/lib/Sema/SemaOverload.cpp:12026:38
#15 0x0000000009013030 (anonymous namespace)::AddressOfFunctionResolver::FindAllFunctionsThatMatchTargetTypeExactly() /home/ivanmurashko/local/llvm-project/clang/lib/Sema/SemaOverload.cpp:12119:9
#16 0x0000000009012679 (anonymous namespace)::AddressOfFunctionResolver::AddressOfFunctionResolver(clang::Sema&, clang::Expr*, clang::QualType const&, bool) /home/ivanmurashko/local/llvm-project/clang/lib/Sema/SemaOverload.cpp:11931:5
#17 0x0000000009013c91 clang::Sema::ResolveAddressOfOverloadedFunction(clang::Expr*, clang::QualType, bool, clang::DeclAccessPair&, bool*) /home/ivanmurashko/local/llvm-project/clang/lib/Sema/SemaOverload.cpp:12286:42
#18 0x0000000008fed85d IsStandardConversion(clang::Sema&, clang::Expr*, clang::QualType, bool, clang::StandardConversionSequence&, bool, bool) /home/ivanmurashko/local/llvm-project/clang/lib/Sema/SemaOverload.cpp:1712:49
#19 0x0000000008fec8ea TryImplicitConversion(clang::Sema&, clang::Expr*, clang::QualType, bool, clang::Sema::AllowedExplicit, bool, bool, bool, bool) /home/ivanmurashko/local/llvm-project/clang/lib/Sema/SemaOverload.cpp:1433:27
#20 0x0000000008ff90ba TryCopyInitialization(clang::Sema&, clang::Expr*, clang::QualType, bool, bool, bool, bool) /home/ivanmurashko/local/llvm-project/clang/lib/Sema/SemaOverload.cpp:5273:71
#21 0x00000000090024fb clang::Sema::AddBuiltinCandidate(clang::QualType*, llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool, unsigned int) /home/ivanmurashko/local/llvm-project/clang/lib/Sema/SemaOverload.cpp:7755:32
#22 0x000000000900513f (anonymous namespace)::BuiltinOperatorOverloadBuilder::addGenericBinaryArithmeticOverloads() /home/ivanmurashko/local/llvm-project/clang/lib/Sema/SemaOverload.cpp:8633:30
#23 0x0000000009007624 clang::Sema::AddBuiltinOperatorCandidates(clang::OverloadedOperatorKind, clang::SourceLocation, llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&) /home/ivanmurashko/local/llvm-project/clang/lib/Sema/SemaOverload.cpp:9205:51
#24 0x0000000009018734 clang::Sema::LookupOverloadedBinOp(clang::OverloadCandidateSet&, clang::OverloadedOperatorKind, clang::UnresolvedSetImpl const&, llvm::ArrayRef<clang::Expr*>, bool) /home/ivanmurashko/local/llvm-project/clang/lib/Sema/SemaOverload.cpp:13469:1
#25 0x0000000009018d56 clang::Sema::CreateOverloadedBinOp(clang::SourceLocation, clang::BinaryOperatorKind, clang::UnresolvedSetImpl const&, clang::Expr*, clang::Expr*, bool, bool, clang::FunctionDecl*) /home/ivanmurashko/local/llvm-project/clang/lib/Sema/SemaOverload.cpp:13568:24
#26 0x0000000008b24797 BuildOverloadedBinOp(clang::Sema&, clang::Scope*, clang::SourceLocation, clang::BinaryOperatorKind, clang::Expr*, clang::Expr*) /home/ivanmurashko/local/llvm-project/clang/lib/Sema/SemaExpr.cpp:14606:65
#27 0x0000000008b24ed5 clang::Sema::BuildBinOp(clang::Scope*, clang::SourceLocation, clang::BinaryOperatorKind, clang::Expr*, clang::Expr*) /home/ivanmurashko/local/llvm-project/clang/lib/Sema/SemaExpr.cpp:14691:73
#28 0x0000000008b245d4 clang::Sema::ActOnBinOp(clang::Scope*, clang::SourceLocation, clang::tok::TokenKind, clang::Expr*, clang::Expr*) /home/ivanmurashko/local/llvm-project/clang/lib/Sema/SemaExpr.cpp:14566:1
#29 0x00000000085bfafb clang::Parser::ParseRHSOfBinaryExpression(clang::ActionResult<clang::Expr*, true>, clang::prec::Level) /home/ivanmurashko/local/llvm-project/clang/lib/Parse/ParseExpr.cpp:630:71
#30 0x00000000085bd922 clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState) /home/ivanmurashko/local/llvm-project/clang/lib/Parse/ParseExpr.cpp:177:1
#31 0x00000000085cbbcd clang::Parser::ParseExpressionList(llvm::SmallVectorImpl<clang::Expr*>&, llvm::SmallVectorImpl<clang::SourceLocation>&, llvm::function_ref<void ()>) /home/ivanmurashko/local/llvm-project/clang/lib/Parse/ParseExpr.cpp:3368:40
#32 0x000000000857f49c clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*) /home/ivanmurashko/local/llvm-project/clang/lib/Parse/ParseDecl.cpp:2416:5
#33 0x000000000857df16 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::SourceLocation*, clang::Parser::ForRangeInit*) /home/ivanmurashko/local/llvm-project/clang/lib/Parse/ParseDecl.cpp:2092:65
#34 0x000000000855f07b clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributesWithRange&, clang::ParsingDeclSpec&, clang::AccessSpecifier) /home/ivanmurashko/local/llvm-project/clang/lib/Parse/Parser.cpp:1138:1
#35 0x000000000855f136 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributesWithRange&, clang::ParsingDeclSpec*, clang::AccessSpecifier) /home/ivanmurashko/local/llvm-project/clang/lib/Parse/Parser.cpp:1153:57
#36 0x000000000855e644 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) /home/ivanmurashko/local/llvm-project/clang/lib/Parse/Parser.cpp:975:58
#37 0x000000000855d717 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, bool) /home/ivanmurashko/local/llvm-project/clang/lib/Parse/Parser.cpp:720:42
#38 0x0000000008558e01 clang::ParseAST(clang::Sema&, bool, bool) /home/ivanmurashko/local/llvm-project/clang/lib/Parse/ParseAST.cpp:158:37
#39 0x000000000627a221 clang::ASTFrontendAction::ExecuteAction() /home/ivanmurashko/local/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1058:11
#40 0x0000000006bdcc31 clang::CodeGenAction::ExecuteAction() /home/ivanmurashko/local/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:1045:5
#41 0x0000000006279b4d clang::FrontendAction::Execute() /home/ivanmurashko/local/llvm-project/clang/lib/Frontend/FrontendAction.cpp:955:38
#42 0x00000000061c3fe9 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/ivanmurashko/local/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:974:42
#43 0x00000000063f9c5e clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/ivanmurashko/local/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:278:38
#44 0x0000000002603a03 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/ivanmurashko/local/llvm-project/clang/tools/driver/cc1_main.cpp:246:40
#45 0x00000000025f8a39 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) /home/ivanmurashko/local/llvm-project/clang/tools/driver/driver.cpp:338:20
#46 0x00000000025f9107 main /home/ivanmurashko/local/llvm-project/clang/tools/driver/driver.cpp:415:26
#47 0x00007ffff668f493 __libc_start_main (/lib64/libc.so.6+0x23493)
#48 0x00000000025f729e _start (/data/users/ivanmurashko/llvm-project/build/bin/clang-13+0x25f729e)
```

Reviewed By: erichkeane

Differential Revision: https://reviews.llvm.org/D106583
2021-07-30 12:40:38 +03:00
..
Inputs [Coroutines] Ensure co_await promise.final_suspend() does not throw 2020-06-22 15:01:42 -07:00
2008-01-11-BadWarning.cpp
Float16.cpp Remove F16 literal support based on Float16 support. 2019-01-25 18:36:20 +00:00
MicrosoftCompatibility.cpp [clang-cl] [Sema] Do not prefer integral conversion over floating-to-integral for MS compatibility 19.28 and higher. 2021-04-02 08:58:22 +02:00
MicrosoftCompatibilityNoExceptions.cpp
MicrosoftExtensions.cpp Re-commit [clang] Add support for the "abstract" contextual keyword of MSVC 2021-05-31 18:45:26 +02:00
MicrosoftSuper.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
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 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 Add missing diagnostic for explicit instantiation declarations naming 2019-04-26 01:51:07 +00:00
PR10243.cpp
PR10447.cpp
PR10458.cpp
PR11358.cpp
PR12481.cpp
PR12778.cpp
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 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 Remove Expr sugar decorating the CXXUuidofExpr node. 2019-01-27 07:24:03 +00:00
PR41139.cpp Check i < FD->getNumParams() before querying 2019-04-10 20:25:07 +00:00
PR49534.cpp [clang][Sema] Don't try to initialize implicit variable of invalid anonymous union/struct 2021-03-31 09:05:45 +08:00
__null.cpp
__try.cpp
aarch64-sve-explicit-casts-fixed-size.cpp [AArch64][SVE] Handle svbool_t VLST <-> VLAT/GNUT conversion 2021-07-22 13:55:08 +08:00
aarch64-sve-lax-vector-conversions.cpp [AArch64][SVE] Handle svbool_t VLST <-> VLAT/GNUT conversion 2021-07-22 13:55:08 +08:00
abstract.cpp [AST][RecoveryAST] Preserve the type by default for recovery expression. 2020-08-24 14:28:28 +02:00
access-base-class.cpp [clang] Don't emit "no member" diagnostic if the lookup fails on an invalid record decl. 2020-09-28 15:10:00 +02:00
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-arithmetic.cpp [SYCL] Prohibit arithmetic operations for incompatible pointers 2020-05-22 13:43:24 +03:00
address-space-conversion.cpp [Sema] Change addr space diagnostics in casts to follow C++ style. 2019-03-07 17:06:30 +00:00
address-space-ctor.cpp [Sema] Diagnose addr space mismatch while constructing objects 2019-06-20 16:23:28 +00:00
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 PR40329: [adl] Fix determination of associated classes when searching a 2019-01-16 22:01:39 +00:00
aggregate-init-cxx98.cpp
aggregate-initialization.cpp Remove warning "suggest braces" for aggregate initialization of an empty class with an aggregate base class. 2021-04-13 15:45:09 -04:00
alias-template.cpp [c++20] Implement P0846R0: allow (ADL-only) calls to template-ids whose 2019-05-09 03:31:27 +00:00
align-x86-abi7.cpp PR26547: alignof should return ABI alignment, not preferred alignment 2018-10-26 19:26:45 +00:00
align-x86.cpp PR26547: alignof should return ABI alignment, not preferred alignment 2018-10-26 19:26:45 +00:00
align_value.cpp
alignment-of-derived-class.cpp
alignof-sizeof-reference.cpp
alignof.cpp PR47138: Don't crash if the preferred alignment of an invalid record 2020-08-12 12:31:20 -07:00
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 [clang] Print 32 candidates on the first failure, with -fshow-overloads=best. 2021-02-25 17:45:19 -08:00
amdgpu-sizeof-alignof.cpp
anonymous-struct.cpp [C++20] Support for lambdas in unevaluated context 2021-06-28 09:01:56 -04:00
anonymous-union-cxx11.cpp
anonymous-union-export.cpp [c++2a] Implement semantic restrictions for 'export' declarations. 2019-04-22 22:50:11 +00: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 [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 Revert "[Sema] Fix -Warray-bounds false negative when casting an out-of-bounds array item" 2021-02-08 06:38:31 -06:00
arrow-operator.cpp
ast-print-crash.cpp Revert "Add extension to always default-initialize nullptr_t." 2018-12-14 22:41:18 +00:00
ast-print.cpp Revert r359814 "[Sema] Emit warning for visibility attribute on internal-linkage declaration" 2019-05-03 03:16:07 +00:00
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-annotate.cpp [Annotation] Allows annotation to carry some additional constant arguments. 2020-10-26 10:50:05 +01:00
attr-arm-sve-vector-bits.cpp [AArch64][SVE] Handle svbool_t VLST <-> VLAT/GNUT conversion 2021-07-22 13:55:08 +08:00
attr-callback-broken.cpp Emit !callback metadata and introduce the callback attribute 2019-01-19 05:36:54 +00:00
attr-callback.cpp Emit !callback metadata and introduce the callback attribute 2019-01-19 05:36:54 +00:00
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 CPUDispatch- allow out of line member definitions 2021-04-14 06:19:49 -07:00
attr-cxx-disabled.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-declspec-ignored.cpp
attr-deprecated-replacement-error.cpp
attr-deprecated-replacement-fixit.cpp
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 [clang] Add the exclude_from_explicit_instantiation attribute 2018-10-04 15:49:42 +00:00
attr-exclude_from_explicit_instantiation.explicit_instantiation.cpp [clang] Add the exclude_from_explicit_instantiation attribute 2018-10-04 15:49:42 +00:00
attr-exclude_from_explicit_instantiation.extern_declaration.cpp [clang] Add the exclude_from_explicit_instantiation attribute 2018-10-04 15:49:42 +00:00
attr-exclude_from_explicit_instantiation.merge_redeclarations.cpp [clang] Add the exclude_from_explicit_instantiation attribute 2018-10-04 15:49:42 +00:00
attr-flatten.cpp
attr-format.cpp
attr-gnu.cpp BuildVectorType with a dependent (array) type is crashing the compiler - Fix for PR-47542 2020-09-28 17:10:32 -07:00
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-likelihood.cpp Correct the tablegen for checking mutually exclusive stmt attrs 2021-04-13 15:20:30 -04: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 Rename identifiers to spell out analyze; NFC. 2019-05-21 22:43:48 +00:00
attr-no-sanitize-memory.cpp Rename identifiers to spell out analyze; NFC. 2019-05-21 22:43:48 +00:00
attr-no-sanitize-thread.cpp Rename identifiers to spell out analyze; NFC. 2019-05-21 22:43:48 +00:00
attr-no-sanitize.cpp ARM MTE stack sanitizer. 2019-07-15 20:02:23 +00:00
attr-no-speculative-load-hardening.cpp [clang][slh] add Clang attr no_speculative_load_hardening 2019-01-18 17:20:46 +00:00
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 [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 Revert "[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition" 2020-02-03 10:09:39 -08:00
attr-optnone.cpp Allow a double-underscore spelling of Clang attributes using double square bracket syntax. 2018-11-09 19:37:18 +00:00
attr-print.cpp
attr-regparm.cpp
attr-reinitializes.cpp
attr-require-constant-initialization.cpp Properly track whether a variable is constant-initialized. 2020-10-19 23:59:11 -07: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-mv.cpp [clang] Improve diagnostics for auto-return-type function if the return expr had an error. 2020-11-30 09:19:15 +01:00
attr-trivial-abi.cpp Clang crashed while checking for deletion of copy and move ctors 2020-07-07 14:40:37 -04:00
attr-unavailable.cpp [Sema] Deduplicate some availability checking logic 2019-03-20 19:26:33 +00:00
attr-unused.cpp [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
attr-used.cpp Improve diagnostic for ignored GNU 'used' attribute 2021-02-22 09:18:13 -08:00
attr-visibility.cpp Revert r359814 "[Sema] Emit warning for visibility attribute on internal-linkage declaration" 2019-05-03 03:16:07 +00:00
attr-weak.cpp
attr-weakref.cpp
attr-x86-interrupt.cpp
attr-x86-no_caller_saved_registers.cpp
attributed-auto-deduction.cpp
auto-cxx0x.cpp [Sema] Fix assertion when `auto` parameter in lambda has an attribute. 2019-03-29 18:47:07 +00:00
auto-cxx98.cpp
auto-invalid-init-crash.cpp [clang] Fix a crash on invalid auto. 2020-05-06 11:47:03 +02:00
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
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 [AST] dont invaliate VarDecl when the initializer contains errors. 2020-04-21 10:53:35 +02:00
blocks-1.cpp
blocks.cpp [Sema] Diagnose more cases of static data members in local or unnamed classes 2020-05-26 13:29:59 +01:00
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-align-cxx.cpp Add type information to integral template argument if required. 2021-05-12 19:00:08 +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 PR45534: don't ignore unmodeled side-effects when constant-evaluating a call to __builtin_constant_p. 2020-04-20 21:23:35 -07:00
builtin-exception-spec.cpp
builtin-is-constant-evaluated.cpp Properly track whether a variable is constant-initialized. 2020-10-19 23:59:11 -07: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
builtin_objc_msgSend.cpp
builtins-arm.cpp [Sema] Improved diagnostic for qualifiers in reference binding 2019-06-21 10:50:02 +00:00
builtins-overflow.cpp Fix constexpr __builtin_*_overflow issue when unsigned->signed operand. 2019-05-30 21:35:32 +00:00
builtins-va_arg.cpp
builtins.cpp Improve diagnostic for an expression that's not constant because it uses 2020-08-10 17:03:19 -07:00
c99-variable-length-array-cxx11.cpp PR47805: Use a single object for a function parameter in the caller and 2020-10-14 17:43:51 -07:00
c99-variable-length-array.cpp PR47805: Use a single object for a function parameter in the caller and 2020-10-14 17:43:51 -07:00
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 [AST][RecoveryExpr] Build recovery expressions by default for C++. 2020-06-12 15:21:38 +02:00
cast-explicit-ctor.cpp
cast-lvalue-to-rvalue-reference.cpp
cdtor-fn-try-block.cpp
char8_t.cpp [c++20] Implement P0482R6: enable -fchar8_t by default in C++20 mode. 2018-11-14 21:04:34 +00:00
class-base-member-init.cpp
class-layout.cpp
class-names.cpp
class.cpp Use "default member initializer" instead of "in-class initializer" for diagnostics. 2020-09-29 15:04:23 -04:00
co_await-range-for.cpp [Coroutines] Ensure co_await promise.final_suspend() does not throw 2020-06-22 15:01:42 -07:00
code-seg.cpp
code-seg1.cpp
comma.cpp
compare-cxx2a.cpp [clang] Stop providing builtin overload candidate for relational function pointer comparisons 2021-06-26 00:08:02 +02: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 Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
compare.cpp [Diagnostics] Support -Wtype-limits for GCC compatibility 2019-04-29 23:24:00 +00:00
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 Revert "Revert r347417 "Re-Reinstate 347294 with a fix for the failures."" 2018-11-30 23:41:18 +00:00
condition.cpp Modify TypePrinter to differentiate between anonymous struct and unnamed struct 2021-02-22 14:16:43 -08: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
constant-expression-cxx1z.cpp [c++17] Implement P0145R3 during constant evaluation. 2020-10-06 12:30:26 -07:00
constant-expression-cxx2a.cpp [AST] Update LVal before evaluating lambda decl fields. 2021-02-04 17:01:09 -08:00
constant-expression-cxx11.cpp [clang] Implement P2266 Simpler implicit move 2021-06-18 17:08:59 +02:00
constant-expression-cxx14.cpp [clang] Implement P2266 Simpler implicit move 2021-06-18 17:08:59 +02:00
constant-expression.cpp Revert "Revert "Ensure that checkInitIsICE is called exactly once for every variable"" 2020-10-26 12:08:57 -07:00
consteval-return-void.cpp Don't reject uses of void-returning consteval functions. 2020-08-20 15:40:09 -07:00
constexpr-ackermann.cpp
constexpr-array-unknown-bound.cpp
constexpr-backtrace-limit.cpp
constexpr-builtin-bit-cast.cpp [AST] Fix handling of long double and bool in __builtin_bit_cast 2020-09-02 15:01:53 -04:00
constexpr-default-arg.cpp
constexpr-default-init-value-crash.cpp [AST] Fix a crash on accessing a class without definition in constexpr function context. 2020-06-25 12:13:05 +02:00
constexpr-depth.cpp
constexpr-duffs-device.cpp
constexpr-factorial.cpp
constexpr-function-recovery-crash.cpp [AST] Fix a constexpr-evaluator crash on error-dependent returnstmt. 2020-12-10 10:12:15 +01:00
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 [APSInt][OpenMP] Fix isNegative, etc. for unsigned types 2019-04-23 17:04:15 +00:00
constexpr-value-init.cpp C++ DR2026: static storage duration variables are not zeroed before 2020-02-06 16:37:22 -08:00
constexpr-vectors.cpp Implement constexpr BinaryOperator for vector types 2020-06-22 07:05:43 -07:00
constructor-initializer.cpp [clang] Add fixit for Wreorder-ctor 2021-03-24 19:22:53 +00: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 [clang] C++98 implicit moves are back with a vengeance 2021-07-13 19:16:49 +02: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 [Coroutines] Ensure co_await promise.final_suspend() does not throw 2020-06-22 15:01:42 -07:00
coreturn.cpp [Coroutines] Ensure co_await promise.final_suspend() does not throw 2020-06-22 15:01:42 -07:00
coroutine-builtins.cpp The compiler is crashing when compiling a coroutine intrinsic without 2021-05-26 18:07:31 -07:00
coroutine-final-suspend-noexcept.cpp [Coroutines] Handle dependent promise types for final_suspend non-throw check 2020-06-25 11:27:27 -07:00
coroutine-rvo.cpp [clang] Implement P2266 Simpler implicit move 2021-06-18 17:08:59 +02:00
coroutine-seh.cpp
coroutine-traits-undefined-template.cpp
coroutine-unhandled_exception-warning.cpp [Coroutines] Ensure co_await promise.final_suspend() does not throw 2020-06-22 15:01:42 -07:00
coroutine-uninitialized-warning-crash.cpp [Coroutines] Ensure co_await promise.final_suspend() does not throw 2020-06-22 15:01:42 -07:00
coroutine_handle-addres-return-type.cpp [Coroutines] Warning if return type of coroutine_handle::address is not void* 2020-07-06 13:46:01 +08:00
coroutines.cpp [clang] Implement P2266 Simpler implicit move 2021-06-18 17:08:59 +02:00
crash-auto-36064.cpp SubstTemplateTypeParmType can contain an 'auto' type in their replacement type 2021-07-16 14:35:55 +02: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
cxx-altivec.cpp
cxx-deprecated.cpp
cxx-member-pointer-op.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 [AST][RecoveryExpr] Build recovery expressions by default for C++. 2020-06-12 15:21:38 +02:00
cxx0x-initializer-aggregates.cpp [clang] Treat variable-length array of incomplete element type as 2021-03-24 14:22:15 +01:00
cxx0x-initializer-constructor.cpp [AST][RecoveryExpr] Preserve the AST for invalid class constructions. 2020-07-20 13:11:15 +02:00
cxx0x-initializer-references.cpp
cxx0x-initializer-scalars.cpp Make the "too many braces in scalar initialization" extension cause 2018-12-20 20:58:53 +00:00
cxx0x-initializer-stdinitializerlist.cpp PR47861: Expand dangling reference warning to look through copy 2020-10-30 10:19:50 -07: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 [c++14] Implement missed piece of N3323: use "converted constant" rules 2020-08-19 15:45:51 -07:00
cxx1y-generic-lambdas-capturing.cpp [Sema] Add some basic lambda capture fix-its 2021-03-11 13:46:25 +00:00
cxx1y-generic-lambdas-variadics.cpp Update 'note-candiate' functions to skip lambda-conversion-op-overloads 2020-11-17 05:49:31 -08:00
cxx1y-generic-lambdas.cpp [Sema] Add some basic lambda capture fix-its 2021-03-11 13:46:25 +00: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 [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
cxx1y-variable-templates_top_level.cpp
cxx1z-ast-print.cpp Add type information to integral template argument if required. 2021-05-12 19:00:08 +00:00
cxx1z-class-template-argument-deduction.cpp [clang] Fix a crash when CTAD fails 2021-03-23 13:03:30 +01: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 grammar in diagnostic for wrong arity in a structured binding. 2021-01-13 17:41:09 -08:00
cxx1z-init-statement-template.cpp
cxx1z-init-statement-warn-unused.cpp
cxx1z-init-statement.cpp Refactor the way we handle diagnosing unused expression results. 2019-01-04 16:58:14 +00:00
cxx1z-lambda-star-this.cpp
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 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 PR47805: Use a single object for a function parameter in the caller and 2020-10-14 17:43:51 -07: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 Never call a destroying operator delete when cleaning up from an 2021-01-08 16:51:47 -08:00
cxx2a-explicit-bool.cpp [clang] Spell correct variable 2021-05-03 05:33:47 -07: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] 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 Implement WG21 P2156R1/WG14 N2557 on duplicate attributes 2021-04-13 12:30:04 -04:00
cxx2a-pointer-to-const-ref-member.cpp
cxx2a-template-lambdas.cpp [c++20] Implement P0428R2 - Familiar template syntax for generic lambdas 2019-05-04 10:49:46 +00: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-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 Implement P1301R4, which allows specifying an optional message on the [[nodiscard]] attribute. 2019-07-20 07:56:34 +00:00
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
cxx11-compat.cpp [Sema] Introduce BuiltinAttr, per-declaration builtin-ness 2020-09-17 19:28:57 +03:00
cxx11-crashes.cpp More robust fix for crash on invalid range-based for statement. 2020-06-08 13:11:23 -07:00
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 PR48545: Access check the inherited constructor, not the inheriting 2021-02-09 13:27:55 -08: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 [c++20] For P0732R2 / P1907R1: Basic frontend support for class types as 2020-10-21 13:21:41 -07:00
cxx20-constinit.cpp Fix interaction of `constinit` and `weak`. 2020-09-30 10:49:50 -07:00
cxx20-using-enum.cpp [clang] p1099 using enum part 2 2021-06-08 11:11:46 -07:00
cxx98-compat-flags.cpp
cxx98-compat-pedantic.cpp Update diagnostic groups for pre-compat warnings 2021-03-17 07:52:34 -04:00
cxx98-compat.cpp Use "default member initializer" instead of "in-class initializer" for diagnostics. 2020-09-29 15:04:23 -04:00
dcl_ambig_res.cpp
dcl_init_aggr.cpp
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 PR23029 / C++ DR2233: Allow expanded parameter packs to follow 2020-06-02 13:48:59 -07:00
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 [MS] Add frontend support for __declspec(allocator) 2019-03-25 23:20:18 +00:00
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 [AST][RecoveryExpr] Build recovery expressions by default for C++. 2020-06-12 15:21:38 +02: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
deduced-return-type-cxx14.cpp [clang] Implement P2266 Simpler implicit move 2021-06-18 17:08:59 +02:00
default-arg-closures.cpp
default-argument-temporaries.cpp
default-assignment-operator.cpp
default-constructor-initializers.cpp
default1.cpp PR47682: Merge the DeclContext of a merged FunctionDecl before we inherit 2021-01-22 15:46:41 -08:00
default2.cpp [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
defaulted-ctor-loop.cpp
defaulted-private-dtor.cpp
delete-and-function-templates.cpp
delete-mismatch.h
delete-non-virtual-dtor.cpp Split -Wdelete-non-virtual-dtor into two groups 2019-01-10 18:03:07 +00:00
delete.cpp
deleted-function-access.cpp
deleted-function.cpp
deleted-operator.cpp
dependent-auto.cpp
dependent-noexcept-unevaluated.cpp
dependent-types.cpp
deprecated-copy-with-dtor.cpp [Diagnostics] Restore -Wdeprecated warning when user-declared copy assignment operator is defined as deleted (PR45634) 2021-04-22 20:35:41 +02:00
deprecated-copy-with-user-provided-copy.cpp [Diagnostics] Restore -Wdeprecated warning when user-declared copy assignment operator is defined as deleted (PR45634) 2021-04-22 20:35:41 +02:00
deprecated-copy-with-user-provided-dtor.cpp [Diagnostics] Restore -Wdeprecated warning when user-declared copy assignment operator is defined as deleted (PR45634) 2021-04-22 20:35:41 +02:00
deprecated-copy.cpp [Diagnostics] Restore -Wdeprecated warning when user-declared copy assignment operator is defined as deleted (PR45634) 2021-04-22 20:35:41 +02:00
deprecated.cpp [Diagnostics] Restore -Wdeprecated warning when user-declared copy assignment operator is defined as deleted (PR45634) 2021-04-22 20:35:41 +02: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 [windows-itanium] handle dllimport/export code paths separately and share with PS4 2020-11-30 14:36:39 +00:00
dllimport-constexpr.cpp
dllimport-memptr.cpp
dllimport.cpp [windows-itanium] handle dllimport/export code paths separately and share with PS4 2020-11-30 14:36:39 +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 clang: Fix minor grammar-o in diag added in c354b2e3b 2020-08-13 10:06:40 -04:00
empty-class-layout.cpp
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 Fix parsing of enum-base to follow C++11 rules. 2020-05-08 19:32:00 -07:00
enum-increment.cpp
enum-scoped.cpp [clang] p1099 using enum part 1 2021-06-08 04:40:42 -07:00
enum-unscoped-nonexistent.cpp
enum.cpp Modify TypePrinter to differentiate between anonymous struct and unnamed struct 2021-02-22 14:16:43 -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.cpp
err_typecheck_assign_const_filecheck.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 Un-revert "[coroutines][PR40978] Emit error for co_yield within catch block" 2019-03-25 00:53:10 +00:00
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
ext-int-asm.cpp Fix test from 5f1f4a5 2020-05-14 08:22:08 -07:00
ext-int.cpp Implement _ExtInt conversion rules 2021-07-22 09:10:36 -04: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 Correct test my *really really* overaligning a type. 2019-02-03 04:10:38 +00:00
extern-c.cpp PR46859: Fix crash if declaring a template in a DeclScope with no DeclContext. 2020-07-29 12:02:55 -07:00
extra-semi.cpp
flexible-array-test.cpp
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
for-range-crash.cpp More robust fix for crash on invalid range-based for statement. 2020-06-08 13:11:23 -07:00
for-range-dereference.cpp [AST][RecoveryExpr] Build recovery expressions by default for C++. 2020-06-12 15:21:38 +02:00
for-range-examples.cpp Refactor the way we handle diagnosing unused expression results. 2019-01-04 16:58:14 +00:00
for-range-no-std.cpp
for-range-unused.cpp
format-strings-0x-nopedantic.cpp
format-strings-0x.cpp
format-strings.cpp
friend-class-nodecl.cpp
friend-out-of-line.cpp
friend-template-redecl.cpp Diagnose non-dependent qualified friend function template declarations 2019-05-02 00:49:05 +00:00
friend.cpp DR674, PR38883, PR40238: Qualified friend lookup should look for a 2019-01-07 06:00:46 +00:00
friend2.cpp Diagnose friend function template redefinitions. 2018-12-06 09:35:04 +00:00
friend3.cpp
funcdname.cpp
function-extern-c.cpp
function-overload-typo-crash.cpp
function-overloaded-redecl.cpp
function-pointer-arguments.cpp
function-redecl-2.cpp
function-redecl.cpp [SemaCXX] Param diagnostic matches overload logic 2019-02-01 03:30:29 +00:00
function-type-qual.cpp
functional-cast.cpp
generalized-deprecated.cpp
generic-selection.cpp Suppress printing template arguments that match default template 2020-11-11 15:05:51 -08:00
gnu-case-ranges.cpp
gnu-flags.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
goto.cpp [Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable 2021-06-01 15:38:48 -07:00
goto2.cpp
has_unique_object_reps_member_ptr.cpp
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
illegal-member-initialization.cpp
imaginary-constants.cpp
implicit-exception-spec.cpp PR23029 / C++ DR2233: Allow expanded parameter packs to follow 2020-06-02 13:48:59 -07:00
implicit-int.cpp
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 Improve error recovery from missing '>' in template argument list. 2020-03-27 18:59:01 -07:00
inline.cpp Update diagnostic groups for pre-compat warnings 2021-03-17 07:52:34 -04:00
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 PR47805: Use a single object for a function parameter in the caller and 2020-10-14 17:43:51 -07:00
internal_linkage.cpp
invalid-aligned-attr.cpp [AST] Fix recovery-expr crash on invalid aligned attr. 2020-04-15 16:15:20 +02:00
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 Improve recovery from invalid template-ids. 2020-03-27 17:11:04 -07: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 [c++20] For P1907R1: Add checking for structural types for non-type 2020-09-20 20:20:52 -07:00
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-conversion-op-cc.cpp PR47372: Fix Lambda invoker calling conventions 2020-10-30 06:39:55 -07:00
lambda-expressions.cpp [Sema] Add some basic lambda capture fix-its 2021-03-11 13:46:25 +00:00
lambda-invalid-capture.cpp [Sema] Add some basic lambda capture fix-its 2021-03-11 13:46:25 +00:00
lambda-unevaluated.cpp [C++20] Support for lambdas in unevaluated context 2021-06-28 09:01:56 -04:00
lambdas-implicit-explicit-template.cpp [SemaCXX] Handle lack of TypeSourceInfo on special member functions in templated lambdas 2021-06-22 17:26:05 -07:00
large-array-init.cpp
libcxx_valarray_hack.cpp Add missing diagnostic for explicit instantiation declarations naming 2019-04-26 01:51:07 +00:00
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
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
linkage-invalid-decl.cpp
linkage-spec.cpp
linkage.cpp [test] Add {{.*}} to make tests immune to dso_local/dso_preemptable/(none) differences 2020-12-30 20:52:01 -08:00
linkage2.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 Refactor and simplify class scope name lookup. 2020-11-25 16:25:33 -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] Add __builtin_matrix_column_load to Clang. 2020-06-18 10:47:55 +01:00
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 Add type information to integral template argument if required. 2021-05-12 19:00:08 +00:00
matrix-type.cpp [Matrix] Check non-dependent elt type before creating DepSizedMatrix. 2020-05-12 16:46:37 +01:00
member-class-11.cpp
member-expr-anonymous-union.cpp
member-expr-static.cpp
member-expr.cpp
member-init.cpp Use "default member initializer" instead of "in-class initializer" for diagnostics. 2020-09-29 15:04:23 -04: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 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 Revert "Revert "Temporarily do not drop volatile stores before unreachable"" 2021-07-09 11:44:34 -04:00
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
missing-header.cpp
missing-members.cpp
missing-namespace-qualifier-typo-corrections.cpp
modules-ts.cppm Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
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-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 [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 Rework how UuidAttr, CXXUuidofExpr, and GUID template arguments and constants are represented. 2020-04-15 12:20:42 -07:00
ms-wchar.cpp
ms_integer_suffix.cpp
ms_mutable_reference_member.cpp
ms_struct.cpp [clang] Don't emit warn_cxx_ms_struct when MSBitfields is enabled globally 2020-06-17 09:37:07 +03:00
ms_wide_bitfield.cpp Combine two diagnostics into one and correct grammar 2021-07-14 11:43:28 -04:00
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 Added a better diagnostic when using the delete operator with lambdas 2019-05-19 15:07:58 +00:00
new-delete-cxx0x.cpp
new-delete-predefined-decl-2.cpp
new-delete-predefined-decl.cpp
new-delete.cpp PR49260: Improve diagnostics for no matching 'operator new'. 2021-03-05 15:53:10 -08:00
new-null.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
no_destroy.cpp [Sema] Mark array element destructors referenced during initialization 2019-05-10 17:52:26 +00:00
non-empty-class-size-zero.cpp
nonnull.cpp
nothrow-as-noexcept-ctor.cpp
nothrow-vs-exception-specs.cpp Fix test failure from r362435 2019-06-03 19:57:52 +00:00
ns_returns_retained_block_return.cpp
null-cast.cpp
null_in_arithmetic_ops.cpp
nullability-declspec.cpp
nullability.cpp
nullptr-98.cpp
nullptr-arithmetic.cpp
nullptr.cpp CWG1423: don't permit implicit conversion of nullptr_t to bool. 2020-02-11 06:52:45 -08:00
nullptr_in_arithmetic_ops.cpp
offsetof-0x.cpp
offsetof.cpp
old-style-cast.cpp
openmp_default_simd_align.cpp
operator-arrow-depth.cpp
operator-arrow-temporary.cpp
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 Consistent spelling in diagnostics: {l,r}value instead of {l,r}-value 2020-11-15 18:05:11 +01:00
overload-template.cpp SemaOverload: Complete candidates before emitting the error, to ensure diagnostics emitted (or suppressed) during completion don't interfere with the overload notes 2019-05-03 00:44:50 +00:00
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
overloaded-operator.cpp
override-in-system-header.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
pointer-forward-declared-class-conversion.cpp clang: Fix minor grammar-o in diag added in c354b2e3b 2020-08-13 10:06:40 -04:00
ppc-pair-mma-types.cpp [PowerPC] Rename the vector pair intrinsics and builtins to replace the _mma_ prefix by _vsx_ 2020-12-17 13:19:27 -05:00
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 [Sema] Fix a crash when nonnull checking 2019-03-29 03:55:52 +00: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
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 Perform lvalue conversions on the left of a pseudo-destructor call 'p->~T()'. 2020-10-14 22:09:01 -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
recovery-expr-type.cpp [clang] Fix CallExpr dependence bit may not respect all its arguments. 2021-07-01 14:40:03 +02:00
recursive-lambda.cpp Do not merge LocalInstantiationScope for template specialization 2021-06-14 23:28:04 -04:00
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 [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01:00
reinterpret-cast.cpp [C++][Sema] Ignore top-level qualifiers in casts 2021-07-05 12:22:08 +01:00
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 [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.cpp [FPEnv] Tests for rounding properties of constant evalution 2020-10-29 13:53:13 +07: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 [c++20] Add deprecation warnings for the expression forms deprecated by P1120R0. 2019-12-16 17:49:45 -08:00
shift.cpp [Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable 2021-06-01 15:38:48 -07:00
short-enums.cpp
short-wchar-sign.cpp
size_t-literal.cpp [C++2b] Support size_t literals 2021-03-31 13:36:23 +00:00
sizeless-1.cpp [Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable 2021-06-01 15:38:48 -07:00
source_location.cpp Implement __builtin_LINE() et. al. to support source location capture. 2019-05-16 21:04:15 +00:00
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 [Sema][NFC] Add test for static_assert diagnistics with constexpr template functions. 2018-12-20 13:30:40 +00:00
static-assert.cpp Partially implement P1401R5 (Narrowing contextual conversions to bool) 2021-07-12 08:06:27 -04:00
static-cast-complete-type.cpp
static-cast.cpp
static-data-member.cpp
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 [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 Make -Wstring-plus-int warns even if when the result is not out of bounds 2019-01-03 17:45:28 +00:00
struct-class-redecl.cpp Fix -Wmismatched-tags to not warn on redeclarations of structs in system 2018-12-04 02:45:28 +00:00
subst-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
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][parser] Set source ranges for GNU-style attributes 2021-04-04 07:59:22 +02:00
switch.cpp PR51158: Don't emit -Wswitch or -Wcovered-switch-default for empty enums 2021-07-22 14:51:56 -07: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-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
trivial-destructor.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
type-dependent-exprs.cpp
type-formatting.cpp
type-traits-incomplete.cpp
type-traits.cpp Update __is_unsigned builtin to match the Standard. 2021-03-10 15:00:26 -08:00
type_pack_element.cpp
typedef-redecl.cpp DR1413 and part of P1815R2: Minor improvements to Clang's determination 2020-12-15 14:53:26 -08:00
typeid-ref.cpp Try to fix tests on Windows after 0cbf61be8b 2020-12-03 10:55:05 -05:00
typeid.cpp Refactor constant evaluation of typeid(T) to track a symbolic type_info 2019-05-17 07:06:46 +00:00
types_compatible_p.cpp
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
typo-correction-delayed.cpp Revert "[clang] Suppress "follow-up" diagnostics on recovery call expressions." 2021-01-22 13:04:37 +01:00
typo-correction.cpp Add regression test from PR46487. 2020-08-10 15:55:27 -07:00
unaddressable-functions.cpp
unary-real-imag.cpp
unavailable_aligned_allocation.cpp [SystemZ][z/OS] Set aligned allocation unavailable by default for z/OS 2020-09-16 14:49:03 -04:00
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 [Clang] Add a new warning to warn when passing uninitialized variables as const reference parameters to a function 2020-06-02 10:21:02 -07:00
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++] Interpret unknown identifier in parameter clause as unknown type 2019-05-05 12:15:17 +00:00
unreachable-catch-clauses.cpp
unreachable-code.cpp clang: Add test for -Wunreachable-code + weak redeclaration 2020-09-04 10:35:50 -04:00
unused-functions.cpp
unused-with-error.cpp
unused.cpp
user-defined-conversions.cpp Consistent spelling in diagnostics: {l,r}value instead of {l,r}-value 2020-11-15 18:05:11 +01:00
using-decl-1.cpp [clang] Don't segfault on incorrect using directive (PR41400) 2019-06-14 08:25:52 +00:00
using-decl-pr4441.cpp
using-decl-pr4450.cpp
using-decl-templates.cpp Fix a diagnoses-valid bug with using declarations 2021-06-04 15:52:07 -04: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 Fix compatibility for __builtin_stdarg_start 2020-03-28 23:24:13 +01:00
varargs.cpp Correct the behavior of va_arg checking in C++ 2021-06-09 07:18:32 -04:00
vartemplate-lambda.cpp [clang] Convert a default argument expression to the parameter type... 2020-06-11 13:18:45 +01:00
vector-casts.cpp
vector-no-lax.cpp For PR17164: split -fno-lax-vector-conversion into three different 2019-09-13 06:02:15 +00:00
vector-size-conditional.cpp [ExtVectorType] Support conditional select operator for C++. 2021-03-09 13:08:52 +00:00
vector.cpp Add element-type to the Vector TypeLoc types. 2021-01-07 09:14:36 -08:00
virtual-base-used.cpp [AST][RecoveryExpr] Build recovery expressions by default for C++. 2020-06-12 15:21:38 +02: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-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 [Builtins] Treat `bcmp` as a builtin. 2019-02-14 12:00:34 +00:00
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 PR23029 / C++ DR2233: Allow expanded parameter packs to follow 2020-06-02 13:48:59 -07:00
warn-c++1z-extensions.cpp
warn-c++11-extensions.cpp
warn-cast-align.cpp [Sema] Teach -Wcast-align to compute alignment of CXXThisExpr 2020-07-07 17:45:04 -07:00
warn-cast-function-type.cpp Fix pluralization error in diagnostic, and move C++ testcase to proper 2021-03-30 16:18:55 -07:00
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 [Sema] Fix -Wcomma for C89 2018-10-25 01:08:00 +00:00
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 Fix tests after r363749 2019-06-18 23:40:17 +00:00
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 [Sema] Fix-up a -Wfloat-conversion diagnostic 2019-02-14 22:48:01 +00:00
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 Restore Check for Unreachable Exit Block in -Winfinite-recursion 2019-02-13 22:22:23 +00:00
warn-inline-namespace-reopened-noninline-disable.cpp [Clang] Add support for -Wno-inline-namespace-reopened-noninline 2020-06-25 18:48:50 +03: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 Make -Wfor-loop-analysis work with C++17 2018-10-20 02:15:58 +00:00
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 [Diagnostics] Try to improve warning message for -Wreturn-type 2019-11-09 17:54:58 +01:00
warn-missing-prototypes.cpp Suggestions to fix -Wmissing-{prototypes,variable-declarations} 2019-06-18 22:57:08 +00:00
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 [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
warn-new-overaligned.cpp
warn-overaligned-type-thrown.cpp Handle unknown OSes in DarwinTargetInfo::getExnObjectAlignment 2020-09-30 16:05:17 -07:00
warn-overloaded-virtual.cpp [Basic] Extend DiagnosticEngine to store and format Qualifiers. 2019-01-04 11:50:36 +00:00
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 [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 [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 [C++][Sema] Ignore top-level qualifiers in casts 2021-07-05 12:22:08 +01:00
warn-reorder-ctor-initialization.cpp [clang] Add fixit for Wreorder-ctor 2021-03-24 19:22:53 +00:00
warn-self-assign-builtin.cpp
warn-self-assign-field-builtin.cpp
warn-self-assign-field-overloaded.cpp
warn-self-assign-overloaded-disable.cpp
warn-self-assign-overloaded.cpp
warn-self-comparisons.cpp
warn-self-move.cpp
warn-shadow-in-lambdas.cpp [C++17] Reject shadowing of capture by parameter in lambda 2018-10-25 20:15:03 +00:00
warn-shadow.cpp [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
warn-static-function-inheader.h
warn-static-outside-class-definition.cpp Allow 'static' storage specifier on an out-of-line class member template declaration in MSVCCompat mode. 2019-05-08 13:24:36 +00:00
warn-string-conversion.cpp
warn-suggest-destructor-override [clang] Add -Wsuggest-override 2020-07-12 16:05:24 -07:00
warn-suggest-override [clang] Add -Wsuggest-override 2020-07-12 16:05:24 -07:00
warn-sysheader-macro.cpp
warn-tautological-compare.cpp
warn-tautological-undefined-compare.cpp
warn-thread-safety-analysis.cpp Thread safety analysis: Always warn when dropping locks on back edges 2021-06-29 23:56:52 +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 false negative in -Wthread-safety-attributes 2021-03-24 17:45:25 +01: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-func.cpp
warn-undefined-bool-conversion.cpp
warn-uninitialized-const-reference.cpp [SemaCXX] Fix false positive of -Wuninitialized-const-reference in empty function body. 2020-07-06 10:52:05 -07:00
warn-unreachable.cpp Improve -Wtautological-overlap-compare 2019-09-21 02:37:10 +00:00
warn-unsequenced.cpp [clang] SequenceChecker: C++17 sequencing rule for overloaded operators. 2020-06-20 10:51:46 +01:00
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 Only consider built-in compound assignment operators for -Wunused-but-set-* 2021-06-14 08:04:03 +02: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 [Sema] Introduce BuiltinAttr, per-declaration builtin-ness 2020-09-17 19:28:57 +03:00
warn-unused-parameters.cpp
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 Disallow [[nodiscard]] on a function pointer declaration. 2020-04-16 09:28:49 -04:00
warn-unused-value-cxx11.cpp Don't apply lvalue-to-rvalue conversion in DefaultLValueConversion to 2020-05-13 20:12:10 -07:00
warn-unused-value.cpp Do not warn that an expression of the form (void)arr; is unused when 2020-05-27 17:26:29 -07:00
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 [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
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.cpp
wchar_t.cpp [clang] Do not crash on pointer wchar_t pointer assignment. 2020-11-20 15:27:15 +01:00
windows-arm-valist.cpp
writable-strings-deprecated.cpp
zero-length-arrays.cpp