llvm-project/clang/test/SemaCXX
Richard Smith 9defb7d6b1 In C++14 onwards, it is permitted to read mutable members in constant
expressions, if their lifetime began during the evaluation of the expression.

This is technically not allowed in C++11, though we could consider permitting
it there too, as an extension.

llvm-svn: 325663
2018-02-21 03:38:30 +00:00
..
Inputs [Sema] -Wzero-as-null-pointer-constant: don't warn for system macros other than NULL. 2017-10-26 13:18:14 +00:00
2008-01-11-BadWarning.cpp
MicrosoftCompatibility.cpp [ms] Give -Wmicrosoft-enum-forward-reference a chance to fire in clang-cl, PR32736 2017-04-21 20:12:26 +00:00
MicrosoftCompatibilityNoExceptions.cpp
MicrosoftExtensions.cpp Allow operator delete to be an invalid Decl. 2017-08-09 02:03:59 +00:00
MicrosoftSuper.cpp For variables with dependent type, don't crash on `var->::new` or `var->__super` 2015-02-16 22:32:46 +00:00
P30636.cpp Suppress warning on unreachable [[clang::fallthrough]] within a template instantiation. 2017-03-22 01:49:19 +00:00
PR5086-ambig-resolution-enum.cpp
PR6562.cpp
PR6618.cpp
PR7410.cpp
PR7944.cpp
PR8012.cpp
PR8385.cpp
PR8755.cpp Improve error message when referencing a non-tag type with a tag 2016-12-09 19:47:58 +00:00
PR8884.cpp
PR9459.cpp
PR9460.cpp
PR9461.cpp Port r163224 to C++. 2015-02-18 05:19:40 +00:00
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 Fix PR20334: invalid assertion while diagnosing list initialization failure 2015-12-07 02:37:44 +00:00
PR20705.cpp
PR21679.cpp Add the test that was supposed to be included with r223162. 2015-01-20 20:15:29 +00:00
PR23334.cpp PR23334: Perform semantic checking of lambda capture initialization in the right context. 2015-04-27 21:27:54 +00:00
PR25848.cpp Do not find friend function definitions inside non-instantiated class. 2016-10-04 10:11:43 +00:00
PR27037.cpp 27037: Use correct CVR qualifier on an upcast on method pointer call 2017-06-09 22:25:28 +00:00
PR29152.cpp [ReachableCode] Skip over ExprWithCleanups in isConfigurationValue 2016-11-01 00:19:04 +00:00
__null.cpp
__try.cpp Fix Sema tests using __try by adding triple 2015-04-28 22:58:25 +00:00
abstract.cpp [Sema] Implement several unary type traits more accurately 2015-11-16 06:58:51 +00:00
access-base-class.cpp
access-control-check.cpp
access-member-pointer.cpp
access.cpp Revert r325321 "[Sema] Take into account the current context when checking the" 2018-02-16 12:06:32 +00:00
accessible-base.cpp [MS] Allow access to ambiguous, inaccessible direct bases 2017-10-27 22:48:41 +00:00
addr-of-overloaded-function-casting.cpp
addr-of-overloaded-function.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
address-of-temporary.cpp
address-of.cpp
address-packed-member-memops.cpp Add missing tests 2016-08-17 06:52:15 +00:00
address-packed.cpp Ignore pointers to incomplete types when diagnosing misaligned addresses 2017-12-07 09:23:50 +00:00
address-space-conversion.cpp
address-space-initialize.cpp
address-space-newdelete.cpp
address-space-references.cpp
aggregate-init-cxx98.cpp Fix defaulted-functions-in-C++98 extension to give the functions the same 2016-12-21 01:57:02 +00:00
aggregate-initialization.cpp Suppress -Wmissing-braces warning when aggregate-initializing a struct with a single field that is itself an aggregate. 2017-10-03 20:36:00 +00:00
alias-template.cpp Push alias-declarations and alias-template declarations into scope even if 2016-07-15 20:53:25 +00:00
align_value.cpp
alignment-of-derived-class.cpp
alignof-sizeof-reference.cpp
alignof.cpp [Sema] Don't permit dependent alignments on non-dependent typedef-names 2015-04-07 02:37:09 +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 PR25890: Fix incoherent error handling in PerformImplicitConversion and 2016-10-06 23:12:58 +00:00
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 Add test for anonymous struct containing an implicitly private data member. 2017-04-13 21:51:04 +00:00
anonymous-union-cxx11.cpp
anonymous-union.cpp Fix half of PR26048. We don't yet diagnose the case where the anonymous union member is declared first and the tag name is declared second. 2016-01-06 21:54:29 +00:00
array-bound-merge.cpp [Sema] Emit a better diagnostic when variable redeclarations disagree 2015-07-14 20:08:49 +00:00
array-bounds-ptr-arith.cpp
array-bounds-system-header.cpp
array-bounds.cpp [Sema] Detect more array index out of bounds when C++ overloaded operators are used 2017-02-28 14:53:50 +00:00
arrow-operator.cpp
ast-print-crash.cpp [DeclPrinter] Fix two cases that crash clang -ast-print. 2018-01-17 19:29:39 +00:00
ast-print.cpp Teach -ast-print to print constexpr variables. 2016-07-08 21:09:08 +00:00
atomic-ops.cpp [Sema] Fix PR28623. 2016-07-21 03:28:13 +00:00
atomic-type.cpp Reverted OpenCL2.0 atomic type commits r231932, r231935 2015-03-11 17:26:37 +00:00
attr-abi-tag-syntax.cpp [GCC] PR23529 Mangler part of attrbute abi_tag support 2016-06-30 09:40:38 +00:00
attr-after-definition.cpp
attr-aligned.cpp
attr-cleanup-gcc.cpp
attr-cleanup.cpp
attr-common.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-cxx0x-fixit.cpp Fix several accidental DOS line endings in source files 2016-01-03 15:55:40 +00:00
attr-cxx0x.cpp
attr-declspec-ignored.cpp
attr-deprecated-replacement-error.cpp Add an optional string argument to DeprecatedAttr for Fix-It. 2016-03-16 18:50:49 +00:00
attr-deprecated-replacement-fixit.cpp AvailabilityAttr: we accept "macos" as the platform name. 2016-06-28 20:55:30 +00:00
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 Add support for function attribute 'disable_tail_calls'. 2015-11-13 00:42:21 +00:00
attr-flatten.cpp
attr-format.cpp
attr-gnu.cpp [Sema] Handle transparent_union attributes in C mode only 2016-10-12 09:36:35 +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 Implement no_sanitize_address for global vars 2016-10-14 19:55:09 +00:00
attr-no-sanitize-memory.cpp Fix several accidental DOS line endings in source files 2016-01-03 15:55:40 +00:00
attr-no-sanitize-thread.cpp Fix several accidental DOS line endings in source files 2016-01-03 15:55:40 +00:00
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 Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
attr-notail.cpp Add support for function attribute 'not_tail_called'. 2015-11-06 23:56:15 +00:00
attr-optnone.cpp When attribute 'optnone' appears on the same declaration with a 2015-01-13 18:34:56 +00:00
attr-print.cpp [Sema] Handle leading and trailing __ for GNU attributes 2015-08-25 16:44:38 +00:00
attr-regparm.cpp
attr-require-constant-initialization.cpp Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
attr-selectany.cpp Enable __declspec(selectany) on any platform 2017-09-14 17:33:08 +00:00
attr-sentinel.cpp
attr-swiftcall.cpp Swift Calling Convention: Parameters are allowed after the 2016-10-11 20:34:06 +00:00
attr-target-mv.cpp Clean up 'target' attribute diagnostics 2018-02-16 17:31:59 +00:00
attr-unavailable.cpp Sema: Methods in unavailable classes are unavailable 2016-03-08 10:28:52 +00:00
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 [X86] Support 'interrupt' attribute for x86 2016-01-15 04:06:31 +00:00
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-pragma.cpp
auto-subst-failure.cpp
auto-type-from-cxx.cpp Additional tests from r252690 that I forgot to 'svn add'. 2015-11-12 21:42:39 +00:00
base-class-ambiguity-check.cpp [Sema] Fix crash for type-dependent base classes 2018-01-13 15:24:16 +00:00
bitfield-layout.cpp C11 _Bool bitfield diagnostic 2015-09-14 21:27:36 +00:00
bitfield.cpp
block-call.cpp
blocks-1.cpp
blocks.cpp
bool-compare.cpp
bool.cpp
borland-extensions.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 PR26449: Tests for builtin_classify_type fix 2016-02-15 10:44:27 +00:00
builtin-exception-spec.cpp [c++1z] Improve support for -fno-exceptions: we can't just ignore exception 2016-11-30 00:13:55 +00:00
builtin-object-size-cxx14.cpp [Sema] Note when we encounter a problem in ExprConstant. 2016-05-25 22:31:54 +00:00
builtin-ptrtomember-ambig.cpp
builtin-ptrtomember-overload-1.cpp
builtin-ptrtomember-overload.cpp
builtin_objc_msgSend.cpp
builtins-arm.cpp Fix typo from r237482. "to reference of type" --> "to reference to type" 2015-05-16 01:39:39 +00:00
builtins-va_arg.cpp
builtins.cpp Fix completely bogus types for some builtins: 2016-12-19 23:59:34 +00:00
c99-variable-length-array-cxx11.cpp Implementation of VlA of GNU C++ extension, by Vladimir Yakovlev. 2016-04-29 09:39:50 +00:00
c99-variable-length-array.cpp Implementation of VlA of GNU C++ extension, by Vladimir Yakovlev. 2016-04-29 09:39:50 +00:00
c99.cpp
call-with-static-chain.cpp
calling-conv-compat.cpp Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
captured-statements.cpp Improve the error message for assigning to read-only variables. 2015-04-11 01:53:13 +00:00
cast-conversion.cpp
cast-explicit-ctor.cpp
cast-lvalue-to-rvalue-reference.cpp [Sema] If lvalue to rvalue reference cast is valid don't emit diagnostic. 2015-07-12 22:10:56 +00:00
cdtor-fn-try-block.cpp Fix several accidental DOS line endings in source files 2016-01-03 15:55:40 +00:00
class-base-member-init.cpp
class-layout.cpp PR6037 2015-01-19 01:44:02 +00:00
class-names.cpp
class.cpp Lit C++11 Compatibility Patch #8 2016-04-14 23:47:07 +00:00
co_await-range-for.cpp [coroutines] Fix co_await for range statement 2017-06-14 03:24:55 +00:00
comma.cpp
compare-cxx2a.cpp Add tests for three-way self- and array comparison. 2018-01-07 22:03:44 +00:00
compare.cpp [Sema] -Wtautological-constant-compare is too good. Cripple it. 2018-01-03 08:45:19 +00:00
complex-conversion.cpp Sema: disable implicit conversion from _Complex to real types in C++. 2017-08-08 23:18:05 +00:00
complex-folding.cpp
complex-init-list.cpp
complex-overload.cpp Sema: disable implicit conversion from _Complex to real types in C++. 2017-08-08 23:18:05 +00:00
composite-pointer-type.cpp DR583, DR1512: Implement a rewrite to C++'s 'composite pointer type' rules. 2016-10-21 22:00:42 +00:00
compound-literal.cpp Re-commit r321223, which adds a printing policy to the ASTDumper. 2017-12-21 21:42:42 +00:00
condition.cpp PR28373: fix crash-on-invalid if the condition of an if-statement fails typo-correction. 2016-06-30 18:36:34 +00:00
conditional-expr.cpp Fix clang's handling of the copy performed in the second phase of class 2016-09-07 02:14:33 +00:00
const-cast.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
constant-expression-cxx1y.cpp In C++14 onwards, it is permitted to read mutable members in constant 2018-02-21 03:38:30 +00:00
constant-expression-cxx1z.cpp [c++1z] Permit constant evaluation of a call through a function pointer whose 2016-12-15 02:35:39 +00:00
constant-expression-cxx2a.cpp [c++20] P0515R3: Parsing support and basic AST construction for operator <=>. 2017-12-14 15:16:18 +00:00
constant-expression-cxx11.cpp Unnamed bitfields don't block constant evaluation of constexpr ctors 2017-10-24 02:17:07 +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-depth.cpp
constexpr-duffs-device.cpp
constexpr-factorial.cpp
constexpr-many-arguments.cpp
constexpr-nqueens.cpp Extend this test to also be valid in C++14. 2016-05-13 06:42:55 +00:00
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 P0426: Make the library implementation of constexpr char_traits a little easier 2017-01-20 00:45:35 +00:00
constexpr-turing.cpp
constexpr-value-init.cpp DR616, and part of P0135R1: member access (or pointer-to-member access) on a 2016-12-03 01:14:32 +00:00
constructor-initializer.cpp Fix PR 10758: Infinite recursion when dealing with copy-initialization 2017-05-16 10:23:58 +00:00
constructor-recovery.cpp Add support for derived class special members hiding functions brought in from 2016-05-13 06:47:56 +00:00
constructor.cpp When we see something that looks like a constructor with a return type, only issue one error, not two. 2015-07-06 01:04:39 +00:00
conversion-delete-expr.cpp
conversion-function.cpp Bail out if we try to build a DeclRefExpr naming an invalid declaration. 2017-01-04 23:14:16 +00:00
conversion-incomplete-type.cpp
conversion.cpp Fix the spelling of 'bitfield' in diagnostics to be consistently 'bit-field'. 2016-12-20 02:43:58 +00:00
convert-to-bool.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
converting-constructor.cpp [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +00:00
copy-assignment.cpp Make some diagnostic tests C++11 clean. 2016-12-21 18:33:17 +00:00
copy-constructor-error.cpp
copy-initialization.cpp [Sema] Improve diagnostics for const- and ref-qualified member functions 2017-12-31 18:27:29 +00:00
coreturn.cpp [coroutines] Fix assertion during -Wuninitialized analysis 2017-05-31 19:36:59 +00:00
coroutine-seh.cpp [coroutines] Wrap the body of the coroutine in try-catch 2017-05-22 22:33:17 +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 [Coroutines] Use target-agnostic size_t in test 2018-02-16 14:11:27 +00:00
crash-lambda-12645424.cpp
crashes.cpp Re-commit r273548, reverted in r273589, with a fix to not produce 2016-06-23 19:02:52 +00:00
cstyle-cast.cpp Warn when a reference is bound to an empty l-value (dereferenced null pointer). 2016-05-14 17:44:14 +00:00
cv-unqual-rvalues.cpp
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
cxx-member-pointer-op.cpp
cxx0x-class.cpp Revert r293455, which breaks v8 with a spurious error. Testcase added. 2017-01-30 10:44:11 +00:00
cxx0x-compat.cpp Fix backwards warning for use of C++17 attributes-on-namespaces-and-enumerators feature. 2017-10-14 00:56:24 +00:00
cxx0x-constexpr-const.cpp Improve the error message for assigning to read-only variables. 2015-04-11 01:53:13 +00:00
cxx0x-cursory-default-delete.cpp Implement isDefined by call to isThisDeclarationADefinition. 2017-06-04 12:53:12 +00:00
cxx0x-defaulted-functions.cpp Add a note that points to the linkage specifier for the C++ linkage errors 2016-11-02 15:46:34 +00:00
cxx0x-delegating-ctors.cpp
cxx0x-deleted-default-ctor.cpp
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 Fix handling of initialization from parenthesized initializer list. 2017-03-24 01:14:25 +00:00
cxx0x-initializer-stdinitializerlist.cpp P0620 follow-up: deducing `auto` from braced-init-list in new expr 2017-12-11 18:29:54 +00:00
cxx0x-noexcept-expression.cpp Fix several accidental DOS line endings in source files 2016-01-03 15:55:40 +00:00
cxx0x-nontrivial-union.cpp
cxx0x-return-init-list.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
cxx0x-type-convert-construct.cpp
cxx1y-constexpr-not-const.cpp If a function decl cannot be merged, mark it as invalid. 2015-01-17 02:33:17 +00:00
cxx1y-contextual-conversion-tweaks.cpp [Sema] Improve diagnostics for const- and ref-qualified member functions 2017-12-31 18:27:29 +00:00
cxx1y-deduced-return-type.cpp Fix for Bug 33471: Preventing operator auto from resolving to a template operator. 2017-06-20 17:38:07 +00:00
cxx1y-generic-lambdas-capturing.cpp Fix the second half of PR34266: Don't implicitly capture '*this' if the members are found in a class unrelated to the enclosing class. 2017-09-17 15:37:51 +00:00
cxx1y-generic-lambdas-variadics.cpp PR33082: Improve tracking of unexpanded parameter packs within variadic generic lambdas. 2017-08-15 19:11:21 +00:00
cxx1y-generic-lambdas.cpp Fix and simplify handling of return type for (generic) lambda conversion function to function pointer. 2018-01-02 23:52:42 +00:00
cxx1y-init-captures.cpp [Parser] Correct initalizer typos before lambda capture type is deduced. 2017-08-22 17:55:19 +00:00
cxx1y-initializer-aggregates.cpp Make diagnostic for use of default member initializer before enclosing class is 2016-11-22 22:55:12 +00:00
cxx1y-sized-deallocation.cpp Relax the requirement on sized deallocation a bit: Default on unsized delete if sized delete is not provided in global scope, and -fdefine-sized-deallocation option is disabled. 2015-02-22 06:36:53 +00:00
cxx1y-user-defined-literals.cpp
cxx1y-variable-templates_in_class.cpp Diagnose attempts to explicitly instantiate a template at class scope. Previously Clang would simply ignore the 'template' keyword in this case. 2017-02-09 22:14:25 +00:00
cxx1y-variable-templates_top_level.cpp When we see a '<' operator, check whether it's a probable typo for a template-id. 2017-05-10 02:30:28 +00:00
cxx1z-class-template-argument-deduction.cpp PR35045: Convert injected-class-name to its corresponding simple-template-id 2018-01-04 01:24:17 +00:00
cxx1z-constexpr-lambdas.cpp [cxx1z-constexpr-lambda] Implement captures - thus completing implementation of constexpr lambdas. 2017-02-16 04:12:21 +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 [Sema][C++1z] Ensure binding in dependent range for have non-null type 2017-06-12 16:11:06 +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 P0305R0: Semantic analysis and code generation for C++17 init-statement for 'if' and 'switch': 2016-07-14 00:11:03 +00:00
cxx1z-init-statement.cpp Make -std=c++17 an alias of -std=c++1z 2017-08-09 20:12:53 +00:00
cxx1z-lambda-star-this.cpp 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 Undo accidental language mode change in this test. 2017-10-30 18:06:18 +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-destroying-delete.cpp P0722R2: The first parameter in an implicit call to a destroying operator 2017-12-05 23:54:25 +00:00
cxx2a-lambda-equals-this.cpp [c++2a] Implement P0409R2 - Allow lambda capture [=,this] (by hamzasood) 2017-08-19 03:43:07 +00:00
cxx2a-pointer-to-const-ref-member.cpp [Sema] Improve diagnostics for const- and ref-qualified member functions 2017-12-31 18:27:29 +00:00
cxx2a-three-way-comparison.cpp [c++2a] P0515R3: Support for overloaded operator<=>. 2017-12-01 02:13:10 +00:00
cxx11-ast-print.cpp Handle lambda captures of variable length arrays in profiling and printing. 2017-11-11 00:54:25 +00:00
cxx11-attr-print.cpp Add an optional string argument to DeprecatedAttr for Fix-It. 2016-03-16 18:50:49 +00:00
cxx11-call-to-deleted-constructor.cpp [SemaCXX patch] Patch to fix a crash when a 'delete' constructor 2015-04-14 17:21:58 +00:00
cxx11-crashes.cpp Adjust type-trait evaluation to properly handle Using(Shadow)Decls 2016-11-27 16:26:14 +00:00
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 Improve some infrastructure for extended parameter infos and 2016-03-03 00:10:03 +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 [Sema] Emit a better diagnostic when variable redeclarations disagree 2015-07-14 20:08:49 +00:00
cxx11-thread-unsupported.cpp
cxx11-unused.cpp
cxx11-user-defined-literals-unused.cpp
cxx11-user-defined-literals.cpp When pretty-printing a C++11 literal operator, don't insert whitespace between 2015-10-08 00:17:59 +00:00
cxx17-compat.cpp Add test for -Wc++17-compat warning for P0683R1. 2017-08-28 00:31:35 +00:00
cxx98-compat-flags.cpp Provide a flag group to turn on/off all "binary literals" extension warnings. 2017-10-18 02:19:24 +00:00
cxx98-compat-pedantic.cpp Fix clang's handling of the copy performed in the second phase of class 2016-09-07 02:14:33 +00:00
cxx98-compat.cpp DR259: Demote the pedantic error for an explicit instantiation after an 2016-08-31 23:23:25 +00:00
dcl_ambig_res.cpp
dcl_init_aggr.cpp Lit C++11 Compatibility Patch #7 2016-04-13 20:00:45 +00:00
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 PR24595: Ignore calling convention modifiers for structors in MS ABI. 2015-09-14 21:29:57 +00:00
declspec-thread.cpp Fix buildbots 2015-05-14 05:24:59 +00:00
decltype-98.cpp
decltype-crash.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
decltype-overloaded-functions.cpp
decltype-pr4444.cpp
decltype-pr4448.cpp
decltype-this.cpp
decltype.cpp Implementing C99 partial re-initialization behavior (DR-253) 2015-06-10 00:27:52 +00:00
decomposed-condition.cpp Allow conditions to be decomposed with structured bindings 2017-12-07 07:03:15 +00:00
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
default1.cpp [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +00:00
default2.cpp Detect recursive default argument definition 2016-06-14 02:55:56 +00:00
defaulted-ctor-loop.cpp
defaulted-private-dtor.cpp
delete-and-function-templates.cpp Fix PR28100 - Allow redeclarations of deleted explicit specializations. 2016-06-14 03:23:15 +00:00
delete-mismatch.h Detect uses of mismatching forms of 'new' and 'delete' 2015-05-18 19:59:11 +00:00
delete.cpp MismatchingNewDeleteDetector uses incorrect field, and finds no initializer 2015-10-26 19:20:24 +00:00
deleted-function-access.cpp [Sema] Diagnose use of declaration correctly. 2015-07-22 00:30:58 +00:00
deleted-function.cpp PR22673 again: diagnose use of the used decl, not the found decl. This is also 2015-02-24 21:44:43 +00:00
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 PR25890: Fix incoherent error handling in PerformImplicitConversion and 2016-10-06 23:12:58 +00:00
designated-initializers-base-class.cpp [Sema] Fix bug in handling of designated initializer. 2017-01-17 19:35:54 +00:00
designated-initializers.cpp [Sema][TreeTransform] Re-create DesignatedInitExpr when a field designator 2016-10-24 09:33:32 +00:00
destructor.cpp Remove accidental newline. 2017-08-31 06:18:26 +00:00
devirtualize-vtable-marking.cpp Don't let virtual calls and dynamic casts call Sema::MarkVTableUsed(). 2015-01-26 06:23:36 +00:00
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 Store list of undefined-but-used objects in a deterministic order to fix 2016-03-25 21:49:43 +00:00
direct-initializer.cpp [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +00:00
discrim-union.cpp
dllexport-pr22591.cpp __declspec is not a core Clang language extension. Instead, require -fms-extensions or -fborland to enable the language extension. 2015-05-26 19:44:52 +00:00
dllexport.cpp Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
dllimport-memptr.cpp [MS] Don't statically initialize dllimport member function pointers 2017-07-07 22:04:29 +00:00
dllimport.cpp Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
do-while-scope.cpp
dr1301.cpp
dynamic-cast.cpp
elaborated-type-specifier.cpp Test what happens when tag lookup and redeclaration lookup disagree 2016-10-04 18:10:23 +00:00
empty-class-layout.cpp PR6037 2015-01-19 01:44:02 +00:00
enable_if.cpp [Sema] Make typeof(OverloadedFunctionName) not a pointer. 2017-05-09 04:06:24 +00:00
enum-attr.cpp Add support for attribute enum_extensibility. 2017-03-21 02:23:00 +00:00
enum-bitfield.cpp A conversion from a scoped enumeration bitfield to an integral type is an 2015-03-28 00:31:40 +00:00
enum-increment.cpp
enum-scoped.cpp PR35586: Relax two asserts that are overly restrictive 2017-12-11 19:44:28 +00:00
enum-unscoped-nonexistent.cpp
enum.cpp [Sema] Error out early for tags defined inside an enumeration. 2017-09-15 19:51:42 +00:00
err_init_conversion_failed.cpp
err_reference_bind_drops_quals.cpp When emitting a dropped qualifier error, show which qualifiers are dropped. 2015-05-16 01:27:03 +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
err_typecheck_assign_const_filecheck.cpp Improve the error message for assigning to read-only variables. 2015-04-11 01:53:13 +00:00
eval-crashes.cpp Revert r301742, which caused us to try to evaluate all full-expressions. 2017-06-26 23:19:32 +00:00
eval-sizeof-dependent-type.cpp Sema: do not attempt to sizeof a dependent type 2016-06-04 03:16:21 +00:00
exception-spec-no-exceptions.cpp
exception-spec.cpp Promote a warning on ill-formed code (redeclaration missing an exception 2015-09-30 00:48:50 +00:00
exceptions-seh.cpp Re-land r228258 and make clang-cl's /EHs- disable -fexceptions again 2015-02-05 18:56:03 +00:00
exceptions.cpp [Sema] Don't permit catching variably modified types 2016-06-08 16:05:07 +00:00
explicit.cpp Implement the remaining portion of DR1467 from r227022. I may have overlooked a few things, but this implementation comes straight from the DR resolution itself. 2015-01-27 18:47:05 +00:00
expression-traits.cpp DR616, and part of P0135R1: member access (or pointer-to-member access) on a 2016-12-03 01:14:32 +00:00
expressions.cpp [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +00:00
extern-c.cpp PR35697: look at the first declaration when determining whether a function or 2018-01-03 02:34:35 +00:00
flexible-array-test.cpp [Sema] Add support for flexible array members in Obj-C. 2017-10-23 22:01:41 +00:00
fntype-decl.cpp
for-range-dereference.cpp
for-range-examples.cpp Fix PR32933: crash on lambda capture of VLA 2017-05-15 01:49:19 +00:00
for-range-no-std.cpp
for-range-unused.cpp
format-strings-0x-nopedantic.cpp Move one more diagnostic into the new -Wformat-pedantic group. 2015-03-04 14:18:20 +00:00
format-strings-0x.cpp Move the fixit for -Wformat-security to a note. 2016-03-15 20:56:38 +00:00
format-strings.cpp [Test] Make Lit tests C++11 compatible - printf format string 2017-02-13 18:57:06 +00:00
friend-class-nodecl.cpp
friend-out-of-line.cpp
friend.cpp Don't try to use !Previous.empty() as a proxy for "Is this a redeclaration?" -- 2016-10-21 03:15:03 +00:00
friend2.cpp Function with unparsed body is a definition 2017-06-21 12:46:57 +00:00
friend3.cpp Made test more target agnostic 2017-02-24 13:15:08 +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 Do not find friend function definitions inside non-instantiated class. 2016-10-04 10:11:43 +00:00
function-redecl.cpp Functions declared in a scope should not hide previous declaration in earlier scopes 2016-06-16 21:39:46 +00:00
function-type-qual.cpp Improve the error message for assigning to read-only variables. 2015-04-11 01:53:13 +00:00
functional-cast.cpp Warn when a reference is bound to an empty l-value (dereferenced null pointer). 2016-05-14 17:44:14 +00:00
generalized-deprecated.cpp P0188R1: add support for standard [[fallthrough]] attribute. This is almost 2016-03-08 00:32:55 +00:00
generic-selection.cpp
gnu-case-ranges.cpp
gnu-flags.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
goto.cpp
goto2.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 [Test] Make Lit tests C++11 compatible #9 2017-02-24 22:22:05 +00:00
illegal-member-initialization.cpp Implement the likely resolution of core issue 253. 2016-02-19 01:52:46 +00:00
imaginary-constants.cpp Reapply Sema: allow imaginary constants via GNU extension if UDL overloads not present. 2017-08-09 14:56:48 +00:00
implicit-exception-spec.cpp Let -Wdelete-non-virtual-dtor fire in system headers too. 2017-08-30 20:25:22 +00:00
implicit-int.cpp
implicit-member-functions.cpp 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 Do not parse members of incomplete class. 2015-06-10 19:06:59 +00:00
increment-decrement.cpp When emitting a dropped qualifier error, show which qualifiers are dropped. 2015-05-16 01:27:03 +00:00
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 Add the `pass_object_size` attribute to clang. 2015-12-02 21:58:08 +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
instantiate-template-fatal-error.cpp [Sema] Avoid instantiating templates only when UncompilableErrorOccurred 2016-11-03 15:04:58 +00:00
integer-overflow.cpp Sema: disable implicit conversion from _Complex to real types in C++. 2017-08-08 23:18: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
issue547.cpp
lambda-expressions.cpp Fix crash on invalid. 2018-02-06 02:58:21 +00:00
large-array-init.cpp [AST] Fix passing large-array-init.cpp on builds without asserts 2018-02-14 13:27:48 +00:00
libstdcxx_atomic_ns_hack.cpp
libstdcxx_common_type_hack.cpp
libstdcxx_explicit_init_list_hack.cpp [Sema] Don't crash when diagnosing hack in libstdc++ 2015-08-21 06:44:10 +00:00
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 DR583, DR1512: Implement a rewrite to C++'s 'composite pointer type' rules. 2016-10-21 22:00:42 +00:00
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
linkage-invalid-decl.cpp Fix infinite recursion for invalid declaration, by Dmitry Polukhin 2016-01-12 09:01:25 +00:00
linkage-spec.cpp
linkage.cpp Update Clang tests to handle explicitly typed load changes in LLVM. 2015-02-27 21:19:58 +00:00
linkage2.cpp Add test for regression caused by reverted patch r315251. 2017-10-10 21:07:44 +00:00
literal-operators.cpp Improve diagnostics for ill-formed literal operator declarations. 2016-02-17 00:04:04 +00:00
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 PR24030, PR24033: Consistently check whether a new declaration conflicts with 2015-07-06 04:43:58 +00:00
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 [Sema] Add a crazy test case for r243987 2015-08-04 15:18:16 +00:00
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 [c++2a] P0683R1: Permit default member initializers for bit-fields. 2017-08-28 00:28:14 +00:00
member-location.cpp
member-name-lookup.cpp
member-operator-expr.cpp
member-pointer-ms.cpp Add missing test coverage for an inheritance model attrib merge diag. 2016-09-10 13:03:59 +00:00
member-pointer-size.cpp
member-pointer.cpp Revert accidentally-committed test for PR27558 (which currently fails...) 2016-05-19 01:41:52 +00:00
member-pointers-2.cpp
microsoft-cxx0x.cpp
microsoft-dtor-lookup-cxx11.cpp
microsoft-dtor-lookup.cpp Don't let virtual calls and dynamic casts call Sema::MarkVTableUsed(). 2015-01-26 06:23:36 +00:00
microsoft-new-delete.cpp DR1295 and cleanup for P0135R1: Make our initialization code more directly 2016-12-09 18:49:13 +00:00
microsoft-super.cpp Fix access control for lookups using the Microsoft __super extension. 2015-09-09 23:04:17 +00:00
microsoft-varargs-diagnostics.cpp
microsoft-varargs.cpp Sema: Windows/ARM __va_start is not const correct 2017-09-26 17:44:10 +00:00
microsoft-vs-float128.cpp BuiltinOperatorOverloadBuilder: Don't consider types that are unavailable on the target (PR35174) 2017-11-15 17:11:53 +00:00
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-const-member-expr.cpp [MSVC Compat] Don't evaluate member base expressions w/o side effects 2016-02-26 04:23:19 +00:00
ms-empty_bases.cpp Address post-commit review feedback to r270457 2016-05-23 17:32:35 +00:00
ms-exception-spec.cpp [Sema] Return an appropriate result from CheckSpecifiedExceptionType 2016-06-11 01:25:04 +00:00
ms-friend-lookup.cpp
ms-inline-asm.cpp [ms-inline-asm] Add field access to MS inline asm identifier lookup 2015-08-26 21:57:20 +00:00
ms-interface.cpp [MS Compat]Allow __interfaces to have properties. 2017-09-20 22:28:24 +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 Address post-commit review feedback to r270457 2016-05-23 17:32:35 +00:00
ms-novtable.cpp Ignore the "novtable" declspec when not using the Microsoft C++ ABI. 2015-07-20 22:57:31 +00:00
ms-overload-entry-point.cpp
ms-property-error.cpp [MSVC] Fix for http://llvm.org/PR25636: indexed accessor property not supported correctly. 2015-12-10 04:38:18 +00:00
ms-property.cpp [MSVC] Fix for http://llvm.org/PR25636: indexed accessor property not supported correctly. 2015-12-10 04:38:18 +00:00
ms-unsupported.cpp Ignore the "novtable" declspec when not using the Microsoft C++ ABI. 2015-07-20 22:57:31 +00:00
ms-uuid.cpp Warn that the [] spelling of uuid(...) is deprecated. 2017-05-05 17:05:56 +00:00
ms-wchar.cpp
ms_integer_suffix.cpp [MS Extensions] Remove support for the i128 integer literal suffix 2015-07-26 09:02:26 +00:00
ms_mutable_reference_member.cpp [MSVC2012] Allow 'mutable' references 2015-02-04 04:45:32 +00:00
ms_struct.cpp Rename -Wmsvc-include to -Wmicrosoft-include, now that -Wmicrosoft is split up. 2015-07-28 16:48:12 +00:00
ms_wide_bitfield.cpp Remove warning on over-wide bit-field of boolean type; there's no risk that 2015-09-23 22:07:44 +00:00
namespace-alias.cpp When a namespace alias redeclares a using declaration, point the diagnostic at 2015-12-29 23:42:34 +00:00
namespace.cpp [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +00:00
neon-vector-types.cpp
nested-name-spec-locations.cpp
nested-name-spec.cpp Don't crash when forming a destructor name on an incomplete type. 2017-06-11 20:33:00 +00:00
new-array-size-conv.cpp Switch to gnu++14 as the default dialect. 2017-12-09 12:09:54 +00:00
new-delete-0x.cpp
new-delete-cxx0x.cpp 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-exceptions.cpp
no-implicit-builtin-decls.cpp
no-rtti.cpp
no-warn-composite-pointer-type.cpp
no-warn-unused-const-variables.cpp
no-warn-user-defined-literals-in-system-headers.cpp Don't trigger -Wuser-defined-literals for system headers 2017-12-14 22:32:24 +00:00
no-warn-user-defined-literals-in-system-headers.h Don't trigger -Wuser-defined-literals for system headers 2017-12-14 22:32:24 +00:00
no-wchar.cpp [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-cast.cpp Create valid LValue to represent null pointers in constant exprs 2017-05-26 02:16:00 +00:00
null_in_arithmetic_ops.cpp DR583, DR1512: Implement a rewrite to C++'s 'composite pointer type' rules. 2016-10-21 22:00:42 +00:00
nullability-declspec.cpp Replace __double_underscored type nullability qualifiers with _Uppercase_underscored 2015-06-24 22:02:08 +00:00
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-98.cpp
nullptr-arithmetic.cpp Remove offset size check in nullptr arithmetic handling 2017-09-20 18:06:44 +00:00
nullptr.cpp DR583, DR1512: Implement a rewrite to C++'s 'composite pointer type' rules. 2016-10-21 22:00:42 +00:00
nullptr_in_arithmetic_ops.cpp DR583, DR1512: Implement a rewrite to C++'s 'composite pointer type' rules. 2016-10-21 22:00:42 +00:00
offsetof-0x.cpp
offsetof.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
old-style-cast.cpp
openmp_default_simd_align.cpp [OPENMP] Introduced type trait "__builtin_omp_required_simd_align" for default simd alignment. 2015-07-02 03:40:19 +00:00
operator-arrow-depth.cpp
operator-arrow-temporary.cpp
out-of-line-def-mismatch.cpp
overload-0x.cpp
overload-call-copycon.cpp [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +00:00
overload-call.cpp Preserve the "last diagnostic was suppressed" flag across SFINAE checks. 2017-11-30 08:18:21 +00:00
overload-decl.cpp If a function decl cannot be merged, mark it as invalid. 2015-01-17 02:33:17 +00:00
overload-member-call.cpp Implement C++ DR1391 (wg21.link/cwg1391) 2017-01-09 08:01:21 +00:00
overload-value-dep-arg.cpp
overloaded-builtin-operators-0x.cpp
overloaded-builtin-operators.cpp Enable support for __float128 in Clang and enable it on pertinent platforms 2016-05-09 08:52:33 +00:00
overloaded-name.cpp
overloaded-operator-decl.cpp
overloaded-operator.cpp Fix two-phase name lookup for non-dependent overloaded operators. 2017-10-05 19:35:51 +00:00
override-in-system-header.cpp
parentheses.cpp
pascal-strings.cpp
pass-object-size.cpp [Sema] Teach overload resolution about unaddressable functions. 2016-01-07 02:26:57 +00:00
pr9812.cpp
pr13353.cpp
pr13394-crash-on-invalid.cpp
pr18284-crash-on-invalid.cpp
pr25181-crash-on-invalid.cpp [Sema] PR25181 Fix crash when method declaration with throw spec fails to parse correctly 2016-02-19 01:15:08 +00:00
pr27047-default-init-expr-name-conflict.cpp Fix crash in BuildCXXDefaultInitExpr. 2016-04-29 18:06:53 +00:00
pr28050.cpp Deprecated (legacy) string literal conversion to 'char *' causes strange overloading resolution 2016-07-19 11:29:16 +00:00
pragma-init_seg.cpp [Lit Test] Updated 20 Lit tests to be C++11 compatible. 2015-12-10 01:07:17 +00:00
pragma-optimize.cpp Fix Clang tests that used CHECK-NEXT-NOT and CHECK-DAG-NOT. 2016-02-26 19:34:01 +00:00
pragma-pack.cpp
pragma-unused.cpp
pragma-visibility.cpp
pragma-vtordisp.cpp Recommit "[MS] Improved implementation of stack pragmas (vtordisp, *_seg)" 2016-04-29 11:27:00 +00:00
pragma-weak.cpp
predefined-expr.cpp Improve handling of __FUNCTION__ and other predefined expression for Objective-C Blocks 2016-11-16 07:07:28 +00:00
prefetch-enum.cpp
primary-base.cpp
printf-block.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
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 Lit C++11 Compatibility Patch #8 2016-04-14 23:47:07 +00:00
qualification-conversion.cpp
qualified-id-lookup.cpp
qualified-member-enum.cpp
qualified-names-diag.cpp
redeclared-alias-template.cpp
redeclared-auto.cpp
redefine_extname.cpp Disable #pragma redefine_extname for C++ code as it does not make sense in such a context. 2015-07-16 17:06:53 +00:00
ref-init-ambiguous.cpp
references.cpp Fix typo from r237482. "to reference of type" --> "to reference to type" 2015-05-16 01:39:39 +00:00
reinterpret-cast.cpp DR1295 and cleanup for P0135R1: Make our initialization code more directly 2016-12-09 18:49:13 +00:00
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 Fix typos from r277797 and unused variable from r277889. 2016-08-06 01:44:06 +00:00
return-stack-addr.cpp
return.cpp Fix typo-correction crash if a typo occurs within the operand of a 2016-06-30 20:24:30 +00:00
runtimediag-ppe.cpp
rval-references-examples.cpp
rval-references.cpp [Sema] Allow static_cast<T&&>(e) to check explicit conversions for non-reference-related types. 2016-11-03 02:13:17 +00:00
scope-check.cpp Fix Sema tests using __try by adding triple 2015-04-28 22:58:25 +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
sourceranges.cpp [Parse] Forward brace locations to TypeConstructExpr 2018-01-17 18:53:51 +00:00
statements.cpp
static-array-member.cpp
static-assert.cpp Diagnostic specific failed condition in a static_assert. 2017-09-14 23:38:42 +00:00
static-cast-complete-type.cpp
static-cast.cpp Warn when a reference is bound to an empty l-value (dereferenced null pointer). 2016-05-14 17:44:14 +00:00
static-data-member.cpp
static-initializers.cpp
storage-class.cpp
string-init.cpp
string-plus-char.cpp
string-plus-int.cpp
struct-class-redecl.cpp DR1909: Diagnose all invalid cases of a class member sharing its name with the class. 2015-07-06 01:45:27 +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 P0188R1: add support for standard [[fallthrough]] attribute. This is almost 2016-03-08 00:32:55 +00:00
switch-implicit-fallthrough-off-by-default.cpp Add test for r263138. 2016-03-10 19:22:21 +00:00
switch-implicit-fallthrough-per-method.cpp P0188R1: add support for standard [[fallthrough]] attribute. This is almost 2016-03-08 00:32:55 +00:00
switch-implicit-fallthrough.cpp P0188R1: add support for standard [[fallthrough]] attribute. This is almost 2016-03-08 00:32:55 +00:00
switch.cpp [Sema] Avoid "case value not in enumerated type" warning for C++11 opaque enums 2016-12-08 14:46:05 +00:00
tag-ambig.cpp
template-ambiguous-overload.cpp Sema: print qualified name for overload candidates 2016-12-22 04:26:57 +00:00
template-default-param-through-using.cpp Add Forgotten test for: Fix template parameter default args missed if redecled 2017-10-24 13:51:07 +00:00
template-implicit-vars.cpp
template-multiple-attr-propagation.cpp 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-reference-handling.cpp Take the non-reference type when constructing a dummy expression. 2015-03-16 21:49:43 +00:00
trailing-return-0x.cpp
trivial-constructor.cpp
trivial-destructor.cpp
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 Make __has_unique_object_representations reject empty union types. 2018-02-02 20:30:39 +00:00
type_pack_element.cpp [Feature] Add a builtin for indexing into parameter packs. Patch by Louis Dionne. 2016-07-01 01:24:09 +00:00
typedef-redecl.cpp
typeid-ref.cpp
typeid.cpp
types_compatible_p.cpp
typo-correction-blocks.c Sema: correct typo recovery with blocks 2015-10-31 00:39:15 +00:00
typo-correction-crash.cpp [Sema] Null check in BuildDeclarationNameExpr 2017-09-25 17:36:54 +00:00
typo-correction-cxx11.cpp Fix a typo correction crash when resolving ambiguous corrections. 2015-06-25 23:47:39 +00:00
typo-correction-delayed.cpp Revert r301487: Replace HashString algorithm with xxHash64 2017-04-26 23:15:10 +00:00
typo-correction.cpp Improve diagnosis of unknown template name. 2017-05-10 21:32:16 +00:00
unaddressable-functions.cpp [Sema] Teach CheckPlaceholderExpr about unaddressable functions. 2016-06-08 00:34:22 +00:00
unary-real-imag.cpp
unavailable_aligned_allocation.cpp [Sema] Improve diagnostic message for unavailable C++17 aligned 2017-07-19 17:17:50 +00:00
undefined-inline.cpp Don't warn on "use" of undefined inline function that isn't actually an ODR 2016-03-25 22:29:27 +00:00
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 Switch from using a DiagnosticTrap and a note for "while defining a special 2017-05-25 22:47:05 +00:00
unknown-anytype-blocks.cpp
unknown-anytype.cpp [Sema] Don't allow applying address-of operator to a call to a function 2016-11-19 00:13:03 +00:00
unknown-type-name.cpp Switch to gnu++14 as the default dialect. 2017-12-09 12:09:54 +00:00
unreachable-catch-clauses.cpp Generate a diagnostic when a catch handler cannot execute due to class hierarchy inversion with regards to other catch handlers for the same block. 2015-04-08 00:05:29 +00:00
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 When typo-correcting a using-declaration, actually correct the name of the 2016-05-14 01:58:49 +00:00
using-decl-pr4441.cpp
using-decl-pr4450.cpp
using-decl-templates.cpp Improve error message when referencing a non-tag type with a tag 2016-12-09 19:47:58 +00:00
using-directive.cpp
value-dependent-exprs.cpp
value-initialization.cpp
vararg-class.cpp
vararg-default-arg.cpp
vararg-non-pod.cpp Lit C++11 Compatibility Patch #7 2016-04-13 20:00:45 +00:00
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 [Sema] Be consistent about diagnostic wording: always use "cannot". 2015-08-15 15:23:14 +00:00
vector-no-lax.cpp [Sema] Support implicit scalar to vector conversions 2017-05-12 19:11:06 +00:00
vector.cpp [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +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 [Sema] Unions cannot have virtual functions. 2015-06-27 19:18:55 +00:00
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 Mark DR1250 as implemented 2016-02-01 01:33:17 +00:00
virtuals.cpp Rework parsing of pure-specifiers. Perform the grammar matching and 2015-06-30 01:28:56 +00:00
visibility.cpp
vla-consruct.cpp Implementation of VlA of GNU C++ extension, by Vladimir Yakovlev. 2016-04-29 09:39:50 +00:00
vla.cpp [Sema] Diagnose references to unbound arrays in function definitions 2015-04-09 19:53:25 +00:00
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 Fix -Wdynamic-class-memaccess to skip invalid classes. 2016-03-31 04:18:07 +00:00
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 Add -Wcomma warning to Clang. 2016-02-18 23:58:40 +00:00
warn-consumed-analysis.cpp Fix for PR20402 in -Wconsumed. 2015-04-15 22:32:44 +00:00
warn-consumed-parsing.cpp Determine the attribute subject for diagnostics based on declarative information in DeclNodes.td. This greatly reduces the number of enumerated values used for more complex diagnostics; these are now only required when the "attribute only applies to" diagnostic needs to be generated manually as part of semantic processing. 2017-11-26 20:01:12 +00:00
warn-dangling-field.cpp
warn-deprecated-header.cpp
warn-div-or-rem-by-zero.cpp
warn-empty-body.cpp Revert r318456 "Issue -Wempty-body warnings for else blocks" 2017-11-20 17:48:54 +00:00
warn-enum-compare.cpp Fix warn-enum-compare.cpp on Windows 2017-12-11 18:58:18 +00:00
warn-everthing.cpp [Sema] -Wunused-variable warning for array variables should behave 2016-10-27 13:30:51 +00:00
warn-exit-time-destructors.cpp
warn-float-conversion.cpp Revert the bool portion of r267054 2016-04-22 22:14:32 +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
warn-large-by-value-copy.cpp
warn-literal-conversion.cpp Revert the bool portion of r267054 2016-04-22 22:14:32 +00:00
warn-logical-not-compare.cpp Expand -Wlogical-not-parentheses to also fire on `!x & A`. 2016-10-27 16:32:06 +00:00
warn-loop-analysis.cpp [Sema] Make BreakContinueFinder handle nested loops. 2017-07-04 00:52:24 +00:00
warn-max-unsigned-zero.cpp Add test for r288732, warn on unsigned zero in std::max 2016-12-06 00:27:21 +00:00
warn-member-not-needed.cpp
warn-memset-bad-sizeof.cpp Reapply [Sema] Add sizeof diagnostics for bzero 2016-08-10 18:34:47 +00:00
warn-memsize-comparison.cpp DR583, DR1512: Implement a rewrite to C++'s 'composite pointer type' rules. 2016-10-21 22:00:42 +00:00
warn-missing-noreturn.cpp
warn-missing-prototypes.cpp Sema: Don't emit a missing prototype warning for deleted functions. 2015-03-12 14:28:47 +00:00
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 Add warning when assigning enums to bitfields without an explicit unsigned underlying type 2016-11-16 23:40:00 +00:00
warn-new-overaligned-2.cpp
warn-new-overaligned-3.cpp
warn-new-overaligned.cpp
warn-overloaded-virtual.cpp
warn-pessmizing-move.cpp Fix -Wredundant-move warning. 2015-07-29 23:47:19 +00:00
warn-pure-virtual-call-from-ctor-dtor.cpp [Sema] Don't emit "pure virtual" warning for fully qualified calls. 2015-07-14 23:36:10 +00:00
warn-pure-virtual-kext.cpp [Sema] Don't emit "pure virtual" warning for fully qualified calls. 2015-07-14 23:36:10 +00:00
warn-range-loop-analysis.cpp fix typo "varaible" 2016-08-24 16:37:21 +00:00
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 PR6037 2015-01-19 01:44:02 +00:00
warn-reorder-ctor-initialization.cpp
warn-self-assign.cpp
warn-self-comparisons.cpp
warn-self-move.cpp Extend the self move warning to record types. 2015-01-13 02:32:02 +00:00
warn-shadow-in-lambdas.cpp [Sema] Avoid -Wshadow warning when a "redefinition of " error is presented 2017-01-10 14:41:13 +00:00
warn-shadow.cpp Fix -Wshadow false positives with function-local classes. 2017-07-31 15:21:26 +00:00
warn-sign-conversion-cpp11.cpp Add testcase I forgot to add in R313907. 2017-09-21 20:14:08 +00:00
warn-sign-conversion.cpp Update a few more tests in response to the MS ABI enum semantics 2015-10-08 08:28:09 +00:00
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 Handle scoped_lockable objects being returned by value in C++17. 2018-01-11 22:13:57 +00:00
warn-thread-safety-negative.cpp When cloning LocalInstantiationScope's, don't update the current scope in Sema. 2015-03-18 21:52:47 +00:00
warn-thread-safety-parsing.cpp [ThreadSafetyAnalysis] Fix isCapabilityExpr 2017-12-14 22:24:45 +00:00
warn-thread-safety-verbose.cpp
warn-throw-out-noexcept-func.cpp Fix some -Wexceptions false positives. 2018-02-20 02:32:30 +00:00
warn-undefined-bool-conversion.cpp
warn-unreachable.cpp Implement C++ [basic.link]p8. 2017-09-20 07:22:00 +00:00
warn-unsequenced.cpp Fix false positive in -Wunsequenced and templates. 2016-08-05 21:02:34 +00:00
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 [Sema] Fix crash in unused-lambda-capture warning for VLAs 2017-12-11 18:00:36 +00:00
warn-unused-local-typedef-serialize.cpp [Hexagon] Use integrated assembler by default 2015-12-09 16:34:24 +00:00
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 Corrrect warn_unused_result attribute 2017-04-19 21:24:55 +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 Disable -Wweak-vtables when there are no key functions 2016-12-06 21:44:41 +00:00
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 [Lit Test] Updated 20 Lit tests to be C++11 compatible. 2015-12-10 01:07:17 +00:00
zero-length-arrays.cpp [Test] Make Lit tests C++11 compatible #9 2017-02-24 22:22:05 +00:00