teak-llvm/clang/test/SemaCXX
Richard Smith 8ce732b46f DR674, PR38883, PR40238: Qualified friend lookup should look for a
template specialization if there is no matching non-template function.

This exposed a couple of related bugs:
 - we would sometimes substitute into a friend template instead of a
   suitable non-friend declaration; this would now crash because we'd
   decide the specialization of the friend is a redeclaration of itself
 - ADL failed to properly handle the case where an invisible local
   extern declaration redeclares an invisible friend

Both are fixed herein: in particular, we now never make invisible
friends or local extern declarations visible to name lookup unless
they are the only declaration of the entity. (We already mostly did
this for local extern declarations.)

llvm-svn: 350505
2019-01-07 06:00:46 +00:00
..
Inputs [C++2a] Implement operator<=> CodeGen and ExprConstant 2018-05-07 21:07:10 +00:00
__null.cpp
__try.cpp
2008-01-11-BadWarning.cpp
abstract.cpp
access-base-class.cpp
access-control-check.cpp
access-member-pointer.cpp
access.cpp [Sema] When the address of a member function is used as a template 2018-06-13 05:26:23 +00:00
accessible-base.cpp [MS] Allow access to ambiguous, inaccessible direct bases 2017-10-27 22:48:41 +00:00
addr-of-overloaded-function-casting.cpp
addr-of-overloaded-function.cpp [Basic] Extend DiagnosticEngine to store and format Qualifiers. 2019-01-04 11:50:36 +00:00
address-of-temporary.cpp Warn if a local variable's initializer retains a pointer/reference to a 2018-07-24 00:55:08 +00:00
address-of.cpp
address-packed-member-memops.cpp
address-packed.cpp Ignore pointers to incomplete types when diagnosing misaligned addresses 2017-12-07 09:23:50 +00:00
address-space-conversion.cpp
address-space-initialize.cpp
address-space-newdelete.cpp
address-space-references.cpp [Sema] Updated note for address spaces to print the type. 2018-06-22 15:45:08 +00:00
aggregate-init-cxx98.cpp
aggregate-initialization.cpp [Sema] Check that the destructor for each element of class type is 2018-09-07 02:38:01 +00:00
alias-template.cpp [SemaCXX] Fix ICE for unexpanded parameter pack 2019-01-07 03:25:59 +00:00
align_value.cpp
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
alignment-of-derived-class.cpp
alignof-sizeof-reference.cpp
alignof.cpp [AST] Get aliased type info from an aliased TemplateSpecialization. 2018-11-05 17:25:26 +00:00
alloc-align-attr.cpp Clang changes for alloc_align attribute 2017-03-30 21:48:55 +00:00
altivec.cpp Remove the -faltivec alias option and replace it with -maltivec everywhere. 2017-03-21 22:06:18 +00:00
ambig-user-defined-conversions.cpp
ambiguous-builtin-unary-operator.cpp
ambiguous-conversion-show-overload.cpp
amdgpu-sizeof-alignof.cpp [AMDGPU] Fix size and alignment of size_t and pointer types 2017-07-05 04:58:24 +00:00
anonymous-struct.cpp [Clang Tablegen][RFC] Allow Early Textual Substitutions in Diagnostic messages. 2018-05-19 03:12:04 +00:00
anonymous-union-cxx11.cpp
anonymous-union-export.cpp Change test to output 'pcm' to the temp dir, not the source dir 2018-06-06 08:50:12 +00:00
anonymous-union.cpp [Sema] Fix parsing of anonymous union in language linkage specification 2018-06-06 05:16:34 +00:00
array-bound-merge.cpp
array-bounds-ptr-arith.cpp
array-bounds-system-header.cpp
array-bounds.cpp [Sema] Don't try to account for the size of an incomplete type in CheckArrayAccess 2018-12-20 20:05:11 +00: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 [AST] Fix printing tag decl groups in decl contexts 2018-05-15 00:44:14 +00:00
atomic-ops.cpp
atomic-type.cpp
attr-abi-tag-syntax.cpp
attr-after-definition.cpp
attr-aligned.cpp
attr-cleanup-gcc.cpp
attr-cleanup.cpp
attr-common.cpp
attr-cpuspecific.cpp Prevent cpu-specific/cpu-dispatch from giong on a lambda. 2018-09-10 14:31:56 +00:00
attr-cxx0x-fixit.cpp
attr-cxx0x.cpp
attr-cxx-disabled.cpp Fix a typo with -fno-double-square-bracket-attributes and add a test to demonstrate that it works as expected in C++11 mode. Additionally corrected the handling of -fdouble-square-bracket-attributes to be properly passed down to the cc1 option. 2017-10-21 20:28:58 +00:00
attr-declspec-ignored.cpp
attr-deprecated-replacement-error.cpp
attr-deprecated-replacement-fixit.cpp
attr-deprecated.cpp [Sema] Don't allow -Wunguarded-availability to be silenced with redecls 2017-07-05 17:08:56 +00:00
attr-disable-tail-calls.cpp
attr-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 Support accepting __gnu__ as a scoped attribute namespace that aliases to gnu. 2018-10-24 12:26:23 +00:00
attr-lifetimebound.cpp Avoid exposing name for range-based for '__range' variables in lifetime warnings. 2018-08-01 01:03:33 +00:00
attr-lto-visibility-public.cpp Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
attr-mode-tmpl.cpp Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
attr-no-sanitize-address.cpp
attr-no-sanitize-memory.cpp
attr-no-sanitize-thread.cpp
attr-no-sanitize.cpp Hardware-assisted AddressSanitizer (clang part). 2017-12-09 01:32:07 +00:00
attr-no-split-stack.cpp
attr-nodebug.cpp
attr-non-x86-no_caller_saved_registers.cpp [X86] Support of no_caller_saved_registers attribute 2017-04-27 12:01:00 +00:00
attr-nonnull.cpp
attr-noreturn.cpp [Sema] Use %sub to cleanup overload diagnostics 2018-05-30 01:00:41 +00:00
attr-notail.cpp
attr-on-explicit-template-instantiation.cpp [clang] Fix failing attribute test on Windows 2018-10-10 17:37:37 +00: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 Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
attr-regparm.cpp
attr-reinitializes.cpp Summary:Add clang::reinitializes attribute 2018-08-13 14:11:03 +00:00
attr-require-constant-initialization.cpp Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
attr-section.cpp Revert r332470 (and corresponding tests in r332492). 2018-05-18 20:18:17 +00:00
attr-selectany.cpp Enable __declspec(selectany) on any platform 2017-09-14 17:33:08 +00:00
attr-sentinel.cpp
attr-speculative-load-hardening.cpp [clang][slh] add attribute for speculative load hardening 2018-11-27 19:56:46 +00:00
attr-swiftcall.cpp Revert "Append new attributes to the end of an AttributeList." 2018-06-25 20:06:13 +00:00
attr-target-mv.cpp Clean up 'target' attribute diagnostics 2018-02-16 17:31:59 +00:00
attr-unavailable.cpp
attr-unused.cpp
attr-used.cpp
attr-visibility.cpp
attr-weak.cpp Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
attr-weakref.cpp
attr-x86-interrupt.cpp
attr-x86-no_caller_saved_registers.cpp Use ARC parsing rules for ns_returns_retained in MRC so that code can 2017-07-15 11:06:46 +00:00
attributed-auto-deduction.cpp
auto-cxx0x.cpp PR31846: Don't replace 'auto' type with a template parameter type in a generic lambda 2017-02-04 01:28:01 +00:00
auto-cxx98.cpp
auto-subst-failure.cpp
auto-type-from-cxx.cpp
base-class-ambiguity-check.cpp [Sema] Fix crash for type-dependent base classes 2018-01-13 15:24:16 +00:00
bitfield-layout.cpp
bitfield.cpp
block-call.cpp
blocks-1.cpp
blocks.cpp
bool-compare.cpp
bool.cpp
borland-extensions.cpp
builtin_objc_msgSend.cpp
builtin-assume-aligned-tmpl.cpp Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
builtin-assume-aligned.cpp
builtin-classify-type.cpp Rework __builtin_classify_type support to better match GCC and to not assert on 2018-05-23 21:18:00 +00:00
builtin-exception-spec.cpp
builtin-object-size-cxx14.cpp
builtin-operator-new-delete.cpp Fix test failure on Windows caused by different underlying enumeration type rules 2018-03-22 21:17:07 +00:00
builtin-ptrtomember-ambig.cpp
builtin-ptrtomember-overload-1.cpp
builtin-ptrtomember-overload.cpp
builtins-arm.cpp
builtins-overflow.cpp Simplify test from r334650 2018-06-13 20:47:12 +00:00
builtins-va_arg.cpp
builtins.cpp [Clang] Add __builtin_launder 2018-12-14 21:11:28 +00:00
c99-variable-length-array-cxx11.cpp
c99-variable-length-array.cpp
c99.cpp
call-with-static-chain.cpp
calling-conv-compat.cpp Model type attributes as regular Attrs. 2018-08-20 21:47:29 +00: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 [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 PR37275 packed attribute should not apply to base classes 2018-04-29 04:55:46 +00:00
class-names.cpp
class.cpp
co_await-range-for.cpp [coroutines] Fix co_await for range statement 2017-06-14 03:24:55 +00:00
code-seg1.cpp Add support for __declspec(code_seg("segname")) 2018-07-18 20:04:48 +00:00
code-seg.cpp Add support for __declspec(code_seg("segname")) 2018-07-18 20:04:48 +00:00
comma.cpp
compare-cxx2a.cpp [C++2a] Implement operator<=>: Address bugs and post-commit review comments after r331677. 2018-05-08 00:52:19 +00:00
compare.cpp [Sema] -Wtautological-constant-compare is too good. Cripple it. 2018-01-03 08:45:19 +00:00
complete-member-pointers.cpp Sema: Add a flag for rejecting member pointers with incomplete base types. 2018-05-30 03:40:04 +00:00
complex-conversion.cpp Sema: disable implicit conversion from _Complex to real types in C++. 2017-08-08 23:18:05 +00:00
complex-folding.cpp
complex-init-list.cpp
complex-overload.cpp Sema: disable implicit conversion from _Complex to real types in C++. 2017-08-08 23:18:05 +00:00
composite-pointer-type.cpp
compound-literal.cpp Revert "Revert r347417 "Re-Reinstate 347294 with a fix for the failures."" 2018-11-30 23:41:18 +00:00
condition.cpp
conditional-expr.cpp Support lifetime-extension of conditional temporaries. 2018-07-23 22:56:45 +00:00
const-cast.cpp DR330: look through array types when forming the cv-decomposition of a type. 2018-07-11 00:19:19 +00:00
constant-conversion.cpp [CFG] Allow CallExpr's to be looked up in CFG's 2018-03-15 00:09:26 +00:00
constant-expression-cxx1y.cpp [ExprConstant] Handle compound assignment when LHS has integral type and RHS has floating point type 2018-12-18 07:38:06 +00:00
constant-expression-cxx1z.cpp [Sema] Discarded statment should be an evaluatable context. 2018-07-03 22:15:36 +00:00
constant-expression-cxx2a.cpp [cxx2a] P0614R1: Support init-statements in range-based for loops. 2018-09-28 18:44:09 +00:00
constant-expression-cxx11.cpp Fix crash on call to __builtin_memcpy with a null pointer to an 2018-09-13 22:47:33 +00:00
constant-expression.cpp PR31701: Fix crash on invalid caused by parsing a dependent initializer when we 2017-01-20 01:19:46 +00:00
constexpr-ackermann.cpp
constexpr-array-unknown-bound.cpp Implement current CWG direction for support of arrays of unknown bounds in 2017-10-20 22:56:25 +00:00
constexpr-backtrace-limit.cpp
constexpr-default-arg.cpp Fold -Wreturn-stack-address into general initialization lifetime 2018-07-23 21:21:22 +00:00
constexpr-depth.cpp
constexpr-duffs-device.cpp
constexpr-factorial.cpp
constexpr-many-arguments.cpp
constexpr-nqueens.cpp
constexpr-printing.cpp Revert "Lexer: always allow imaginary constants in GNU mode." 2017-08-08 23:17:51 +00:00
constexpr-steps.cpp
constexpr-string.cpp [ExprConstant] Improve memchr/memcmp for type mismatch and multibyte element types 2018-12-12 16:53:43 +00:00
constexpr-turing.cpp
constexpr-value-init.cpp
constructor-initializer.cpp Fix PR 10758: Infinite recursion when dealing with copy-initialization 2017-05-16 10:23:58 +00:00
constructor-recovery.cpp
constructor.cpp PR38286: Don't crash when attempting to define a constructor for an 2018-08-08 00:42:42 +00:00
conversion-delete-expr.cpp
conversion-function.cpp Correctly diagnose when a conversion function is declared with a type qualifier in the declaration specifiers rather than in the conversion type id. Fixes PR30595. 2018-04-12 16:41:55 +00:00
conversion-incomplete-type.cpp
conversion.cpp
convert-to-bool.cpp
converting-constructor.cpp
copy-assignment.cpp
copy-constructor-error.cpp
copy-initialization.cpp [Sema] Improve diagnostics for const- and ref-qualified member functions 2017-12-31 18:27:29 +00:00
coreturn-eh.cpp [coroutines] Fix fallthrough warning on try/catch 2018-11-03 22:35:17 +00:00
coreturn.cpp [coroutines] Fix assertion during -Wuninitialized analysis 2017-05-31 19:36:59 +00:00
coroutine-rvo.cpp [coro]Pass rvalue reference for named local variable to return_value 2018-10-08 03:08:39 +00:00
coroutine-seh.cpp [coroutines] Wrap the body of the coroutine in try-catch 2017-05-22 22:33:17 +00:00
coroutine-traits-undefined-template.cpp [SemaCXX] Remove comment from coroutines test, NFC 2018-07-11 01:00:53 +00:00
coroutine-unhandled_exception-warning.cpp [coroutines] Improved diagnostics when unhandled_exception is missing in the promise_type 2017-05-24 14:34:19 +00:00
coroutine-uninitialized-warning-crash.cpp [coroutines] Fix assertion during -Wuninitialized analysis 2017-05-31 19:36:59 +00:00
coroutines.cpp [Sema] isValidCoroutineContext FIXME and citations 2018-06-23 18:01:02 +00:00
crash-lambda-12645424.cpp
crashes.cpp
cstyle-cast.cpp
cv-unqual-rvalues.cpp
cxx0x-class.cpp Revert r293455, which breaks v8 with a spurious error. Testcase added. 2017-01-30 10:44:11 +00:00
cxx0x-constexpr-const.cpp
cxx0x-cursory-default-delete.cpp Implement isDefined by call to isThisDeclarationADefinition. 2017-06-04 12:53:12 +00:00
cxx0x-defaulted-functions.cpp PR38627: Fix handling of exception specification adjustment for 2018-09-05 22:30:37 +00:00
cxx0x-delegating-ctors.cpp
cxx0x-deleted-default-ctor.cpp [cxx2a] P0641R2: (Some) type mismatches on defaulted functions only 2018-09-28 01:16:43 +00:00
cxx0x-initializer-aggregates.cpp Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
cxx0x-initializer-constructor.cpp Fix handling of initialization from parenthesized initializer list. 2017-03-24 01:14:25 +00:00
cxx0x-initializer-references.cpp Fix handling of initialization from parenthesized initializer list. 2017-03-24 01:14:25 +00:00
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 Fold -Wreturn-stack-address into general initialization lifetime 2018-07-23 21:21:22 +00:00
cxx0x-noexcept-expression.cpp
cxx0x-nontrivial-union.cpp [Sema] Fix PR22637 - IndirectFieldDecl's discard qualifiers during template instantiation. 2018-04-08 05:11:59 +00:00
cxx0x-return-init-list.cpp
cxx0x-type-convert-construct.cpp
cxx1y-constexpr-not-const.cpp
cxx1y-contextual-conversion-tweaks.cpp [Sema] Improve diagnostics for const- and ref-qualified member functions 2017-12-31 18:27:29 +00:00
cxx1y-deduced-return-type.cpp DR674, PR38883, PR40238: Qualified friend lookup should look for a 2019-01-07 06:00:46 +00:00
cxx1y-generic-lambdas-capturing.cpp Fix the second half of PR34266: Don't implicitly capture '*this' if the members are found in a class unrelated to the enclosing class. 2017-09-17 15:37:51 +00:00
cxx1y-generic-lambdas-variadics.cpp PR33082: Improve tracking of unexpanded parameter packs within variadic generic lambdas. 2017-08-15 19:11:21 +00:00
cxx1y-generic-lambdas.cpp [Sema] Use %sub to cleanup overload diagnostics 2018-05-30 01:00:41 +00:00
cxx1y-init-captures.cpp PR24164, PR39336: init-captures are not distinct full-expressions. 2018-10-19 19:01:34 +00:00
cxx1y-initializer-aggregates.cpp
cxx1y-sized-deallocation.cpp
cxx1y-user-defined-literals.cpp
cxx1y-variable-templates_in_class.cpp Improve diagnostics and error recovery for template name lookup. 2018-05-11 02:43:08 +00:00
cxx1y-variable-templates_top_level.cpp Factor out common code for diagnosing missing template arguments. 2018-04-26 01:08:00 +00:00
cxx1z-class-template-argument-deduction.cpp Handle dependent class template names in class template argument 2018-09-28 03:18:53 +00:00
cxx1z-constexpr-lambdas.cpp PR37450: Fix bug that disabled some type checks for variables with deduced types. 2018-05-14 20:15:04 +00:00
cxx1z-copy-omission.cpp [c++17] Refine resolution of constructor / conversion function disambiguation. 2017-11-01 01:37:11 +00:00
cxx1z-decomposition.cpp PR37352: mangle numbering for decomposition declarations. 2018-05-07 22:23:38 +00:00
cxx1z-init-statement-template.cpp [Sema] Fix using old initializer during switch statement transformation. 2017-09-21 17:58:27 +00:00
cxx1z-init-statement-warn-unused.cpp
cxx1z-init-statement.cpp Refactor the way we handle diagnosing unused expression results. 2019-01-04 16:58:14 +00:00
cxx1z-lambda-star-this.cpp Fix PR32831 (Try Again): 'this' capture while instantiating generic lambda call operator specialization 2017-05-02 20:56:34 +00:00
cxx1z-noexcept-function-type.cpp PR38141: check whether noexcept-specifications are equivalent in redeclarations 2018-07-12 21:11:25 +00:00
cxx1z-user-defined-literals.cpp Allow lexer to handle string_view literals. Patch from Anton Bikineev. 2016-12-30 04:51:10 +00:00
cxx2a-compat.cpp [c++20] Implement P0482R6: enable -fchar8_t by default in C++20 mode. 2018-11-14 21:04:34 +00:00
cxx2a-destroying-delete.cpp P0722R2: The first parameter in an implicit call to a destroying operator 2017-12-05 23:54:25 +00:00
cxx2a-initializer-aggregates.cpp P1008R1 Classes with user-declared constructors are never aggregates in 2018-09-26 19:00:16 +00:00
cxx2a-lambda-default-ctor-assign.cpp [cxx2a] P0624R2: Lambdas with no capture-default are 2018-09-27 22:47:04 +00:00
cxx2a-lambda-equals-this.cpp P0806R2 Implicit capture of this with a capture-default of [=] is 2018-07-07 05:58:48 +00:00
cxx2a-pointer-to-const-ref-member.cpp Fix PR34668 - P0704R1 implementation is too permissive 2018-07-13 16:27:45 +00:00
cxx2a-three-way-comparison.cpp [c++2a] P0515R3: Support for overloaded operator<=>. 2017-12-01 02:13:10 +00:00
cxx2a-user-defined-literals.cpp Enable C++2a Chrono Literals 2018-07-19 13:36:57 +00:00
cxx11-ast-print.cpp Handle lambda captures of variable length arrays in profiling and printing. 2017-11-11 00:54:25 +00:00
cxx11-attr-print.cpp
cxx11-call-to-deleted-constructor.cpp
cxx11-compat.cpp Add missing -Wc++11-compat / -Wc++14-compat warnings for: 2018-08-30 19:16:35 +00:00
cxx11-crashes.cpp
cxx11-default-member-initializers.cpp PR31692: Don't mark a declaration as invalid if we haven't necessarily emitted a (user-visible) error. 2017-01-23 23:14:23 +00:00
cxx11-gnu-attrs.cpp Allow writing calling convention attributes on function types. 2018-05-03 15:33:50 +00:00
cxx11-inheriting-ctors.cpp Fix assertion failure due to implicit special member lookup lacking a source location. 2017-02-15 04:18:23 +00: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-compat.cpp Enhance -Wc++14-compat for class template argument deduction to list the 2018-09-10 20:31:03 +00:00
cxx17-compat.cpp [cxx2a] P0614R1: Support init-statements in range-based for loops. 2018-09-28 18:44:09 +00:00
cxx98-compat-flags.cpp Provide a flag group to turn on/off all "binary literals" extension warnings. 2017-10-18 02:19:24 +00:00
cxx98-compat-pedantic.cpp
cxx98-compat.cpp Add missing -Wc++11-compat / -Wc++14-compat warnings for: 2018-08-30 19:16:35 +00:00
cxx-altivec.cpp Remove the -faltivec alias option and replace it with -maltivec everywhere. 2017-03-21 22:06:18 +00:00
cxx-deprecated.cpp Add regression test for PR37935. 2018-06-27 12:05:06 +00:00
cxx-member-pointer-op.cpp
dcl_ambig_res.cpp
dcl_init_aggr.cpp
decl-expr-ambiguity.cpp Suppress "redundant parens" warning for "A (::B())". 2017-12-21 22:26:47 +00:00
decl-init-ref.cpp
decl-microsoft-call-conv.cpp Revert "Append new attributes to the end of an AttributeList." 2018-06-25 20:06:13 +00:00
declspec-thread.cpp
decltype-98.cpp
decltype-crash.cpp
decltype-overloaded-functions.cpp
decltype-pr4444.cpp
decltype-pr4448.cpp
decltype-this.cpp
decltype.cpp
decomposed-condition.cpp Allow conditions to be decomposed with structured bindings 2017-12-07 07:03:15 +00:00
default1.cpp
default2.cpp
default-arg-closures.cpp [MS] Instantiate default args during instantiation of exported default ctors 2017-01-05 01:08:22 +00:00
default-argument-temporaries.cpp
default-assignment-operator.cpp Switch from using a DiagnosticTrap and a note for "while defining a special 2017-05-25 22:47:05 +00:00
default-constructor-initializers.cpp [Test] Make Lit tests C++11 compatible #10 2017-02-24 23:23:53 +00:00
defaulted-ctor-loop.cpp
defaulted-private-dtor.cpp
delete-and-function-templates.cpp
delete-mismatch.h
delete.cpp
deleted-function-access.cpp
deleted-function.cpp
deleted-operator.cpp Try to fix test/SemaCXX/deleted-operator.cpp after r318309 2017-11-15 17:47:58 +00:00
dependent-auto.cpp
dependent-noexcept-unevaluated.cpp
dependent-types.cpp
deprecated.cpp Fix missing -Wregister warning when 'register' is applied to a function parameter. 2017-11-01 23:38:37 +00:00
derived-to-base-ambig.cpp
designated-initializers-base-class.cpp [Sema] Fix bug in handling of designated initializer. 2017-01-17 19:35:54 +00:00
designated-initializers.cpp
destructor.cpp Remove accidental newline. 2017-08-31 06:18:26 +00:00
devirtualize-vtable-marking.cpp
diagnose_if-ext.cpp Add a test for diagnose_if. 2017-01-09 22:43:16 +00:00
diagnose_if.cpp Attempt to unbreak buildbots. 2017-01-28 04:16:32 +00:00
diagnostic-order.cpp
direct-initializer.cpp
discrim-union.cpp
dllexport-pr22591.cpp
dllexport.cpp Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
dllimport-constexpr.cpp Allow dllimport non-type template arguments in C++17 2018-05-10 18:57:35 +00:00
dllimport-memptr.cpp Allow dllimport non-type template arguments in C++17 2018-05-10 18:57:35 +00:00
dllimport.cpp Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
do-while-scope.cpp
dr1301.cpp [cxx2a] P0641R2: (Some) type mismatches on defaulted functions only 2018-09-28 01:16:43 +00:00
dynamic-cast.cpp
elaborated-type-specifier.cpp
empty-class-layout.cpp
enable_if.cpp Emit diagnostic note when calling an invalid function declaration. 2018-10-05 17:49:48 +00:00
enum-attr.cpp Add support for attribute enum_extensibility. 2017-03-21 02:23:00 +00:00
enum-bitfield.cpp
enum-increment.cpp
enum-scoped.cpp PR35586: Relax two asserts that are overly restrictive 2017-12-11 19:44:28 +00:00
enum-unscoped-nonexistent.cpp
enum.cpp [Test] Fix test file for C++98 mode 2018-10-18 21:26:01 +00:00
err_init_conversion_failed.cpp
err_reference_bind_drops_quals.cpp
err_typecheck_assign_const_filecheck.cpp Fix typos in clang 2018-04-06 15:14:32 +00:00
err_typecheck_assign_const.cpp Fif for an issue when Clang permits assignment to vector/extvector elements in a const method. 2018-02-09 09:30:42 +00:00
eval-crashes.cpp Fold -Wreturn-stack-address into general initialization lifetime 2018-07-23 21:21:22 +00:00
eval-sizeof-dependent-type.cpp
exception-spec-no-exceptions.cpp
exception-spec.cpp PR38627: Fix handling of exception specification adjustment for 2018-09-05 22:30:37 +00:00
exceptions-seh.cpp
exceptions.cpp
explicit.cpp
expression-traits.cpp
expressions.cpp
extern-c.cpp PR35697: look at the first declaration when determining whether a function or 2018-01-03 02:34:35 +00:00
extra-semi.cpp [Parser] (C++) Make -Wextra-semi slightly more useful 2018-03-14 19:31:34 +00:00
flexible-array-test.cpp [Sema] Add support for flexible array members in Obj-C. 2017-10-23 22:01:41 +00:00
fntype-decl.cpp
for-range-dereference.cpp P0962R1: only use the member form of 'begin' and 'end' in a range-based 2018-09-24 23:17:44 +00: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 [Test] Make Lit tests C++11 compatible - printf format string 2017-02-13 18:57:06 +00:00
friend2.cpp Diagnose friend function template redefinitions. 2018-12-06 09:35:04 +00:00
friend3.cpp Made test more target agnostic 2017-02-24 13:15:08 +00:00
friend-class-nodecl.cpp
friend-out-of-line.cpp
friend-template-redecl.cpp Diagnose friend function template redefinitions. 2018-12-06 09:35:04 +00:00
friend.cpp DR674, PR38883, PR40238: Qualified friend lookup should look for a 2019-01-07 06:00:46 +00:00
funcdname.cpp
function-extern-c.cpp
function-overload-typo-crash.cpp
function-overloaded-redecl.cpp
function-pointer-arguments.cpp
function-redecl-2.cpp
function-redecl.cpp
function-type-qual.cpp
functional-cast.cpp
generalized-deprecated.cpp
generic-selection.cpp
gnu-case-ranges.cpp
gnu-flags.cpp
goto2.cpp
goto.cpp
has_unique_object_reps_member_ptr.cpp Fix __has_unique_object_representations implementation 2017-11-30 16:37:02 +00:00
i-c-e-cxx.cpp Refactor checking of switch conditions and case values. 2018-07-26 18:41:30 +00:00
illegal-member-initialization.cpp
imaginary-constants.cpp Reapply Sema: allow imaginary constants via GNU extension if UDL overloads not present. 2017-08-09 14:56:48 +00:00
implicit-exception-spec.cpp PR38627: Fix handling of exception specification adjustment for 2018-09-05 22:30:37 +00:00
implicit-int.cpp
implicit-member-functions.cpp Add context note to diagnostics that occur while declaring an implicit special member function. 2017-02-23 21:43:43 +00:00
implicit-virtual-member-functions.cpp [Lit Test] Make tests C++11 compatible - Microsoft diagnostics 2017-02-06 19:32:38 +00:00
incomplete-call.cpp
increment-decrement.cpp
indirect-goto.cpp
inherit.cpp
init-expr-crash.cpp PR36055: fix computation of *-dependence in nested initializer lists. 2018-02-07 22:25:16 +00:00
init-priority-attr.cpp
injected-class-name-crash.cpp [Sema] Fix crash in getConstructorName. 2018-07-04 08:50:12 +00:00
inline.cpp Replace remaining user-visible mentions of C++1z with C++17. 2017-08-13 22:26:53 +00:00
instantiate-blocks.cpp [Sema] Fix crash on BlockExprs in a default member initializers 2018-07-23 22:47:37 +00:00
instantiate-template-fatal-error.cpp
integer-overflow.cpp [Sema] Emit -Winteger-overflow for arguments in function calls, ObjC messages. 2018-03-27 21:29:05 +00:00
internal_linkage.cpp Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
invalid-instantiated-field-decl.cpp
invalid-member-expr.cpp Improve diagnosis of unknown template name. 2017-05-10 21:32:16 +00:00
invalid-template-params.cpp [Sema] Fix a crash-on-invalid when a template parameter list has a class 2017-06-26 18:46:12 +00:00
invalid-template-specifier.cpp Improve diagnostics and error recovery for template name lookup. 2018-05-11 02:43:08 +00:00
issue547.cpp
lambda-expressions.cpp Fix crash on invalid. 2018-02-06 02:58:21 +00:00
lambda-invalid-capture.cpp Mark lambda decl as invalid if a captured variable has an invalid type. 2018-11-21 17:49:37 +00:00
large-array-init.cpp Revert r332847; it caused us to miscompile certain forms of reference initialization. 2018-05-21 20:36:58 +00:00
libstdcxx_atomic_ns_hack.cpp
libstdcxx_common_type_hack.cpp
libstdcxx_explicit_init_list_hack.cpp
libstdcxx_gets_hack.cpp PR18402: work around bug in libstdc++4.8's detection of whether ::gets exists. 2017-01-08 04:01:15 +00:00
libstdcxx_is_pod_hack.cpp
libstdcxx_libcxx_less_hack.cpp
libstdcxx_map_base_hack.cpp
libstdcxx_pair_swap_hack.cpp Fix tracking of whether the previous template instantiation stack matches the current one. 2017-02-23 02:09:03 +00:00
libstdcxx_pointer_return_false_hack.cpp
linkage2.cpp Add test for regression caused by reverted patch r315251. 2017-10-10 21:07:44 +00:00
linkage-invalid-decl.cpp
linkage-spec.cpp
linkage.cpp
literal-operators.cpp
literal-type.cpp
local-classes.cpp Fix PR25627: constant expressions being odr-used in template arguments. 2017-05-20 19:58:04 +00:00
long-virtual-inheritance-chain.cpp
lookup-member.cpp
make_integer_seq.cpp Fix tracking of whether the previous template instantiation stack matches the current one. 2017-02-23 02:09:03 +00:00
many-template-parameter-lists.cpp
member-class-11.cpp
member-expr-anonymous-union.cpp
member-expr-static.cpp
member-expr.cpp revert r311839 (ongoing cwg discussion) 2017-08-29 03:04:13 +00:00
member-init.cpp PR38627: Fix handling of exception specification adjustment for 2018-09-05 22:30:37 +00:00
member-location.cpp
member-name-lookup.cpp
member-operator-expr.cpp
member-pointer-ms.cpp
member-pointer-size.cpp
member-pointer.cpp
member-pointers-2.cpp
microsoft-cxx0x.cpp
microsoft-dtor-lookup-cxx11.cpp [cxx2a] P0641R2: (Some) type mismatches on defaulted functions only 2018-09-28 01:16:43 +00:00
microsoft-dtor-lookup.cpp
microsoft-new-delete.cpp
microsoft-super.cpp
microsoft-varargs-diagnostics.cpp
microsoft-varargs.cpp [Sema] Handle __va_start for Windows/ARM64 in the same way as for ARM 2018-09-27 08:24:15 +00:00
microsoft-vs-float128.cpp BuiltinOperatorOverloadBuilder: Don't consider types that are unavailable on the target (PR35174) 2017-11-15 17:11:53 +00:00
MicrosoftCompatibility.cpp [ms] Prevent explicit constructor name lookup if scope is missing 2018-10-25 11:45:32 +00:00
MicrosoftCompatibilityNoExceptions.cpp
MicrosoftExtensions.cpp Implement C++ DR727, which permits explicit specializations at class scope. 2018-03-16 13:36:56 +00:00
MicrosoftSuper.cpp
missing-header.cpp
missing-members.cpp Change assertion to quick exit from checking function. 2017-11-01 03:57:27 +00:00
missing-namespace-qualifier-typo-corrections.cpp
modules-ts.cppm [Modules TS] Added module re-export support. 2017-11-21 09:42:42 +00:00
ms_integer_suffix.cpp
ms_mutable_reference_member.cpp
ms_struct.cpp
ms_wide_bitfield.cpp
ms-const-member-expr.cpp
ms-empty_bases.cpp
ms-exception-spec.cpp
ms-friend-lookup.cpp
ms-initlist-narrowing.cpp clang-cl: Emit narrowing diag for initializer lists if -fmsc-version is at least 1900 (i.e. MSVC2015). 2018-06-19 23:19:34 +00:00
ms-inline-asm.cpp
ms-interface.cpp Fix some handling of AST nodes with diagnostics. 2018-03-28 04:16:13 +00:00
ms-iunknown-inline-def.cpp Fix the __interface inheritence rules to work better with IUnknown and IDispatch 2017-09-15 16:03:35 +00:00
ms-iunknown-outofline-def.cpp Fix the __interface inheritence rules to work better with IUnknown and IDispatch 2017-09-15 16:03:35 +00:00
ms-iunknown-template-function.cpp Update IUnknown lit test to pass on Win32 2017-10-02 16:49:32 +00:00
ms-iunknown.cpp [Sema] Correct IUnknown to support Unknwnbase.h Header. 2017-09-29 21:06:00 +00:00
ms-layout_version.cpp
ms-novtable.cpp
ms-overload-entry-point.cpp
ms-property-error.cpp
ms-property.cpp
ms-unsupported.cpp
ms-uuid.cpp Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
ms-wchar.cpp
namespace-alias.cpp
namespace.cpp
neon-vector-types.cpp [x86] Teach the builtin argument range check to allow invalid ranges in 2018-06-21 23:46:09 +00:00
nested-name-spec-locations.cpp
nested-name-spec.cpp Don't crash when forming a destructor name on an incomplete type. 2017-06-11 20:33:00 +00:00
new-array-size-conv.cpp Switch to gnu++14 as the default dialect. 2017-12-09 12:09:54 +00:00
new-delete-0x.cpp
new-delete-cxx0x.cpp PR31742: Don't emit a bogus "zero size array" extwarn when initializing a 2017-01-24 23:18:28 +00:00
new-delete-predefined-decl-2.cpp
new-delete-predefined-decl.cpp
new-delete.cpp Switch to gnu++14 as the default dialect. 2017-12-09 12:09:54 +00:00
new-null.cpp
no_destroy.cpp Address Aaron Ballman's post-commit review comments from r340306, NFC 2018-08-21 17:50:10 +00:00
no-exceptions.cpp
no-implicit-builtin-decls.cpp
no-rtti.cpp Change the wording of RTTI errors to make them more generic. 2018-06-07 00:42:59 +00:00
no-warn-composite-pointer-type.cpp
no-warn-unused-const-variables.cpp
no-warn-user-defined-literals-in-system-headers.cpp Don't trigger -Wuser-defined-literals for system headers 2017-12-14 22:32:24 +00:00
no-warn-user-defined-literals-in-system-headers.h Don't trigger -Wuser-defined-literals for system headers 2017-12-14 22:32:24 +00:00
no-wchar.cpp [Test] Make Lit tests C++11 compatible #9 2017-02-24 22:22:05 +00:00
non-empty-class-size-zero.cpp
nonnull.cpp
nothrow-as-noexcept-ctor.cpp [Sema] Correct nothrow inherited by noexcept 2017-09-28 20:47:10 +00:00
ns_returns_retained_block_return.cpp
null_in_arithmetic_ops.cpp
null-cast.cpp Create valid LValue to represent null pointers in constant exprs 2017-05-26 02:16:00 +00:00
nullability-declspec.cpp
nullability.cpp Do not issue -Wnullability-completeness for dependent types that are not written as pointer types. 2017-05-19 20:20:13 +00:00
nullptr_in_arithmetic_ops.cpp
nullptr-98.cpp
nullptr-arithmetic.cpp Remove offset size check in nullptr arithmetic handling 2017-09-20 18:06:44 +00:00
nullptr.cpp
offsetof-0x.cpp
offsetof.cpp
old-style-cast.cpp
openmp_default_simd_align.cpp
operator-arrow-depth.cpp
operator-arrow-temporary.cpp
out-of-line-def-mismatch.cpp
overload-0x.cpp
overload-call-copycon.cpp
overload-call.cpp Fix overload resolution between Ptr-To-Member and Bool 2018-06-12 13:59:32 +00:00
overload-decl.cpp
overload-member-call.cpp [Sema] Use %sub to cleanup overload diagnostics 2018-05-30 01:00:41 +00:00
overload-value-dep-arg.cpp
overloaded-builtin-operators-0x.cpp
overloaded-builtin-operators-cxx17.cpp [Sema] Disable built-in increment operator for bool in overload resolution in C++17 2018-04-18 13:38:39 +00:00
overloaded-builtin-operators.cpp [Sema] Fix built-in decrement operator overload resolution 2018-04-11 13:36:29 +00:00
overloaded-name.cpp Check returned type is valid before using it. 2018-07-07 00:17:25 +00:00
overloaded-operator-decl.cpp
overloaded-operator.cpp Fix two-phase name lookup for non-dependent overloaded operators. 2017-10-05 19:35:51 +00:00
override-in-system-header.cpp
P30636.cpp Suppress warning on unreachable [[clang::fallthrough]] within a template instantiation. 2017-03-22 01:49:19 +00:00
parentheses.cpp
pascal-strings.cpp
pass-object-size.cpp
pr9812.cpp
pr13353.cpp
pr13394-crash-on-invalid.cpp
pr18284-crash-on-invalid.cpp
pr25181-crash-on-invalid.cpp
pr27047-default-init-expr-name-conflict.cpp
pr28050.cpp
pr36536.cpp Push a function scope when parsing function bodies without a declaration 2018-03-07 18:55:10 +00:00
PR5086-ambig-resolution-enum.cpp
PR6562.cpp
PR6618.cpp
PR7410.cpp
PR7944.cpp
PR8012.cpp
PR8385.cpp
PR8755.cpp
PR8884.cpp
PR9459.cpp
PR9460.cpp
PR9461.cpp
PR9572.cpp [Test] Make Lit tests C++11 compatible #10 2017-02-24 23:23:53 +00:00
PR9884.cpp
PR9902.cpp
PR9908.cpp
PR10177.cpp Revisit PR10177: don't instantiate a variable if it's only referenced in a 2017-01-06 22:52:53 +00:00
PR10243.cpp
PR10447.cpp
PR10458.cpp
PR11358.cpp
PR12481.cpp
PR12778.cpp
PR16677.cpp [Sema] Fix a crash-on-invalid when a template parameter list has a class 2017-06-26 18:46:12 +00:00
PR19955.cpp
PR20110.cpp
PR20334-std_initializer_list_diagnosis_assertion.cpp
PR20705.cpp
PR21679.cpp
PR22637.cpp [Sema] Fix PR22637 - IndirectFieldDecl's discard qualifiers during template instantiation. 2018-04-08 05:11:59 +00:00
PR23334.cpp
PR25848.cpp
PR27037.cpp 27037: Use correct CVR qualifier on an upcast on method pointer call 2017-06-09 22:25:28 +00:00
PR29152.cpp
PR35832.cpp [Sema] Fix PR35832 - Ambiguity accessing anonymous struct/union with multiple bases. 2018-04-08 06:21:33 +00:00
PR38235.cpp Update to -r337585, allow scoped enum inits in -pedantic 2018-07-23 21:08:13 +00:00
PR38913.cpp [clang] Make sure attributes on member classes are applied properly 2018-09-14 14:07:16 +00:00
pragma-init_seg.cpp
pragma-optimize.cpp [FileCheck] Add -allow-deprecated-dag-overlap to failing clang tests 2018-07-11 20:26:20 +00:00
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 [Test] Make Lit tests C++11 compatible - printf format string 2017-02-13 18:57:06 +00:00
pseudo-destructors.cpp Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
ptrtomember-overload-resolution.cpp
ptrtomember.cpp Diagnose attempt to take address of bitfield members in anonymous structs. 2017-04-13 21:49:46 +00:00
qual-id-test.cpp
qualification-conversion.cpp
qualified-id-lookup.cpp
qualified-member-enum.cpp
qualified-names-diag.cpp
rdar42746401.cpp [AST] Fix a crash on invalid. 2018-09-10 21:54:04 +00:00
redeclared-alias-template.cpp
redeclared-auto.cpp
redefine_extname.cpp
ref-init-ambiguous.cpp
references.cpp [C++11] Fix warning when dropping cv-qualifiers when assigning to a reference with a braced initializer list 2018-07-12 17:43:49 +00:00
reinterpret-cast.cpp
reinterpret-fn-obj-pedantic.cpp
return-noreturn.cpp [AST] Incorrectly qualified unscoped enumeration as template actual parameter. 2017-12-21 21:47:22 +00:00
return-stack-addr-2.cpp Fold -Wreturn-stack-address into general initialization lifetime 2018-07-23 21:21:22 +00:00
return-stack-addr.cpp Don't lifetime-extend or track lifetime problems through the LHS of '->*'. 2018-07-24 21:18:30 +00:00
return.cpp
runtimediag-ppe.cpp
rval-references-examples.cpp
rval-references.cpp Fold -Wreturn-stack-address into general initialization lifetime 2018-07-23 21:21:22 +00:00
scope-check.cpp Refactor checking of switch conditions and case values. 2018-07-26 18:41:30 +00:00
self-comparison.cpp Remove bogus check for template specialization from self-comparison warning. 2018-01-07 22:25:55 +00:00
shift.cpp
short-enums.cpp
short-wchar-sign.cpp Driver: hoist the wchar_t handling to the driver 2017-10-06 23:09:55 +00:00
statements.cpp
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 [Sema] Better static assert diagnostics for expressions involving temporaries/casts/.... 2018-12-20 09:05:15 +00:00
static-cast-complete-type.cpp
static-cast.cpp
static-data-member.cpp
static-initializers.cpp
std-compare-cxx2a.cpp [C++2a] Implement operator<=>: Address bugs and post-commit review comments after r331677. 2018-05-08 00:52:19 +00:00
storage-class.cpp
string-init.cpp
string-plus-char.cpp
string-plus-int.cpp 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-restrict.cpp [Sema] Retain __restrict qualifiers when substituting a reference type. 2018-09-20 18:12:24 +00:00
suppress.cpp Add [[clang::suppress(rule, ...)]] attribute 2017-03-27 19:45:24 +00:00
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 Allow a double-underscore spelling of Clang attributes using double square bracket syntax. 2018-11-09 19:37:18 +00:00
switch.cpp
tag-ambig.cpp
template-ambiguous-overload.cpp
template-default-param-through-using.cpp Add Forgotten test for: Fix template parameter default args missed if redecled 2017-10-24 13:51:07 +00:00
template-multiple-attr-propagation.cpp Correct class-template deprecation behavior-REDUX 2017-03-23 18:51:54 +00:00
template-specialization.cpp Moving a C++ test out of Sema and into SemaCXX; NFC. 2017-04-12 15:56:02 +00:00
templated-friend-decl.cpp
this.cpp
thread-safety-annotations.h Thread safety analysis: Run more tests with capability attributes [NFC] 2018-09-17 21:37:22 +00:00
thread-safety-reference-handling.cpp
trailing-return-0x.cpp
trivial-constructor.cpp
trivial-destructor.cpp
type_pack_element.cpp
type-attrs.cpp Allow writing calling convention attributes on function types. 2018-05-03 15:33:50 +00:00
type-convert-construct.cpp Fix handling of initialization from parenthesized initializer list. 2017-03-24 01:14:25 +00:00
type-definition-in-specifier.cpp Bail out if we try to build a DeclRefExpr naming an invalid declaration. 2017-01-04 23:14:16 +00:00
type-dependent-exprs.cpp
type-formatting.cpp
type-traits-incomplete.cpp
type-traits.cpp Non-zero-length bit-fields make a class non-empty. 2018-05-07 06:43:30 +00:00
typedef-redecl.cpp
typeid-ref.cpp Bring r325915 back. 2018-02-23 19:30:48 +00:00
typeid.cpp
types_compatible_p.cpp
typo-correction-blocks.c
typo-correction-crash.cpp [Sema] Null check in BuildDeclarationNameExpr 2017-09-25 17:36:54 +00:00
typo-correction-cxx11.cpp
typo-correction-cxx17.cpp [Sema] Fix a structured binding typo correction bug 2018-07-10 02:15:07 +00:00
typo-correction-delayed.cpp Revert r301487: Replace HashString algorithm with xxHash64 2017-04-26 23:15:10 +00:00
typo-correction.cpp Refactor checking of switch conditions and case values. 2018-07-26 18:41:30 +00:00
unaddressable-functions.cpp
unary-real-imag.cpp
unavailable_aligned_allocation.cpp [Sema] Produce diagnostics when C++17 aligned allocation/deallocation 2018-12-21 07:05:36 +00:00
undefined-inline.cpp
undefined-internal.cpp DR1113: anonymous namespaces formally give their contents internal linkage. 2017-09-22 22:21:44 +00:00
underlying_type.cpp Correct UnaryTransformTypeLoc to properly initialize. 2017-12-14 23:37:08 +00:00
uninit-variables-conditional.cpp
uninit-variables.cpp
uninitialized.cpp [Sema] Remove location from implicit capture init expr 2018-09-13 23:28:25 +00:00
unknown-anytype-blocks.cpp
unknown-anytype.cpp
unknown-type-name.cpp Switch to gnu++14 as the default dialect. 2017-12-09 12:09:54 +00:00
unreachable-catch-clauses.cpp
unreachable-code.cpp
unused-functions.cpp
unused-with-error.cpp
unused.cpp Fix -Wunused-private-field to fire regardless of which implicit special members have been implicitly declared. 2017-11-01 04:52:12 +00:00
user-defined-conversions.cpp
using-decl-1.cpp
using-decl-pr4441.cpp
using-decl-pr4450.cpp
using-decl-templates.cpp
using-directive.cpp
value-dependent-exprs.cpp
value-initialization.cpp
vararg-class.cpp
vararg-default-arg.cpp
vararg-non-pod.cpp
varargs.cpp Fix missing -Wregister warning when 'register' is applied to a function parameter. 2017-11-01 23:38:37 +00:00
vartemplate-lambda.cpp Give external linkage and mangling to lambdas inside inline variables and variable templates. 2017-09-22 04:25:05 +00:00
vector-casts.cpp
vector-no-lax.cpp [Sema] Support implicit scalar to vector conversions 2017-05-12 19:11:06 +00:00
vector.cpp [Clang][Sema]Choose a better candidate in overload function call if there is a compatible vector conversion instead of ambiguous call error 2018-11-16 03:00:00 +00:00
virtual-base-used.cpp Switch from using a DiagnosticTrap and a note for "while defining a special 2017-05-25 22:47:05 +00:00
virtual-function-in-union.cpp
virtual-member-functions-key-function.cpp [Test] Make Lit tests C++11 compatible #9 2017-02-24 22:22:05 +00:00
virtual-override-x64.cpp
virtual-override-x86.cpp
virtual-override.cpp
virtuals.cpp
visibility.cpp
vla-consruct.cpp
vla.cpp
vtable-instantiation.cpp
vtordisp-mode.cpp
warn-absolute-value-header.cpp
warn-absolute-value.cpp Sema: disable implicit conversion from _Complex to real types in C++. 2017-08-08 23:18:05 +00:00
warn-address.cpp
warn-assignment-condition.cpp
warn-bad-memaccess.cpp
warn-bitfield-enum-conversion.cpp Warn on enum assignment to bitfields that can't fit all values 2017-03-14 18:01:02 +00:00
warn-bool-conversion.cpp [Test] Make Lit tests C++11 compatible #9 2017-02-24 22:22:05 +00:00
warn-c++1z-extensions.cpp Replace remaining user-visible mentions of C++1z with C++17. 2017-08-13 22:26:53 +00:00
warn-c++11-extensions.cpp
warn-cast-align.cpp
warn-cast-qual.cpp [clang] Implement -Wcast-qual for C++ 2017-07-03 17:59:22 +00:00
warn-char-subscripts.cpp
warn-comma-operator.cpp [Sema] Fix -Wcomma for C89 2018-10-25 01:08:00 +00:00
warn-consumed-analysis.cpp
warn-consumed-parsing.cpp Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
warn-dangling-field.cpp Fold dangling-field warning into general initialization lifetime checks. 2018-07-23 18:50:26 +00:00
warn-dangling-local.cpp PR38355 Prevent infinite recursion when checking initializer lifetime if 2018-07-30 07:19:54 +00:00
warn-deprecated-header.cpp
warn-div-or-rem-by-zero.cpp
warn-empty-body.cpp Revert r318456 "Issue -Wempty-body warnings for else blocks" 2017-11-20 17:48:54 +00:00
warn-enum-compare.cpp Fix warn-enum-compare.cpp on Windows 2017-12-11 18:58:18 +00:00
warn-everthing.cpp
warn-exit-time-destructors.cpp Add a new flag and attributes to control static destructor registration 2018-08-21 17:24:06 +00:00
warn-float-conversion.cpp [SEMA] add more -Wfloat-conversion to compound assigment analysis 2018-08-13 16:38:07 +00:00
warn-func-not-needed.cpp
warn-global-constructors.cpp Unnamed bitfields don't block constant evaluation of constexpr ctors 2017-10-24 02:17:07 +00:00
warn-implicit-conversion-floating-point-to-bool.cpp
warn-inconsistent-missing-destructor-override Add warning for inconsistent overrides on destructor. 2017-03-01 03:07:55 +00:00
warn-infinite-recursion.cpp Improve -Winfinite-recursion 2018-03-22 03:16:23 +00:00
warn-large-by-value-copy.cpp
warn-literal-conversion.cpp Fix float->int conversion warnings when near barriers. 2018-05-08 21:26:21 +00:00
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
warn-member-not-needed.cpp
warn-memset-bad-sizeof.cpp
warn-memsize-comparison.cpp
warn-missing-noreturn.cpp
warn-missing-prototypes.cpp
warn-missing-variable-declarations.cpp PR35862: Suppress -Wmissing-variable-declarations warning on inline variables, 2018-01-08 21:46:42 +00:00
warn-msvc-enum-bitfield.cpp
warn-new-overaligned-2.cpp
warn-new-overaligned-3.cpp
warn-new-overaligned.cpp
warn-overloaded-virtual.cpp [Basic] Extend DiagnosticEngine to store and format Qualifiers. 2019-01-04 11:50:36 +00:00
warn-pessmizing-move.cpp
warn-pure-virtual-call-from-ctor-dtor.cpp Create a diagnostic group for warn_call_to_pure_virtual_member_function_from_ctor_dtor, so it can be turned into an error using Werror 2018-11-26 14:29:48 +00:00
warn-pure-virtual-kext.cpp
warn-range-loop-analysis.cpp
warn-redundant-move.cpp Re-commit r321223, which adds a printing policy to the ASTDumper. 2017-12-21 21:42:42 +00:00
warn-reinterpret-base-class.cpp
warn-reorder-ctor-initialization.cpp
warn-return-std-move.cpp Diagnose cases of "return x" that should be "return std::move(x)" for efficiency 2018-04-12 14:48:48 +00:00
warn-self-assign-builtin.cpp [Sema] Extend -Wself-assign and -Wself-assign-field to warn on overloaded self-assignment (classes) 2018-04-07 10:39:21 +00:00
warn-self-assign-field-builtin.cpp [Sema] Extend -Wself-assign and -Wself-assign-field to warn on overloaded self-assignment (classes) 2018-04-07 10:39:21 +00:00
warn-self-assign-field-overloaded.cpp [Sema] Extend -Wself-assign and -Wself-assign-field to warn on overloaded self-assignment (classes) 2018-04-07 10:39:21 +00:00
warn-self-assign-overloaded-disable.cpp [Sema] Add -Wno-self-assign-overloaded 2018-04-23 21:35:21 +00:00
warn-self-assign-overloaded.cpp [Sema] Add -Wno-self-assign-overloaded 2018-04-23 21:35:21 +00:00
warn-self-comparisons.cpp
warn-self-move.cpp
warn-shadow-in-lambdas.cpp [C++17] Reject shadowing of capture by parameter in lambda 2018-10-25 20:15:03 +00:00
warn-shadow.cpp Do not check for parameters shadowing fields in function declarations. 2018-12-05 18:56:57 +00:00
warn-sign-conversion-cpp11.cpp Add testcase I forgot to add in R313907. 2017-09-21 20:14:08 +00:00
warn-sign-conversion.cpp
warn-static-const-float.cpp
warn-static-function-inheader.cpp
warn-static-function-inheader.h
warn-string-conversion.cpp
warn-sysheader-macro.cpp
warn-tautological-compare.cpp
warn-tautological-undefined-compare.cpp
warn-thread-safety-analysis.cpp Thread safety analysis: Allow scoped releasing of capabilities 2018-12-16 14:15:30 +00:00
warn-thread-safety-negative.cpp Thread safety analysis: Run more tests with capability attributes [NFC] 2018-09-17 21:37:22 +00:00
warn-thread-safety-parsing.cpp Thread Safety Analysis: warnings for attributes without arguments 2018-09-20 00:39:27 +00:00
warn-thread-safety-verbose.cpp Thread safety analysis: Run more tests with capability attributes [NFC] 2018-09-17 21:37:22 +00:00
warn-throw-out-noexcept-func.cpp Fix some -Wexceptions false positives. 2018-02-20 02:32:30 +00:00
warn-undefined-bool-conversion.cpp
warn-unreachable.cpp Fix typos in clang 2018-04-06 15:14:32 +00:00
warn-unsequenced.cpp
warn-unused-attribute.cpp Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
warn-unused-comparison.cpp
warn-unused-filescoped.cpp Reland "Warn about unused static file scope function template declarations." 2017-05-09 11:25:41 +00:00
warn-unused-label-error.cpp
warn-unused-lambda-capture.cpp Revert "[Sema] Reword warning for constant captures that are not required" 2018-07-17 13:17:01 +00:00
warn-unused-local-typedef-serialize.cpp
warn-unused-local-typedef-x86asm.cpp
warn-unused-local-typedef.cpp
warn-unused-parameters.cpp
warn-unused-private-field-delayed-template.cpp
warn-unused-private-field.cpp Fix -Wunused-private-field to fire regardless of which implicit special members have been implicitly declared. 2017-11-01 04:52:12 +00:00
warn-unused-result.cpp Refactor the way we handle diagnosing unused expression results. 2019-01-04 16:58:14 +00:00
warn-unused-value-cxx11.cpp
warn-unused-value.cpp Look through CXXBindTemporaryExprs when checking CXXFunctionCastExprs 2017-03-27 16:29:41 +00:00
warn-unused-variables-error.cpp
warn-unused-variables.cpp [Sema] Fix assertion failure when checking for unused variables in a dependent context. 2017-10-19 19:07:13 +00:00
warn-using-namespace-in-header.cpp
warn-variable-not-needed.cpp
warn-vla.cpp
warn-weak-vtables.cpp
warn-zero-nullptr.cpp [Sema] -Wzero-as-null-pointer-constant: don't warn for system macros other than NULL. 2017-10-26 13:18:14 +00:00
wchar_t.cpp
windows-arm-valist.cpp
writable-strings-deprecated.cpp
zero-length-arrays.cpp [Test] Make Lit tests C++11 compatible #9 2017-02-24 22:22:05 +00:00