hanchenye-llvm-project/clang/test/SemaCXX
DeLesley Hutchins 5533ec5c55 Consumed analysis: improve handling of conditionals.
Patch by chris.wailes@gmail.com.

* The TestedVarsVisitor was folded into the ConsumedStmtVisitor.
* The VarTestResult class was updated to allow these changes.
* The PropagationInfo class was updated for the same reasons.
* Correctly handle short-circuiting of Boolean operations.
* Blocks are now marked as unreachable when we can statically prove we will
  never branch to them.
* Unreachable blocks are skipped by the analysis.

llvm-svn: 189594
2013-08-29 17:26:57 +00:00
..
Inputs Suppress the c++11 -Wdeprecated warning for 'register' if it is expanded from a 2013-06-14 21:05:24 +00:00
2008-01-11-BadWarning.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
MicrosoftCompatibility-cxx98.cpp
MicrosoftCompatibility.cpp Allow the parser to recover gracefully if a typename is used to introduce a decltype type. 2012-07-22 15:10:57 +00:00
MicrosoftCompatibilityNoExceptions.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
MicrosoftExtensions.cpp Under -fms-extensions, only inject a friend tag name when we didn't see a tag with that name in an enclosing scope. 2013-06-27 20:42:30 +00:00
PR5086-ambig-resolution-enum.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
PR6562.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
PR6618.cpp
PR7410.cpp
PR7944.cpp
PR8012.cpp
PR8385.cpp
PR8755.cpp
PR8884.cpp
PR9459.cpp
PR9460.cpp Get rid of an early return in Sema::ActOnFields which doesn't make sense anymore. 2012-08-08 04:39:56 +00:00
PR9461.cpp
PR9572.cpp Fix some confusing diagnostic wording. s/implicit default/implicit/ if we're 2013-06-13 03:34:55 +00:00
PR9884.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
PR9902.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
PR9908.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
PR10177.cpp
PR10243.cpp
PR10447.cpp DR14, DR101, and part of DR1: fix handling of extern "C" declarations in 2013-06-18 20:15:12 +00:00
PR10458.cpp
PR11358.cpp
PR12481.cpp
__null.cpp
__try.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
abstract.cpp Implement DR257 / fix PR16659: 2013-07-22 02:56:56 +00:00
access-base-class.cpp
access-control-check.cpp
access-member-pointer.cpp
access.cpp Add a testcase for PR7434, which is a bug we no longer appear to have. 2013-06-11 20:38:45 +00:00
addr-of-overloaded-function-casting.cpp Don't produce duplicate notes if we have deduction failure notes when resolving 2013-08-14 00:00:44 +00:00
addr-of-overloaded-function.cpp Fix crash typo-correcting dependent member func. 2013-07-08 23:35:04 +00:00
address-of-temporary.cpp Correctly classify T{} as an array temporary if T is an array of class type with nontrivial destructor. 2013-02-02 02:11:36 +00:00
address-of.cpp PR15132: Replace "address expression must be an lvalue or a function 2013-02-02 02:14:45 +00:00
address-space-conversion.cpp
address-space-initialize.cpp Fix initializer for variables with attribute address_space set. 2013-02-26 21:15:54 +00:00
address-space-newdelete.cpp
address-space-references.cpp
aggregate-initialization.cpp
alias-template.cpp Fixed an assertion failure triggered by invalid code. 2013-01-11 14:34:39 +00:00
alignment-of-derived-class.cpp Fix alignment of class derived from empty class. 2013-07-16 00:21:28 +00:00
alignof-sizeof-reference.cpp sizeof(void) etc. should be a hard error in C++. 2013-08-13 22:26:42 +00:00
alignof.cpp Fix alignof computation of large arrays on x86_64. 2013-08-08 19:53:46 +00:00
altivec.cpp Add -Wunsequenced (with compatibility alias -Wsequence-point) to warn on 2013-01-17 01:17:56 +00:00
ambig-user-defined-conversions.cpp
ambiguous-builtin-unary-operator.cpp
ambiguous-conversion-show-overload.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
anonymous-struct.cpp Properly compute triviality for explicitly-defaulted or deleted special members. 2012-12-08 02:53:02 +00:00
anonymous-union-cxx11.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
anonymous-union.cpp Fix member refs with using decl + anonymous union. 2013-07-16 00:01:31 +00:00
array-bound-merge.cpp Using CanQualType::getAs<ArrayType> is unsafe; fix the code currently using it, 2012-12-13 01:43:21 +00:00
array-bounds-ptr-arith.cpp
array-bounds-system-header.cpp
array-bounds.cpp Have Sema::ActOnStartOfFunctionDef return the declaration that was passed it. 2012-12-14 06:54:03 +00:00
arrow-operator.cpp
ast-print.cpp Fix pretty-printing for unnamed unions. 2013-08-12 21:54:04 +00:00
atomic-type.cxx Support C11 _Atomic type qualifier. This is more-or-less just syntactic sugar for the _Atomic type specifier. 2013-03-28 01:55:44 +00:00
attr-after-definition.cpp
attr-common.cpp Don't allow __attribute__((common)) in C++. PR16330. 2013-06-20 22:55:04 +00:00
attr-cxx0x.cpp sizeof(void) etc. should be a hard error in C++. 2013-08-13 22:26:42 +00:00
attr-declspec-ignored.cpp
attr-deprecated.cpp Attempt to fix this test on i686 targets. 2013-02-12 08:59:01 +00:00
attr-format.cpp Make sure we perform the variadic method check correctly for calls to a member operator(). PR14057. 2012-10-11 00:30:58 +00:00
attr-no-sanitize-address.cpp Added the attribute name to the err_attribute_wrong_number_arguments diagnostic for clarity; updated almost all of the affected test cases. 2013-07-23 19:30:11 +00:00
attr-no-sanitize-memory.cpp Added the attribute name to the err_attribute_wrong_number_arguments diagnostic for clarity; updated almost all of the affected test cases. 2013-07-23 19:30:11 +00:00
attr-no-sanitize-thread.cpp Added the attribute name to the err_attribute_wrong_number_arguments diagnostic for clarity; updated almost all of the affected test cases. 2013-07-23 19:30:11 +00:00
attr-nodebug.cpp Add a test showing that nodebug is accepted in methods too. Patch by 2012-10-24 18:34:26 +00:00
attr-nonnull.cpp Start checking nonnull (as well as format and argument_with_type_tag) on 2013-01-24 02:03:08 +00:00
attr-noreturn.cpp Fix PR15291: noreturn adjustment in overload resolution for function templates, from Alexander Zinenko! 2013-04-17 08:45:07 +00:00
attr-print.cpp Improved source code fidelity for gcc mode attribute. 2013-06-20 12:46:19 +00:00
attr-regparm.cpp Fix typo 'with with' in diagnostic. 2013-02-21 23:15:05 +00:00
attr-selectany.cpp Implement __declspec(selectany) under -fms-extensions 2013-05-20 14:02:37 +00:00
attr-sentinel.cpp
attr-unavailable.cpp
attr-unused.cpp Add missing test from r163874. 2012-09-14 16:38:59 +00:00
attr-used.cpp Don't reject attribute used in an "extern const" variable definition. 2013-08-16 23:18:50 +00:00
attr-visibility.cpp
attr-weak.cpp Check for internal weak decls after merging. 2013-01-16 23:11:15 +00:00
attr-weakref.cpp Delay linkage checks when validating the weakref attribute. 2013-01-16 23:49:06 +00:00
auto-cxx0x.cpp
auto-cxx98.cpp
auto-pragma.cpp Make sure pragmas don't attach visibility attributes to auto variables with 2013-02-22 17:59:16 +00:00
auto-subst-failure.cpp
bitfield-layout.cpp
block-call.cpp
blocks-1.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
blocks.cpp Fix a crash-on-valid where a block capture copy expression was 2013-03-22 02:10:40 +00:00
bool.cpp Split the deprecated increment bool warning into a sub-group of -Wdeprecated 2013-08-08 03:05:52 +00:00
borland-extensions.cpp Actually remove the hack which was blocking the Borland-style attributes from 2013-01-29 01:38:41 +00:00
builtin-exception-spec.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
builtin-ptrtomember-ambig.cpp
builtin-ptrtomember-overload-1.cpp
builtin-ptrtomember-overload.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
builtin_objc_msgSend.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
builtins-arm.cpp Fix __builtin_va_arg assertion failure in ARM AAPCS. 2012-10-20 06:11:33 +00:00
builtins-va_arg.cpp Fix __builtin_va_arg assertion failure in ARM AAPCS. 2012-10-20 06:11:33 +00:00
builtins.cpp Add a __builtin_addressof that performs the same functionality as the built-in 2013-07-11 02:27:57 +00:00
c99-variable-length-array-cxx11.cpp Implement -Wvla correctly 2013-01-23 20:02:51 +00:00
c99-variable-length-array.cpp Improve 'failed template argument deduction' diagnostic for the case where we 2013-01-31 05:19:49 +00:00
c99.cpp
calling-conv-compat.cpp Delete CC_Default and use the target default CC everywhere 2013-08-27 23:08:25 +00:00
captured-statements.cpp Implement template support for CapturedStmt 2013-05-04 03:59:06 +00:00
cast-conversion.cpp Don't build expressions for invalid casts. 2013-07-26 23:47:47 +00:00
cast-explicit-ctor.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
class-base-member-init.cpp Make CXXBaseSpecifier::getType return unqual type. 2013-07-11 22:22:22 +00:00
class-layout.cpp Fix bug in computing POD-for-layout. 2013-07-20 01:06:31 +00:00
class-names.cpp
class.cpp Avoid spurious error messages if parent template class cannot be instantiated 2013-08-10 05:54:47 +00:00
comma.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
compare.cpp Enhance -Wtautological-constant-out-of-range-compare to include the name of the enum constant. 2013-03-15 21:50:10 +00:00
complex-init-list.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
complex-overload.cpp PR15966: don't get confused by a complex integer -> complex integer conversion 2013-05-10 20:29:50 +00:00
composite-pointer-type.cpp
compound-literal.cpp Fix representation of compound literals for C++ objects with destructors. 2013-05-06 16:48:12 +00:00
condition.cpp Don't treat a non-deduced 'auto' type as being type-dependent. Instead, there 2013-04-30 13:56:41 +00:00
conditional-expr.cpp Allow paren casted throw statements inside of ternary expressions 2013-06-02 08:40:42 +00:00
const-cast.cpp Fix handling of const_cast from prvalue to rvalue reference: such a cast is 2013-06-14 22:27:52 +00:00
constant-expression-cxx1y.cpp PR16755: When initializing or modifying a bitfield member in a constant 2013-08-06 07:09:20 +00:00
constant-expression-cxx11.cpp PR16755: When initializing or modifying a bitfield member in a constant 2013-08-06 07:09:20 +00:00
constant-expression.cpp Change the wording of the extension warning from 2012-09-24 18:19:21 +00:00
constexpr-ackermann.cpp
constexpr-backtrace-limit.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
constexpr-depth.cpp
constexpr-duffs-device.cpp Add another C++14 constexpr test case. 2013-07-25 01:53:54 +00:00
constexpr-factorial.cpp
constexpr-many-arguments.cpp
constexpr-nqueens.cpp
constexpr-printing.cpp C++1y: support simple variable assignments in constexpr functions. 2013-04-26 14:36:30 +00:00
constexpr-steps.cpp Add test forgotten in r181388. 2013-05-08 02:38:36 +00:00
constexpr-strlen.cpp
constexpr-turing.cpp Since we're counting number of steps, switch to turing machines which maximize 2013-05-16 22:18:32 +00:00
constexpr-value-init.cpp C++1y: support simple variable assignments in constexpr functions. 2013-04-26 14:36:30 +00:00
constructor-initializer.cpp <rdar://problem/13267210> Ensure that Sema::CompareReferenceRelationship returns consistent results with invalid types. 2013-03-26 23:36:30 +00:00
constructor-recovery.cpp
constructor.cpp
conversion-delete-expr.cpp Refactor places which perform contextual implicit conversions to go through a 2013-05-21 19:05:48 +00:00
conversion-function.cpp Started implementing variable templates. Top level declarations should be fully supported, up to some limitations documented as FIXMEs or TODO. Static data member templates work very partially. Static data member templates of class templates need particular attention... 2013-08-06 01:03:05 +00:00
conversion-incomplete-type.cpp Fix a conversion to incomplete type bug -- The error message now specifically states that the type is incomplete and points to the forward declaration of the incomplete type. 2013-06-27 01:50:25 +00:00
conversion.cpp Don't warn on conversion from NULL to nullptr_t 2013-02-16 00:56:22 +00:00
convert-to-bool.cpp Warn about self-initialization of references. 2012-08-17 10:12:33 +00:00
converting-constructor.cpp
copy-assignment.cpp
copy-constructor-error.cpp C++ core issue 1344, PR10618: promote "addition of default argument makes this 2012-11-28 03:45:24 +00:00
copy-initialization.cpp
crash-lambda-12645424.cpp In ExpressionEvaluationContextRecord manage LambdaMangle with a shared 2012-11-14 19:16:13 +00:00
crashes.cpp Fix an incorrect assert, the LHS can be an LValue. 2012-11-01 14:32:20 +00:00
cstyle-cast.cpp clang/test: [PR8833] Introduce the feature "LP64" to suppress LLP64-incompatible tests. 2012-09-12 10:45:40 +00:00
cv-unqual-rvalues.cpp
cxx-member-pointer-op.cpp
cxx0x-class.cpp Move -Wstatic-float-init fixit into a note & don't recover as if constexpr 2013-01-29 22:26:08 +00:00
cxx0x-compat.cpp
cxx0x-constexpr-const.cpp
cxx0x-cursory-default-delete.cpp Properly compute triviality for explicitly-defaulted or deleted special members. 2012-12-08 02:53:02 +00:00
cxx0x-defaulted-functions.cpp PR15597: Fix a confusion between the implicit exception specification and the 2013-03-27 00:22:47 +00:00
cxx0x-delegating-ctors.cpp When diagnosing multiple mem-initializers in a delegating ctor, point to the delegating initializer, not to the first initializer. For good measure, also highlight the other initializer. 2012-09-14 18:21:10 +00:00
cxx0x-deleted-default-ctor.cpp
cxx0x-initializer-aggregates.cpp Implement DR1270: braces can be elided in all aggregate initialization, not 2013-06-06 11:41:05 +00:00
cxx0x-initializer-constructor.cpp Add some missing diagnostics for C++11 narrowing conversions. 2013-02-05 05:52:24 +00:00
cxx0x-initializer-references.cpp Fix handling of braced-init-list as reference initializer within aggregate 2013-05-31 02:56:17 +00:00
cxx0x-initializer-scalars.cpp
cxx0x-initializer-stdinitializerlist.cpp PR12086, PR15117 2013-06-12 22:31:48 +00:00
cxx0x-nontrivial-union.cpp Don't check for triviality on fields of templated records. We can't know the 2013-06-25 23:22:23 +00:00
cxx0x-return-init-list.cpp
cxx0x-type-convert-construct.cpp
cxx1y-array-runtime-bound.cpp Add a triple to make a test resilient to non-TLS hosts (eg: darwin10) 2013-04-22 04:18:25 +00:00
cxx1y-constexpr-not-const.cpp The 'constexpr implies const' rule for non-static member functions is gone in 2013-04-21 01:08:50 +00:00
cxx1y-contextual-conversion-tweaks.cpp r184100 Fix -- Updated test cases for contextual conversion 2013-06-18 01:27:47 +00:00
cxx1y-deduced-return-type.cpp Sema: Subst type default template args earlier 2013-08-28 23:48:32 +00:00
cxx1y-initializer-aggregates.cpp C++1y: Allow aggregates to have default initializers. 2013-04-20 22:23:05 +00:00
cxx1y-user-defined-literals.cpp C++1y literal suffix support: 2013-07-23 08:14:48 +00:00
cxx1y-variable-templates_in_class.cpp Add a constexpr functionality test for static data member templates. 2013-08-22 01:05:27 +00:00
cxx1y-variable-templates_top_level.cpp Refactor for clarity and simplicity. 2013-08-22 00:59:14 +00:00
cxx11-ast-print.cpp Moved pretty printer test for thread local storage in its own file 2013-05-04 11:26:59 +00:00
cxx11-attr-print.cpp Improved source code fidelity for gcc mode attribute. 2013-06-20 12:46:19 +00:00
cxx11-crashes.cpp If we find an error in the range expression in a range-based for loop, and the 2013-08-21 01:40:36 +00:00
cxx11-gnu-attrs.cpp Downgrade 'attribute ignored when parsing type' from error to warning, to match 2013-01-29 10:02:16 +00:00
cxx11-inheriting-ctors.cpp PR15757: When we instantiate an inheriting constructor template, also 2013-05-17 02:19:35 +00:00
cxx11-thread-local-print.cpp Avoid patching storage class for block scope thread_local variables. 2013-05-10 20:34:44 +00:00
cxx11-thread-local.cpp Revert r179671 and just pass a triple to the test for a platform with known 2013-04-17 17:27:51 +00:00
cxx11-user-defined-literals-unused.cpp Mark as referenced the functions from instantiated UserDefinedLiterals. 2013-04-09 01:17:02 +00:00
cxx11-user-defined-literals.cpp PR14950: Fix out-of-bounds function parameter access in literal operator lookup. 2013-01-15 07:12:59 +00:00
cxx98-compat-flags.cpp
cxx98-compat-pedantic.cpp r184100 Fix -- Updated test cases for contextual conversion 2013-06-18 01:27:47 +00:00
cxx98-compat.cpp Started implementing variable templates. Top level declarations should be fully supported, up to some limitations documented as FIXMEs or TODO. Static data member templates work very partially. Static data member templates of class templates need particular attention... 2013-08-06 01:03:05 +00:00
dcl_ambig_res.cpp sizeof(void) etc. should be a hard error in C++. 2013-08-13 22:26:42 +00:00
dcl_init_aggr.cpp
decl-expr-ambiguity.cpp Try to recognise hidden tag type names in potential declarations, in ObjC code as well. 2013-05-07 19:54:28 +00:00
decl-init-ref.cpp PR16502: Fix a dumb bug where we might look past the last initializer in an 2013-07-01 06:08:20 +00:00
decl-microsoft-call-conv.cpp Delete CC_Default and use the target default CC everywhere 2013-08-27 23:08:25 +00:00
decltype-98.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
decltype-crash.cpp
decltype-overloaded-functions.cpp Unrevert r166268, reverted in r166272, with a fix for the issue which Nick 2012-10-21 03:28:35 +00:00
decltype-pr4444.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
decltype-pr4448.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
decltype-this.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
decltype.cpp PR12713 - crash on invalid due to unmatched parens in decltype 2012-11-07 19:08:05 +00:00
default-argument-temporaries.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
default-assignment-operator.cpp Fix some confusing diagnostic wording. s/implicit default/implicit/ if we're 2013-06-13 03:34:55 +00:00
default-constructor-initializers.cpp
default1.cpp Attempt typo correction for function calls with the wrong number of arguments. 2013-07-08 23:13:44 +00:00
default2.cpp
defaulted-ctor-loop.cpp Make warnings about uninitialized fields include the field name. 2012-09-21 08:58:33 +00:00
defaulted-private-dtor.cpp
delete.cpp
deleted-function.cpp Fix rejects-valid: explicit specialization of redeclared deleted function template. 2012-07-16 18:50:45 +00:00
deleted-operator.cpp
dependent-auto.cpp
dependent-noexcept-unevaluated.cpp
dependent-types.cpp
deprecated.cpp C++11: don't warn about the deprecated 'register' keyword if it's combined with 2013-06-17 01:34:01 +00:00
derived-to-base-ambig.cpp
destructor.cpp
direct-initializer.cpp
discrim-union.cpp Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164766 2012-09-27 10:16:10 +00:00
do-while-scope.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
dr1301.cpp
dynamic-cast.cpp Add an additional test for dynamic_cast. 2013-06-20 18:53:38 +00:00
elaborated-type-specifier.cpp
empty-class-layout.cpp Don't use dyn_cast on a Type* which might not be canonical. Fixes an extremely obscure record layout bug. 2012-12-06 03:04:50 +00:00
enum-bitfield.cpp
enum-increment.cpp Emit an error for enum increments and decrements in C++ mode. 2013-08-08 01:50:23 +00:00
enum-scoped.cpp Don't allow unary negation on scoped enums. 2013-08-16 00:09:18 +00:00
enum-unscoped-nonexistent.cpp Suppress bogus "use of undefined constexpr function" error if the function body 2013-05-14 05:18:44 +00:00
enum.cpp
exception-spec-no-exceptions.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
exceptions.cpp Per C++11 [except.spec]p2, rvalue references are not permitted in exception specifications. 2012-11-28 22:52:42 +00:00
explicit.cpp Refactor places which perform contextual implicit conversions to go through a 2013-05-21 19:05:48 +00:00
expression-traits.cpp Bound member function diagnostic - suggest no-args calls and note overload candidates 2013-06-04 00:28:46 +00:00
expressions.cpp
extern-c.cpp Reinstate r185229, reverted in r185256, with a tweak: further ignore the 2013-06-30 09:48:50 +00:00
flexible-array-test.cpp
fntype-decl.cpp
for-range-dereference.cpp If the range in a for range statement doesn't have a viable begin/end function, 2012-09-20 21:52:32 +00:00
for-range-examples.cpp If we find an error in the range expression in a range-based for loop, and the 2013-08-21 01:40:36 +00:00
for-range-no-std.cpp Better diagnostics for range-based for loops with bad range types. 2012-08-21 00:52:01 +00:00
for-range-unused.cpp Don't treat a non-deduced 'auto' type as being type-dependent. Instead, there 2013-04-30 13:56:41 +00:00
format-strings-0x.cpp Implement C++'s restrictions on the type of an expression passed to a vararg 2013-08-05 18:49:43 +00:00
format-strings.cpp -Wformat: Don't check format strings in uninstantiated templates. 2012-10-02 01:49:54 +00:00
friend-class-nodecl.cpp
friend-out-of-line.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
friend.cpp Reinstate r186040, with additional fixes and more test coverage (reverted in 2013-07-17 23:53:16 +00:00
function-extern-c.cpp Diagnose about extern "C" functions returning c++ objects 2013-03-14 23:09:00 +00:00
function-overload-typo-crash.cpp
function-overloaded-redecl.cpp
function-pointer-arguments.cpp Fix for PR16570: when comparing two function pointers, discard qualifiers when 2013-08-09 21:42:32 +00:00
function-redecl.cpp Fix implementation of C11 6.2.7/4 and C++11 [dcl.array]p3: 2013-08-13 18:18:50 +00:00
function-type-qual.cpp [AST] Introduce a new DecayedType sugar node 2013-06-24 17:51:48 +00:00
functional-cast.cpp clang/test: [PR8833] Introduce the feature "LP64" to suppress LLP64-incompatible tests. 2012-09-12 10:45:40 +00:00
generic-selection.cpp
gnu-case-ranges.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
goto.cpp
goto2.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
i-c-e-cxx.cpp C++1y: track object lifetime during constexpr evaluation, and don't allow 2013-07-24 07:11:57 +00:00
illegal-member-initialization.cpp
implicit-exception-spec.cpp PR11851 (and duplicates): Whenever a constexpr function is referenced, 2012-11-07 01:14:25 +00:00
implicit-int.cpp
implicit-member-functions.cpp The declaration of a special member can require overload resolution to be 2012-11-29 01:34:07 +00:00
implicit-virtual-member-functions.cpp Fix some confusing diagnostic wording. s/implicit default/implicit/ if we're 2013-06-13 03:34:55 +00:00
incomplete-call.cpp
increment-decrement.cpp
indirect-goto.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
inherit.cpp
init-priority-attr.cpp Replacing err_attribute_argument_not_int with err_attribute_not_type_attr 2013-07-30 14:10:17 +00:00
inline.cpp
instantiate-blocks.cpp
invalid-instantiated-field-decl.cpp
invalid-member-expr.cpp
invalid-template-specifier.cpp
issue547.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
lambda-expressions.cpp Handle a difference in lambda return type deduction between C++11 and C++1y: if 2013-07-26 23:45:07 +00:00
libstdcxx_atomic_ns_hack.cpp Egriegious hack to support libstdc++4.6's broken <atomic> header, which defines 2012-10-04 22:13:39 +00:00
libstdcxx_common_type_hack.cpp Ugly ugly hack for libstdc++-4.6 and libstdc++-4.7 compatibility. These 2012-10-23 00:32:41 +00:00
libstdcxx_is_pod_hack.cpp Extend the "__is_pod" hack, which demotes various type trait keywords 2012-08-30 20:04:43 +00:00
libstdcxx_map_base_hack.cpp
libstdcxx_pointer_return_false_hack.cpp Fix copy-pasted comment. 2013-06-20 23:01:44 +00:00
linkage-spec.cpp Reinstate r185229, reverted in r185256, with a tweak: further ignore the 2013-06-30 09:48:50 +00:00
linkage.cpp Add a testcase for a recent regression. 2013-04-26 00:29:11 +00:00
linkage2.cpp Reinstate r185229, reverted in r185256, with a tweak: further ignore the 2013-06-30 09:48:50 +00:00
literal-operators.cpp Fix crash if a literal operator template's template parameter pack is not a non-type template parameter pack. Patch by Andy Gibbs! 2012-08-03 21:14:57 +00:00
literal-type.cpp
local-classes.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
long-virtual-inheritance-chain.cpp
lookup-member.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
member-class-11.cpp
member-expr-anonymous-union.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
member-expr-static.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
member-expr.cpp Fix the end sourcelocation of the call expression in a member access when 2013-08-21 19:09:44 +00:00
member-init.cpp When we're synthesizing copy/move-assignment, we can't form a reference to an 2013-06-07 01:48:56 +00:00
member-location.cpp
member-name-lookup.cpp
member-operator-expr.cpp No longer assuming the number of prototype arguments is always less than the number of formal parameters for a variadic function call. 2012-07-20 20:40:35 +00:00
member-pointer-ms.cpp Add a few more tests for casts. 2013-06-20 01:35:13 +00:00
member-pointer-size.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
member-pointer.cpp
member-pointers-2.cpp
microsoft-cxx0x.cpp PR13433: In Microsoft mode, don't require function calls within decltype 2012-07-28 19:54:11 +00:00
microsoft-dtor-lookup.cpp [ms-cxxabi] Destroy temporary record arguments in the callee 2013-06-21 12:45:15 +00:00
microsoft-new-delete.cpp Switching the tests to use size_t instead of unsigned int to hopefully appease the Linux x64 build bot (take 2, forgot this test case). 2013-05-30 02:17:14 +00:00
missing-header.cpp [ms-inline asm] As part of a larger refactoring, rename AsmStmt to GCCAsmStmt. 2012-08-25 00:11:56 +00:00
missing-members.cpp
missing-namespace-qualifier-typo-corrections.cpp Add quotation marks to template names in diagnostics. 2013-03-05 06:21:38 +00:00
ms-exception-spec.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
ms-interface.cpp Add the Microsoft __is_interface_class type trait. 2012-09-25 07:32:49 +00:00
ms-wchar.cpp Better diagnostics for string initialization. 2013-05-15 11:03:04 +00:00
ms_struct.cpp Rewrite record layout for ms_struct structs. 2013-06-26 20:50:34 +00:00
ms_wide_bitfield.cpp MS wide bitfield error check in Sema 2013-07-17 20:46:03 +00:00
namespace-alias.cpp
namespace.cpp
neon-vector-types.cpp
nested-name-spec-locations.cpp
nested-name-spec.cpp Reword a diagnostic to avoid a confusing implication that it might be talking 2013-08-23 02:16:48 +00:00
new-array-size-conv.cpp
new-delete-0x.cpp Update test FIXME: The '[]' in 'delete []' is never part of a lambda. 2012-10-17 06:45:09 +00:00
new-delete-cxx0x.cpp
new-delete-predefined-decl-2.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
new-delete-predefined-decl.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
new-delete.cpp Fix some confusing diagnostic wording. s/implicit default/implicit/ if we're 2013-06-13 03:34:55 +00:00
no-exceptions.cpp
no-implicit-builtin-decls.cpp
no-rtti.cpp Check dynamic_cast is not used with -fno-rtti, unless it is a noop or can be resolved statically. 2013-08-01 08:28:32 +00:00
no-warn-composite-pointer-type.cpp Update test case. 2012-10-30 05:28:33 +00:00
no-wchar.cpp Fixed support for disabled wchar_t and added an appropriate test. 2012-09-09 10:13:32 +00:00
non-empty-class-size-zero.cpp
null_in_arithmetic_ops.cpp PR14284: crash on ext-valid returning NULL from a void function 2012-11-08 00:41:20 +00:00
nullptr-98.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
nullptr.cpp Add a few more tests for casts. 2013-06-20 01:35:13 +00:00
nullptr_in_arithmetic_ops.cpp
offsetof-0x.cpp
offsetof.cpp
operator-arrow-temporary.cpp
out-of-line-def-mismatch.cpp
overload-0x.cpp
overload-call-copycon.cpp
overload-call.cpp
overload-decl.cpp Improve diagnostic for redeclaring static member function. Fixes PR16382. 2013-06-19 22:43:55 +00:00
overload-member-call.cpp Fix mismatch between pointer and pointee type when diagnosing an incorrect 2013-01-26 02:07:32 +00:00
overload-value-dep-arg.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
overloaded-builtin-operators-0x.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
overloaded-builtin-operators.cpp clang/test: Remove "REQUIRES:LP64" in two tests. Each of them have explicit triple. 2012-12-07 06:57:40 +00:00
overloaded-name.cpp
overloaded-operator-decl.cpp Don't crash on calling static member overloaded operator, PR14120 2012-11-09 06:06:14 +00:00
overloaded-operator.cpp Improve error for assignment to incomplete class. 2013-08-28 20:35:35 +00:00
parentheses.cpp PR16727: don't try to evaluate a potentially value-dependent expression when 2013-08-19 22:06:05 +00:00
pascal-strings.cpp Handle parens properly when initializing a char array from a string literal. 2013-05-05 16:40:13 +00:00
pr13353.cpp Handle the case where the base type is not dependent, but the derived one is. 2012-07-17 20:24:05 +00:00
pr13394-crash-on-invalid.cpp Sema: Don't assume a nested name specifier holds a type 2013-08-05 04:53:41 +00:00
pragma-pack.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
pragma-unused.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
pragma-visibility.cpp Merge existing attributes before processing pragmas in friend template 2012-08-22 14:52:14 +00:00
pragma-weak.cpp Process #pragma weak only after we know the linkage of the function or variable 2013-03-02 21:41:48 +00:00
predefined-expr.cpp Handle predefined expression for a captured statement 2013-08-26 14:27:34 +00:00
prefetch-enum.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
primary-base.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
printf-block.cpp For varargs, diagnose passing ObjC objects by value like other non-POD types. 2012-07-19 18:10:23 +00:00
printf-cstr.cpp For varargs, diagnose passing ObjC objects by value like other non-POD types. 2012-07-19 18:10:23 +00:00
pseudo-destructors.cpp Per [basic.lookup.classref]p3, in an expression of the form p->~type-name, the 2012-11-15 00:31:27 +00:00
ptrtomember-overload-resolution.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
ptrtomember.cpp
qual-id-test.cpp
qualification-conversion.cpp
qualified-id-lookup.cpp Disallow extern decls of type void in C++ mode 2013-05-29 00:56:45 +00:00
qualified-member-enum.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
qualified-names-diag.cpp
redeclared-alias-template.cpp
redeclared-auto.cpp
ref-init-ambiguous.cpp
references.cpp When copy-initializing a temporary for a reference binding, don't allow use of 2013-06-13 00:57:57 +00:00
reinterpret-cast.cpp
reinterpret-fn-obj-pedantic.cpp
return-noreturn.cpp
return-stack-addr.cpp
return.cpp For -Wignored-qualifiers, don't warn on qualifiers which we acquire via a 2013-03-28 03:27:52 +00:00
runtimediag-ppe.cpp
rval-references-examples.cpp
rval-references.cpp
scope-check.cpp Fix a couple of bugs where jump diagnostics would not notice that a variable 2013-06-03 01:05:37 +00:00
shift.cpp
short-enums.cpp
short-wchar-sign.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
sourceranges.cpp Fix a bug in VarDecl::getSourceRange() for static member arrays with an element 2013-01-22 17:00:09 +00:00
statements.cpp
static-array-member.cpp
static-assert.cpp
static-cast-complete-type.cpp
static-cast.cpp
static-data-member.cpp Fix pr16354. 2013-06-19 13:41:54 +00:00
static-initializers.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
storage-class.cpp Add missing diagnostic for a nested-name-specifier on a free-standing type definition. Bump some related diagnostics from warning to extension in C++, since they're errors there. Add some missing checks for function specifiers on non-function declarations. 2013-03-18 22:52:47 +00:00
string-init.cpp Better diagnostics for string initialization. 2013-05-15 11:03:04 +00:00
string-plus-int.cpp
struct-class-redecl.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
switch-0x.cpp
switch-implicit-fallthrough-cxx98.cpp Per discussion on cfe-dev, re-enable suppression of -Wimplicit-fallthrough on C, but also include dialects of C++ earlier than C++11. 2012-11-12 21:20:48 +00:00
switch-implicit-fallthrough-macro.cpp Compatibility macro detection for the -Wimplicit-fallthrough diagnostic. 2012-09-28 22:24:03 +00:00
switch-implicit-fallthrough-per-method.cpp Improve C++11 attribute parsing. 2012-10-03 01:56:22 +00:00
switch-implicit-fallthrough.cpp Moved fallthrough regression test to switch-implicit-fallthrough.cpp. 2013-04-02 17:55:01 +00:00
switch.cpp Refactor places which perform contextual implicit conversions to go through a 2013-05-21 19:05:48 +00:00
tag-ambig.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
templated-friend-decl.cpp
this.cpp
trailing-return-0x.cpp PR16273: Weaken a bogus assertion. 2013-06-07 20:03:01 +00:00
trivial-constructor.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
trivial-destructor.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
type-convert-construct.cpp
type-definition-in-specifier.cpp
type-dependent-exprs.cpp
type-formatting.cpp
type-traits-incomplete.cpp
type-traits.cpp Implement compiler intrinsics needed for compatibility with MSVC 2012 <type_traits>. 2013-03-27 01:34:16 +00:00
typedef-redecl.cpp
typeid-ref.cpp
typeid.cpp
types_compatible_p.cpp
typo-correction-pt2.cpp Refactor all diagnosing of TypoCorrections through a common function, in 2013-08-17 00:46:16 +00:00
typo-correction.cpp Attempt typo correction for function calls with the wrong number of arguments. 2013-07-08 23:13:44 +00:00
unary-real-imag.cpp
undefined-inline.cpp Add a new -Wundefined-inline warning for inline functions which are used but not 2013-02-01 08:13:20 +00:00
undefined-internal.cpp Add r180263 back, but fix hasBraces() to be correct during parsing. 2013-04-26 01:30:23 +00:00
underlying_type.cpp
uninit-variables-conditional.cpp
uninit-variables.cpp -Wuninitialized: Split the classification of DeclRefExprs as initialization or 2012-07-17 00:06:14 +00:00
uninitialized.cpp PR15906: The body of a lambda is not an evaluated subexpression; don't visit it when visiting such subexpressions. 2013-05-03 19:16:22 +00:00
unknown-anytype-blocks.cpp
unknown-anytype.cpp
unknown-type-name.cpp Started implementing variable templates. Top level declarations should be fully supported, up to some limitations documented as FIXMEs or TODO. Static data member templates work very partially. Static data member templates of class templates need particular attention... 2013-08-06 01:03:05 +00:00
unreachable-catch-clauses.cpp
unreachable-code.cpp
unused-functions.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
unused-with-error.cpp
unused.cpp Fix -Wunused-value to not warn on expressions that have unresolved lookups due 2012-10-23 06:15:26 +00:00
user-defined-conversions.cpp
using-decl-1.cpp Offer typo suggestions for 'using' declarations. 2013-07-10 17:34:22 +00:00
using-decl-pr4441.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
using-decl-pr4450.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
using-decl-templates.cpp Fix assert if an attempt is made to explicitly instantiate an alias template. 2013-06-22 22:03:31 +00:00
using-directive.cpp
value-dependent-exprs.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
value-initialization.cpp
vararg-default-arg.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
vararg-non-pod.cpp Extend -Wnon-pod-varargs to check calls made from member pointers. 2013-06-22 02:30:38 +00:00
vector-casts.cpp
vector-no-lax.cpp
vector.cpp Fix Expr::Classify to correctly classify ExtVectorElementExprs. PR16204. 2013-06-17 21:09:57 +00:00
virtual-base-used.cpp Fix some confusing diagnostic wording. s/implicit default/implicit/ if we're 2013-06-13 03:34:55 +00:00
virtual-member-functions-key-function.cpp Fix some confusing diagnostic wording. s/implicit default/implicit/ if we're 2013-06-13 03:34:55 +00:00
virtual-override-x64.cpp Virtual method overrides can no longer have mismatched calling conventions. This fixes PR14339. 2012-12-09 17:45:41 +00:00
virtual-override-x86.cpp Delete CC_Default and use the target default CC everywhere 2013-08-27 23:08:25 +00:00
virtual-override.cpp
virtuals.cpp
visibility.cpp Clear the LV cache when setting the instantiated from link. 2013-01-08 14:58:32 +00:00
vla.cpp
vtable-instantiation.cc
warn-assignment-condition.cpp Unrevert r166268, reverted in r166272, with a fix for the issue which Nick 2012-10-21 03:28:35 +00:00
warn-bad-memaccess.cpp Don't get confused if a extern "C" builtin function is redeclared without 2012-12-30 17:23:09 +00:00
warn-bool-conversion.cpp
warn-c++11-extensions.cpp Warn that scoped enumerations are a C++11 extenstion when compiling in 2013-04-23 02:47:36 +00:00
warn-cast-align.cpp
warn-char-subscripts.cpp
warn-consumed-analysis-strict.cpp Consumed analysis: improve handling of conditionals. 2013-08-29 17:26:57 +00:00
warn-consumed-analysis.cpp Consumed analysis: improve handling of conditionals. 2013-08-29 17:26:57 +00:00
warn-consumed-parsing.cpp Patch by Chris Wailes <chris.wailes@gmail.com>. 2013-08-12 21:20:55 +00:00
warn-dangling-field.cpp Move detection of reference members binding to temporaries from building of 2013-06-12 21:51:50 +00:00
warn-deprecated-header.cpp
warn-div-or-rem-by-zero.cpp Fix the warning for divide by zero to be a bit more robust. ;] 2013-06-14 08:57:18 +00:00
warn-empty-body.cpp
warn-enum-compare.cpp Enhance -Wtautological-constant-out-of-range-compare to include the name of the enum constant. 2013-03-15 21:50:10 +00:00
warn-everthing.cpp
warn-exit-time-destructors.cpp
warn-func-as-bool.cpp
warn-func-not-needed.cpp Mark all subsequent decls used. 2013-01-08 19:43:34 +00:00
warn-global-constructors.cpp Make Expr::isConstantInitializer match IRGen. 2013-07-16 22:40:53 +00:00
warn-implicit-conversion-floating-point-to-bool.cpp Warn about suspicious implicit conversions from floating point to bool 2012-08-28 15:44:30 +00:00
warn-large-by-value-copy.cpp
warn-literal-conversion.cpp
warn-logical-not-compare.cpp Testcase for PR16673. 2013-07-22 23:30:13 +00:00
warn-loop-analysis.cpp Add a new warning to -Wloop-analysis to detect suspicious increments or 2013-08-06 21:31:54 +00:00
warn-member-not-needed.cpp Add missing test for -Wunneeded-member-functions. 2013-06-19 22:01:25 +00:00
warn-memset-bad-sizeof.cpp
warn-missing-noreturn.cpp
warn-missing-prototypes.cpp
warn-missing-variable-declarations.cpp Add an additional test for namespaces and -Wmissing-variable-declarations. Move C++ test into SemaCXX. 2012-10-24 20:14:09 +00:00
warn-new-overaligned-2.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
warn-new-overaligned-3.cpp
warn-new-overaligned.cpp
warn-overloaded-virtual.cpp When -Woverloaded-virtual is triggered, call HandleFunctionTypeMismatch to add 2013-04-05 23:02:24 +00:00
warn-pure-virtual-call-from-ctor-dtor.cpp
warn-reinterpret-base-class.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
warn-reorder-ctor-initialization.cpp Improve -Wreorder to handle cases of anonymous class member ordering 2013-01-17 08:49:22 +00:00
warn-self-assign.cpp
warn-self-comparisons.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
warn-shadow.cpp
warn-sign-conversion.cpp
warn-static-const-float.cpp Move -Wstatic-float-init fixit into a note & don't recover as if constexpr 2013-01-29 22:26:08 +00:00
warn-static-function-inheader.cpp
warn-static-function-inheader.h
warn-string-conversion.cpp
warn-thread-safety-analysis.cpp Thread safety analysis: new test case 2013-08-16 18:28:00 +00:00
warn-thread-safety-parsing.cpp Added the attribute name to the err_attribute_wrong_number_arguments diagnostic for clarity; updated almost all of the affected test cases. 2013-07-23 19:30:11 +00:00
warn-unreachable.cpp
warn-unsequenced.cpp Teach -Wunsequenced that the side-effects of a function evaluation are sequenced 2013-06-30 10:40:20 +00:00
warn-unused-attribute.cpp add type attribute warn_unused, for -Wunused-variable warnings (pr#14253) 2013-07-20 15:05:36 +00:00
warn-unused-comparison.cpp
warn-unused-filescoped.cpp Suppress unused warning on static inline function template specializations. 2013-04-16 15:21:30 +00:00
warn-unused-parameters.cpp
warn-unused-private-field.cpp -Wunused-private-fields: Don't try to check unresolved initializer expressions 2012-08-07 21:30:42 +00:00
warn-unused-result.cpp For classes that have the warn_unused_result attribute, don't apply the 2012-11-13 21:23:31 +00:00
warn-unused-value.cpp report unused-value warning also for warn_unused types 2013-07-21 13:15:58 +00:00
warn-unused-variables-error.cpp Suppress -Wunused-variable for variables declared in headers, which may in 2013-04-10 00:47:10 +00:00
warn-unused-variables.cpp Suppress -Wunused-variable for variables declared in headers, which may in 2013-04-10 00:47:10 +00:00
warn-using-namespace-in-header.cpp Split isFromMainFile into two functions. 2013-08-22 00:27:10 +00:00
warn-variable-not-needed.cpp Add a basic testcase for the "variable is not needed" warning and one that 2012-11-25 14:00:51 +00:00
warn-vla.cpp Implement -Wvla correctly 2013-01-23 20:02:51 +00:00
warn-weak-vtables.cpp
wchar_t.cpp
writable-strings-deprecated.cpp
zero-length-arrays.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00