llvm-project/clang/test/SemaCXX
Chandler Carruth ad74725ab5 Enhance the CFG construction to detect no-return destructors for
temporary objects and local variables. When detected, these split the
block, marking the new one as having only the exit block as a successor.
This prevents a large number of false positives in warnings sensitive to
no-return constructs such as -Wreturn-type, and fixes the remainder of
PR10063 along with several variations of this bug that had not been
reported. The test cases are extended across the board to cover these
patterns.

This also checks in a stress test for these types of CFGs. The stress
test declares some 32k variables, a mixture of no-return and normal
destructors. Previously, this resulted in roughly 2500 CFG blocks, but
didn't model any of the no-return destructors. With this patch, it
results in over 33k blocks, many of them now unreachable.

The nice thing about how the analyzer is set up? This causes *no*
regression in performance of building the CFG. It actually in some cases
makes it faster, as best I can benchmark. The analysis for -Wreturn-type
(and any other that cares about no-return code paths) is technically
slower now as it has to look at many more candidate blocks, but it
computes the correct answer. I have more test cases to follow, I think
they all work now. Also I have further work that should dramatically
simplify analyses in the presence of no-return.

llvm-svn: 139586
2011-09-13 06:09:01 +00:00
..
Inputs Work around an annoying, non-standard optimization in the glibc 2010-02-12 07:32:17 +00:00
2008-01-11-BadWarning.cpp Move test from llvm/test/FrontendCXX and update. 2011-08-15 23:24:31 +00:00
MicrosoftExtensions.cpp Add support for MSVC __unaligned attribute. Necessary to parse MSVC headers in 64-bit mode (ie: when _M_IA64 or _M_AMD64 is defined) 2011-08-18 09:59:55 +00:00
PR5086-ambig-resolution-enum.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
PR6562.cpp Fix PR6562. If a type is dependent, we don't know if it will have implicit 2010-03-13 18:12:56 +00:00
PR6618.cpp Fix PR6618. 2010-03-21 22:56:43 +00:00
PR7410.cpp Fix for PR7410. Allow functions in a derived class that improperly overwrite a virtual function in the base class to be inserted into the derived class function list to prevent extra errors every time the derived class is used. 2011-07-01 20:02:53 +00:00
PR7944.cpp Clean up the error recovery at the bottom of Sema::LookupMemberExpr. This 2011-02-22 23:52:53 +00:00
PR8012.cpp Provide an error when a non-identifier name (such as an operator) is used as a 2010-11-03 01:07:06 +00:00
PR8755.cpp Enhance the diagnostic for referring to a typedef with an elaborated name to be 2011-01-24 19:01:04 +00:00
PR8884.cpp Fix PR8884 by skipping transparent contexts. The test is for LikageSpec. I 2011-01-20 02:26:24 +00:00
PR9459.cpp PR10359: Template declarations which define classes are not permitted to also contain declarators. Previously we would accept code like this: 2011-07-14 21:35:26 +00:00
PR9460.cpp Diagnose attempts to implicitly instantiate a template before it is 2011-04-27 06:46:31 +00:00
PR9461.cpp Diagnose attempts to implicitly instantiate a template before it is 2011-04-27 06:46:31 +00:00
PR9572.cpp Implement support for C++11 in-class initialization of non-static data members. 2011-06-11 17:19:42 +00:00
PR9884.cpp Add test for PR9884. 2011-05-10 14:19:13 +00:00
PR9902.cpp Fix PR9902: correctly substitute alias templates within the template in which they are defined: provide an empty list of arguments for each containing template context during substitution. 2011-05-12 00:06:17 +00:00
PR9908.cpp PR9908: Fix the broken fix for PR9902 to get the template argument lists in the right order. 2011-05-14 15:04:18 +00:00
PR10243.cpp Fixed PR10243. 2011-07-11 08:52:40 +00:00
PR10458.cpp PR10458: Finesse behaviour of C++0x features when in pre-0x mode. Accept for-range and auto with an ExtWarn, and produce a -Wc++0x-compat warning in C++98 mode when auto is used as a storage class. 2011-09-04 19:54:14 +00:00
__null.cpp Initial steps to improve diagnostics when there is a NULL and 2011-02-18 23:54:50 +00:00
__try.cpp Parsing/AST support for Structured Exception Handling 2011-04-28 01:08:34 +00:00
abstract.cpp When checking for abstract types, don't crash when we have a 2011-02-22 23:21:06 +00:00
access-base-class.cpp When we complain about a member being inaccessible due to a constraint 2010-05-28 04:34:55 +00:00
access-control-check.cpp Turn access control on by default in -cc1. 2010-04-09 19:03:51 +00:00
access-member-pointer.cpp Fix for PR7694: make sure to pass in a RecordType to CheckBaseClassAccess; 2010-07-23 19:25:41 +00:00
access.cpp Set a member's access specifier even if it doesn't match the previous specifier. 2009-12-23 00:37:40 +00:00
addr-of-overloaded-function-casting.cpp Handle the resolution of a reference to a function template (which 2011-02-19 21:32:49 +00:00
addr-of-overloaded-function.cpp Make yet another placeholder type, this one marking that an expression is a bound 2011-04-26 20:42:42 +00:00
address-of-temporary.cpp Follow through references to catch returned stack addresses, local blocks, label addresses or references to temporaries, e.g: 2010-11-30 22:57:32 +00:00
address-of.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
address-space-conversion.cpp Implement appropriate semantics for C++ casting and conversion when 2011-04-15 17:59:54 +00:00
address-space-newdelete.cpp Forbid the use of C++ new/delete to allocate/free objects within an 2011-04-15 19:46:20 +00:00
address-space-references.cpp When determining whether two types are reference-compatible, check 2011-04-28 17:56:11 +00:00
aggregate-initialization.cpp Implement the suggested resolution of WG21 N3307 issue 19: When determining whether a class is an aggregate in C++0x, treat all functions which are neither deleted nor defaulted as user-provided, not just special member functions. The wording of the standard only defines the term "user-provided" for special member functions, but the intent seems to be that any function can be user-provided. 2011-09-05 02:13:09 +00:00
alias-template.cpp Implement support for C++0x alias templates. 2011-05-05 21:57:07 +00:00
alignof-sizeof-reference.cpp Check for placeholders early on in 2011-06-22 23:21:00 +00:00
altivec.cpp makes vec_step operator work when AltiVec support is enabled 2011-03-19 07:53:43 +00:00
ambig-user-defined-conversions.cpp De-Unicode-ify. 2011-08-12 05:49:51 +00:00
ambiguous-builtin-unary-operator.cpp make clang print types as "const int *" instead of "int const*", 2010-09-05 00:04:01 +00:00
anonymous-struct.cpp Emit diagnostic error when the field of an anonymous struct is non trivial. 2010-08-16 17:27:08 +00:00
anonymous-union.cpp Ignore const/volatile/restrict qualifiers on anonymous structs and 2011-05-09 23:05:33 +00:00
array-bound-merge.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
array-bounds-ptr-arith.cpp Add the new unit test that I managed to leave out of r136997 :/ 2011-08-10 19:49:27 +00:00
array-bounds.cpp Perform array bounds checking in more situations and properly handle special 2011-08-05 23:18:04 +00:00
arrow-operator.cpp Fix infinite loop during error diagnostics. Fixes rdar://8875304. 2011-01-25 23:16:36 +00:00
attr-after-definition.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
attr-cxx0x.cpp Implement support for C++0x alias templates. 2011-05-05 21:57:07 +00:00
attr-deprecated.cpp Parse attributes on enumerators and instantiate attributes on enum decls. 2010-10-22 23:36:17 +00:00
attr-format.cpp Fix PR8625 and correctly interpret member-calls to static members when 2010-11-16 08:49:43 +00:00
attr-nonnull.cpp Apply the nonnull attribute to constructor expressions too. 2011-03-25 01:44:32 +00:00
attr-noreturn.cpp Teach CFG building how to deal with CXXMemberCallExprs and BoundMemberTy, 2011-05-11 07:19:11 +00:00
attr-regparm.cpp Start fixing up clang tests to work on the clang-native-arm-cortex-a9 builder. 2011-06-06 21:23:05 +00:00
attr-sentinel.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
attr-unavailable.cpp Allow unavailable function calls inside unavailable functions in C++/ObjC++ as well. rdar://9660196 2011-06-23 00:41:50 +00:00
attr-weak.cpp When checking the 'weak' and 'weakref' attributes, look for non-external 2011-02-08 22:35:49 +00:00
attr-weakref.cpp When checking the 'weak' and 'weakref' attributes, look for non-external 2011-02-08 22:35:49 +00:00
auto-cxx0x.cpp PR10458: Finesse behaviour of C++0x features when in pre-0x mode. Accept for-range and auto with an ExtWarn, and produce a -Wc++0x-compat warning in C++98 mode when auto is used as a storage class. 2011-09-04 19:54:14 +00:00
auto-cxx98.cpp PR10458: Finesse behaviour of C++0x features when in pre-0x mode. Accept for-range and auto with an ExtWarn, and produce a -Wc++0x-compat warning in C++98 mode when auto is used as a storage class. 2011-09-04 19:54:14 +00:00
auto-subst-failure.cpp Fix PR9488: 'auto' type substitution can fail (for instance, if it creates a reference-to-void type). Don't crash if it does. 2011-03-17 16:11:59 +00:00
bitfield-layout.cpp More work on wide bit-fields, WIP. 2010-04-16 15:57:11 +00:00
block-call.cpp Implement objective-c++'s block pointer type matching involving 2011-02-12 19:07:46 +00:00
blocks-1.cpp Allow C-style casts and reinterpret_casts between block pointers and 2010-07-08 20:27:32 +00:00
blocks.cpp Truncate block variable of bool type to i1 when its 2010-09-03 23:07:53 +00:00
bool.cpp Add fixit notes for -Wconstant-logical-operand. 2011-08-15 17:50:06 +00:00
borland-extensions.cpp Add support for a few MS extensions supported by the Borland compiler 2010-09-08 22:56:24 +00:00
builtin-exception-spec.cpp Work around an annoying, non-standard optimization in the glibc 2010-02-12 07:32:17 +00:00
builtin-ptrtomember-ambig.cpp 'const std::type_info*' instead of 'std::type_info const*' 2010-09-05 00:17:29 +00:00
builtin-ptrtomember-overload-1.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
builtin-ptrtomember-overload.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
builtin_objc_msgSend.cpp objc_msgSend is not a builtin type in non-objc mode. 2010-11-19 18:16:46 +00:00
builtins.cpp In C++, allow builtins to be referred to via qualified name lookup, e.g., 2010-02-12 05:48:04 +00:00
c99-variable-length-array.cpp when compiling in a GNU mode (e.g. gnu99) treat VLAs with a size that can be folded to a constant 2011-06-14 06:38:10 +00:00
c99.cpp Emit an extension diagnostic for C99 designated initializers that appear in C++ code 2011-01-16 16:13:16 +00:00
cast-conversion.cpp Declare and define implicit move constructor and assignment operator. 2011-08-30 19:58:05 +00:00
cast-explicit-ctor.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
class-base-member-init.cpp Diagnose more cases of initializing distinct members of an anonymous union 2010-04-10 09:28:51 +00:00
class-layout.cpp Turn on the new empty base subobject tracking code. It's a bit faster than the previous code. However, it still has quadratic performance, something which I intend to fix shortly in a subsequent patch. 2010-05-30 06:52:33 +00:00
class-names.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
class.cpp PR10458: Finesse behaviour of C++0x features when in pre-0x mode. Accept for-range and auto with an ExtWarn, and produce a -Wc++0x-compat warning in C++98 mode when auto is used as a storage class. 2011-09-04 19:54:14 +00:00
comma.cpp Implement the lvalue-to-rvalue conversion where needed. The 2010-02-03 00:27:59 +00:00
compare.cpp Remove warning for conditional operands of differend signedness from -Wsign-compare. Cases that previously warn on this will have a different warning emitted from -Wsign-conversion. 2011-07-21 02:46:28 +00:00
complex-overload.cpp Add a new conversion rank to classify conversions between complex and scalar 2010-02-25 07:20:54 +00:00
composite-pointer-type.cpp make clang print types as "const int *" instead of "int const*", 2010-09-05 00:04:01 +00:00
compound-literal.cpp When building a compound literal, check that the base element of the array is complete. 2010-11-08 19:14:19 +00:00
condition.cpp Remove the call to GetTypeForDeclarator in Sema::ActOnCXXConditionDeclaration. 2011-06-28 03:01:12 +00:00
conditional-expr.cpp Remove warning for conditional operands of differend signedness from -Wsign-compare. Cases that previously warn on this will have a different warning emitted from -Wsign-conversion. 2011-07-21 02:46:28 +00:00
const-cast.cpp make clang print types as "const int *" instead of "int const*", 2010-09-05 00:04:01 +00:00
constant-expression.cpp If a switch condition is constant, don't warn about missing enum cases. 2010-05-18 03:19:21 +00:00
constructor-initializer.cpp When checking for uninitialized fields in member initializers, special case static variables and enums. Fixes PR8075. 2010-10-06 02:43:25 +00:00
constructor-recovery.cpp Switch default-initialization of variables of class type (or array thereof) over to InitializationSequence. I could swear that this fixes a PR somewhere, but I couldn't figure out which one 2009-12-20 22:01:25 +00:00
constructor.cpp Diagnose C++ [class.mem]p13-14, where a class member has the same name 2010-10-15 13:21:21 +00:00
conversion-delete-expr.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
conversion-function.cpp PR8800: When building a conversion to A& using a member operatorA&(), do not require A to be a complete type. 2011-07-13 22:53:21 +00:00
conversion.cpp Add a new warning on NULL pointer constant to integer conversion. 2011-05-29 19:59:02 +00:00
convert-to-bool.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
converting-constructor.cpp Improve the reporting of non-viable overload candidates by noting the reason 2010-01-13 00:25:19 +00:00
copy-assignment.cpp For code such as: 2011-07-01 20:54:02 +00:00
copy-constructor-error.cpp Implement a new warning for when adding a default argument to a method 2011-05-26 01:26:05 +00:00
copy-initialization.cpp Improve diagnostic for calling non-const method on const object. Fixes rdar://7743000 2010-11-16 08:04:45 +00:00
crashes.cpp ActOnCXXConditionDeclaration should take into account that 2011-07-05 16:13:20 +00:00
cstyle-cast.cpp make clang print types as "const int *" instead of "int const*", 2010-09-05 00:04:01 +00:00
cv-unqual-rvalues.cpp Whenever we're creating an expression that is typically an rvalue 2010-07-13 18:40:04 +00:00
cxx-member-pointer-op.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
cxx0x-constexpr-const.cpp Only objects are declared const by a constexpr specifier, per C++0x [dcl.constexpr]p9 2011-03-20 08:06:45 +00:00
cxx0x-cursory-default-delete.cpp Fix some minor bugs and add a lot more test cases for defaulted 2011-05-17 20:44:43 +00:00
cxx0x-defaulted-functions.cpp Implement some tests for defaulted constructors. To do this I had to 2011-05-17 00:19:05 +00:00
cxx0x-delegating-ctors.cpp Implement a better version of delegating constructor cycle detection. 2011-05-04 05:57:24 +00:00
cxx0x-deleted-default-ctor.cpp Uncomment this testcase now that we pass it. 2011-06-10 09:32:33 +00:00
cxx0x-nontrivial-union.cpp Implement the new C++0x rules for non-trivial things in unions so that 2011-05-16 22:41:40 +00:00
cxx0x-return-init-list.cpp Implement a hack intended to allow Clang to parse libstdc++ 4.5's 2011-03-11 23:10:44 +00:00
cxx0x-type-convert-construct.cpp Fix a raw string literal test case to actually use a raw string literal. 2011-08-12 04:09:37 +00:00
dcl_ambig_res.cpp Handle parameter attributes when tentative parsing for function/variable disambiguation. 2010-12-08 02:02:46 +00:00
dcl_init_aggr.cpp make clang print types as "const int *" instead of "int const*", 2010-09-05 00:04:01 +00:00
decl-expr-ambiguity.cpp Although we currently have explicit lvalue-to-rvalue conversions, they're 2010-12-04 03:47:34 +00:00
decl-init-ref.cpp Re-instate r123977/r123978, my updates of the reference-binding 2011-01-24 16:14:37 +00:00
decltype-98.cpp PR9585: add __decltype as a keyword. While I'm here, alphabetize the list. 2011-04-04 07:19:40 +00:00
decltype-crash.cpp Introduce a centralized routine in Sema for diagnosing failed lookups (when 2009-12-16 08:11:27 +00:00
decltype-overloaded-functions.cpp Clean up our handling of template-ids that resolve down to a single 2011-03-16 19:16:25 +00:00
decltype-pr4444.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
decltype-pr4448.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
decltype-this.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
decltype.cpp Handle decltype keyword in Parser::isDeclarationSpecifier. 2011-06-19 08:02:06 +00:00
default-arg-special-member.cpp I've had too much to drink, apparently. 2011-06-03 18:05:29 +00:00
default-argument-temporaries.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
default-assignment-operator.cpp When we emit an error during the implicit definition of a special 2010-05-12 16:39:35 +00:00
default-constructor-initializers.cpp Implement some tests for defaulted constructors. To do this I had to 2011-05-17 00:19:05 +00:00
default1.cpp Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
default2.cpp Parse default arguments within member functions in source order, from 2010-10-12 16:25:54 +00:00
defaulted-ctor-loop.cpp Implement an additional fix for infinite recursion of deleted special 2011-05-18 03:41:58 +00:00
delete.cpp When applying 'delete' on a pointer-to-array type match GCC and EDG behavior and treat it as 'delete[]'. 2010-09-13 20:15:54 +00:00
deleted-function.cpp Modify some deleted function methods to better reflect reality: 2011-05-06 20:44:56 +00:00
deleted-operator.cpp Make sure we don't crash printing builtin candidates for overloads of deleted operators. Fixes PR10757. 2011-08-26 19:46:22 +00:00
dependent-auto.cpp Fix PR9276: We were missing the checks for auto deducing to different types in the same declaration group in the template instantiation case. 2011-02-23 00:37:57 +00:00
dependent-noexcept-unevaluated.cpp Ensure we enter an unevaluated context when instantiating a noexcept 2011-05-31 19:54:49 +00:00
dependent-types.cpp Implement support for C++0x alias templates. 2011-05-05 21:57:07 +00:00
derived-to-base-ambig.cpp Improve diagnostics when we fail to convert from a source type to a 2010-04-09 00:35:39 +00:00
destructor.cpp Add new warning that warns when invoking 'delete' on a polymorphic, non-final, class without a virtual destructor. 2011-05-24 19:53:26 +00:00
direct-initializer.cpp 'const std::type_info*' instead of 'std::type_info const*' 2010-09-05 00:17:29 +00:00
do-while-scope.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
dynamic-cast.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
elaborated-type-specifier.cpp When we run into an error parsing or type-checking the left-hand side 2010-09-17 22:25:06 +00:00
empty-class-layout.cpp Correctly handle fields with virtual bases containing empty subobjects. 2010-06-08 19:09:24 +00:00
enum-bitfield.cpp After parsing a ':' in an enum-specifier within class context, 2010-12-01 17:42:47 +00:00
enum-scoped.cpp Fixed enum types can be complete without actually being valid to use 2011-07-06 06:57:57 +00:00
enum.cpp Don't perform integral promotions from an incompletion enumeration 2010-09-12 03:38:25 +00:00
exception-spec-no-exceptions.cpp Semantic checking for exception specifications should be triggered by 2011-03-02 02:04:40 +00:00
exceptions.cpp Add -fcxx-exceptions to all tests that use C++ exceptions. 2011-02-28 00:40:07 +00:00
explicit.cpp Declare and define implicit move constructor and assignment operator. 2011-08-30 19:58:05 +00:00
expression-traits.cpp De-Unicode-ify. 2011-08-12 05:49:51 +00:00
expressions.cpp Add fixit notes for -Wconstant-logical-operand. 2011-08-15 17:50:06 +00:00
flexible-array-test.cpp g++ is more permissive regarding flexible arrays. 2011-03-07 20:04:04 +00:00
fntype-decl.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
for-range-examples.cpp Add support for C++0x's range-based for loops, as specified by the C++11 draft standard (N3291). 2011-04-14 22:09:26 +00:00
for-range-no-std.cpp Advertise support for cxx_range_for as an extension in C++98 mode. Patch by Jean-Daniel Dupas! 2011-09-06 18:03:41 +00:00
for-range-unused.cpp Fix PR10168: don't warn for unused non-dependent variables in both the template definition and each instantiation. 2011-06-21 23:42:09 +00:00
friend-class-nodecl.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
friend.cpp Diagnose destructor templates. Fixes PR7904. 2011-03-04 22:45:55 +00:00
function-overload-typo-crash.cpp Have the typo correction in DiagnoseEmptyLookup properly handle template 2011-08-05 00:09:52 +00:00
function-overloaded-redecl.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
function-redecl.cpp Fix an incorrect note. 2011-08-23 01:35:51 +00:00
function-type-qual.cpp Produce an error on encountering a pointer or reference to a qualified function type. Fixes PR7470. 2010-07-12 23:11:43 +00:00
functional-cast.cpp Use the new-initialization code for initializing scalars with a 2010-09-08 21:40:08 +00:00
generalized-initializers.cpp Revert 135177 to fix PR10363. 2011-07-14 22:58:04 +00:00
generic-selection.cpp C1X: implement generic selections 2011-04-15 00:35:48 +00:00
gnu-case-ranges.cpp Doug's feedback 2010-10-01 22:12:38 +00:00
goto.cpp Minor fix in the injection of labels, since we want to look at the redeclaration context of each declaration in the identifier chain. Should fix Linux self-host 2011-03-24 14:35:16 +00:00
goto2.cpp Fix the insertion of label declarations into the identifier chain in 2011-03-24 10:35:39 +00:00
i-c-e-cxx.cpp fix rdar://9204520 - Accept int(0.85 * 10) as an initializer in a class member 2011-06-14 05:46:29 +00:00
if-empty-body.cpp Don't warn for empty 'if' body if there is a macro that expands to nothing, e.g: 2010-11-19 20:54:25 +00:00
illegal-member-initialization.cpp Change the 'declared at' diagnostic to say 'declared here'. 2010-04-23 02:20:12 +00:00
implicit-exception-spec.cpp Implement support for C++11 in-class initialization of non-static data members. 2011-06-11 17:19:42 +00:00
implicit-int.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
implicit-member-functions.cpp Re-do R131114 without breaking code. 2011-05-10 19:08:14 +00:00
implicit-virtual-member-functions.cpp Rework when and how vtables are emitted, by tracking where vtables are 2010-05-13 16:44:06 +00:00
incomplete-call.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
increment-decrement.cpp The pre-increment/pre-decrement grammar in C++ differs from that in C, 2010-08-06 14:50:36 +00:00
inherit.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
init-priority-attr.cpp Pretty up the wrong-number-of-arguments-for-attribute diagnostic by 2011-03-02 12:15:05 +00:00
inline.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
instantiate-blocks.cpp Instantiation of byref variable in 2010-07-09 21:27:28 +00:00
invalid-instantiated-field-decl.cpp Don't attempt to poke into an invalid field's class type 2010-05-17 18:15:18 +00:00
invalid-member-expr.cpp Make this error less specific but also less likely to cause confusion. Fixes 2010-11-03 17:52:57 +00:00
invalid-template-specifier.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
issue547.cpp Implement the suggested resolution to core issue 547, extended to also 2011-01-31 16:09:46 +00:00
libstdcxx_is_pod_hack.cpp Turn off __has_feature(is_empty) and __has_feature(is_pod) if the 2011-07-30 07:01:49 +00:00
libstdcxx_map_base_hack.cpp Introduce an egregious hack to work around a bug in libstdc++ 4.2.x's 2010-04-08 18:16:15 +00:00
linkage-spec.cpp Don't complain about a variable within a linkage-specification that is 2010-10-15 01:21:46 +00:00
linkage.cpp Fix the rest of PR9316 along with some other bugs spotted by inspection. 2011-02-25 00:05:02 +00:00
literal-operators.cpp Allow C99 hexfloats in C++0x mode. This change resolves the standards 2011-08-30 22:40:35 +00:00
literal-type.cpp Make type-traits reflect that Clang's vectors act like scalar types. 2011-04-30 10:46:26 +00:00
local-classes.cpp It's okay to refer to non-type template parameters anywhere they are 2010-04-27 21:10:04 +00:00
lookup-member.cpp When doing name lookup for members don't look into global/namespace scope. 2010-10-29 16:12:50 +00:00
member-expr-anonymous-union.cpp A union cannot contain static data members or data members of reference type. 2010-11-07 19:13:55 +00:00
member-expr-static.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
member-expr.cpp Implement Sema::isExprCallable. 2011-05-04 22:10:40 +00:00
member-init.cpp When parsing a function-try-block that does not have a 2011-09-07 20:36:12 +00:00
member-location.cpp Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
member-name-lookup.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
member-operator-expr.cpp Make this error less specific but also less likely to cause confusion. Fixes 2010-11-03 17:52:57 +00:00
member-pointer-ms.cpp Error out if reinterpret_casting between member pointers of two different 2010-08-16 05:30:44 +00:00
member-pointer-size.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
member-pointer.cpp Perform lvalue-to-rvalue conversions on both operands of ->* 2011-06-30 17:15:34 +00:00
member-pointers-2.cpp Allow function calls to dereferenced member pointers of 2011-03-16 17:42:23 +00:00
microsoft-cxx0x.cpp Downgrade "err_init_list_variable_narrowing" into a warning in Microsoft mode even if c++0x is enabled. This necessary to parse MSVC code in C++0x mode. 2011-08-18 00:04:08 +00:00
missing-header.cpp Once we've emitted a fatal diagnostic, keep counting errors but with a 2010-04-14 22:19:45 +00:00
missing-members.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
missing-namespace-qualifier-typo-corrections.cpp Fix an incorrect namespace typo-correction diagnostic, from Kaelyn 2011-07-13 21:36:26 +00:00
ms-exception-spec.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
namespace-alias.cpp add PCH support for a bunch of C++ Decls, patch by 2010-05-07 21:43:38 +00:00
namespace.cpp Make sure to properly track the anonymous namespace that lives inside 2010-03-24 00:46:35 +00:00
neon-vector-types.cpp Match pointer of compatible vection types. 2011-04-14 20:33:36 +00:00
nested-name-spec-locations.cpp Eliminate redundant nested-name-specifiers on 2011-03-03 17:04:51 +00:00
nested-name-spec.cpp Match type names and give more info for out-of-line function definition errors. 2011-08-04 17:40:00 +00:00
new-array-size-conv.cpp Implement C++ DR299, which allows an implicit conversion from a class 2010-06-30 00:20:43 +00:00
new-delete-predefined-decl-2.cpp When performing name lookup for the allocation or deallocation 2010-03-24 05:07:21 +00:00
new-delete-predefined-decl.cpp Improve a test slightly 2010-02-12 06:08:51 +00:00
new-delete.cpp Re-fix r136172 so it isn't an error; apparently, some people are fond of their undefined behavior. 2011-07-26 23:27:24 +00:00
no-exceptions.cpp Disallow try/catch/throw when exceptions are disabled. 2011-02-19 19:26:44 +00:00
no-implicit-builtin-decls.cpp Introduce a centralized routine in Sema for diagnosing failed lookups (when 2009-12-16 08:11:27 +00:00
non-empty-class-size-zero.cpp Turn test for // rdar://8945175 into a sema test. 2011-02-02 21:10:07 +00:00
null_in_arithmetic_ops.cpp The current warning in -Wnull-arithmetic for comparisons between NULL and non-pointers is not very helpful. This patch will update the wording to be more helpful to users. 2011-08-11 22:38:21 +00:00
nullptr-98.cpp Add __nullptr as a C++0x nullptr literal, available in C++98 2010-11-09 03:43:04 +00:00
nullptr.cpp Audit and finish the implementation of C++0x nullptr, fixing two 2011-05-21 23:15:46 +00:00
nullptr_in_arithmetic_ops.cpp Add test cases for false positives on -Wnull-arithmetic from Richard 2011-06-19 09:05:14 +00:00
offsetof.cpp PR7769: Fix references to anonymous structs/unions in base classes in 2010-08-05 10:11:36 +00:00
operator-arrow-temporary.cpp PR9615: make sure we destroy any temporaries returned by operator->. 2011-04-04 01:18:25 +00:00
out-of-line-def-mismatch.cpp Match type names and give more info for out-of-line function definition errors. 2011-08-04 17:40:00 +00:00
overload-call-copycon.cpp Improve our handling of user-defined conversions when computing 2010-08-11 02:15:33 +00:00
overload-call.cpp Identity and non-identity standard conversion sequences can be 2011-06-05 06:15:20 +00:00
overload-decl.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
overload-member-call.cpp 'const std::type_info*' instead of 'std::type_info const*' 2010-09-05 00:17:29 +00:00
overload-value-dep-arg.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
overloaded-builtin-operators-0x.cpp Implement the integral promotion rules for the C++0x char16_t and 2010-10-21 18:04:08 +00:00
overloaded-builtin-operators.cpp Many of the built-in operator candidates introduced into overload 2011-01-05 00:13:17 +00:00
overloaded-name.cpp Check for placeholder expressions before promoting an argument passed 2011-06-17 00:15:10 +00:00
overloaded-operator-decl.cpp A function declarator with a non-identifier name in an anonymous class 2010-02-05 06:12:42 +00:00
overloaded-operator.cpp Whitelist operator== and operator!= as valid for unused value warnings, 2011-08-17 09:49:44 +00:00
pascal-strings.cpp In C++, when initializing an array from a pascal string, it's OK if the array 2011-04-14 00:41:11 +00:00
pragma-pack.cpp Fix another unnecessary-struct-padding issue. 2010-12-09 02:47:58 +00:00
pragma-unused.cpp Convert "#pragma unused(...)" into tokens for the parser. 2011-01-17 18:58:44 +00:00
prefetch-enum.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
primary-base.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
pseudo-destructors.cpp When clearing a LookupResult structure, clear out the naming class, 2011-03-04 22:32:08 +00:00
ptrtomember-overload-resolution.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
ptrtomember.cpp Make yet another placeholder type, this one marking that an expression is a bound 2011-04-26 20:42:42 +00:00
qual-id-test.cpp Improve the diagnostic you get when making a qualified member access 2010-04-27 01:43:38 +00:00
qualification-conversion.cpp Correctly refer to element CVR qualifications when determining if a type is 2009-12-29 07:16:59 +00:00
qualified-id-lookup.cpp Use the new-initialization code for initializing scalars with a 2010-09-08 21:40:08 +00:00
qualified-member-enum.cpp Fix a minor crash bug with constructs like Obj.Class::ENUM_VALUE. 2010-07-27 20:51:02 +00:00
qualified-names-diag.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
qualified-names-print.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
redeclared-alias-template.cpp Implement support for C++0x alias templates. 2011-05-05 21:57:07 +00:00
redeclared-auto.cpp Implement the C++0x deduced 'auto' feature. 2011-02-20 03:19:35 +00:00
ref-init-ambiguous.cpp 'const std::type_info*' instead of 'std::type_info const*' 2010-09-05 00:17:29 +00:00
references.cpp Fix a crash-on-valid that has been here for a very long time: 2011-08-22 17:24:56 +00:00
reinterpret-cast.cpp Fix a bug in -Wundefined-reinterpret-cast where we failed to look 2011-05-24 07:43:19 +00:00
reinterpret-fn-obj-pedantic.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
return-noreturn.cpp Enhance the CFG construction to detect no-return destructors for 2011-09-13 06:09:01 +00:00
return-stack-addr.cpp Remove a type that got reduced away from this test case but not actually deleted. 2010-12-13 08:01:53 +00:00
return.cpp Move test/Sema/return.cpp into test/SemaCXX/return.cpp 2011-06-30 17:20:18 +00:00
rval-references-examples.cpp Add a test for "perfect" forwarding 2011-01-21 22:52:47 +00:00
rval-references.cpp Add -fcxx-exceptions to all tests that use C++ exceptions. 2011-02-28 00:40:07 +00:00
scope-check.cpp Make DiagnosticErrorTrap keep a count of the errors that occurred so multiple 2011-07-29 01:25:44 +00:00
shift.cpp Simplify messages as requested by Chris. 2011-02-24 17:13:15 +00:00
short-enums.cpp fix PR9474, a crash with -fshort-enum and C++ templates: when instantiating 2011-04-25 20:37:58 +00:00
short-wchar-sign.cpp PR9792: Make sure to use the right definition of wchar_t when the default 2011-04-30 19:24:24 +00:00
sourceranges.cpp Use ElaboratedType also for C. 2011-03-16 20:16:18 +00:00
statements.cpp In C++98/03, an uninitialized variable that has POD class type will be 2010-03-08 02:45:10 +00:00
static-array-member.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
static-assert.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
static-cast-complete-type.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
static-cast.cpp Implement appropriate semantics for C++ casting and conversion when 2011-04-15 17:59:54 +00:00
static-initializers.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
storage-class.cpp Don't warn about the 'extern' in 'extern "C"' on a tag decl. This is 2011-03-26 02:09:52 +00:00
struct-class-redecl.cpp Made changes to how 'struct'/'class' mismatches are handled in -Wmismatched-tags. 2011-06-10 03:11:26 +00:00
switch-0x.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
switch.cpp Expand the coverage of the warning for constants on the RHS of logical operands: 2011-05-31 05:41:42 +00:00
tag-ambig.cpp Extend the tag-ambiguity hack I committed in r130810 for tag 2011-05-09 21:46:33 +00:00
templated-friend-decl.cpp Workaround for friend template instantiation crash in PR5848, from Keir Mierle! 2010-02-07 10:31:35 +00:00
this.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
trailing-return-0x.cpp Implement the C++0x deduced 'auto' feature. 2011-02-20 03:19:35 +00:00
trivial-constructor.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
trivial-destructor.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
type-convert-construct.cpp This patch makes the string/character literal tests run in C, 2011-07-29 01:08:54 +00:00
type-definition-in-specifier.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
type-dependent-exprs.cpp Don't produce "comparison is always (true|false)" warnings when the 2011-02-19 22:34:59 +00:00
type-formatting.cpp When printing a qualified type, look through a substituted template 2011-02-17 06:52:25 +00:00
type-traits-incomplete.cpp Allow (cv) void and incomplete arrays to be passed to the type traits. 2010-09-08 00:48:43 +00:00
type-traits.cpp Implement support for C++11 in-class initialization of non-static data members. 2011-06-11 17:19:42 +00:00
typedef-redecl.cpp Diagnose typedef of an operator name. Fixes PR7462 2010-07-13 06:37:01 +00:00
typeid-ref.cpp Mark VTables and RTTI data linkonce_odr instead of weak_odr, with the exception of explicit template instantiations, which have to be weak_odr. 2011-01-24 00:46:19 +00:00
typeid.cpp Improve source-location information in a C++ typeid (type) expression 2010-04-26 22:37:10 +00:00
types_compatible_p.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
unary-real-imag.cpp PR8023: Don't crash on invalid uses of __real__ on class types in C++. 2010-09-05 23:15:52 +00:00
undefined-internal.cpp Rough fix for PR9323 that prevents Clang from marking copy constructor 2011-02-25 08:52:25 +00:00
underlying_type.cpp Implement a new type node, UnaryTransformType, designed to represent a 2011-05-24 22:41:36 +00:00
uninit-variables-conditional.cpp Show either a location or a fixit note, not both, for uninitialized variable warnings. 2011-09-10 05:35:08 +00:00
uninit-variables.cpp Show either a location or a fixit note, not both, for uninitialized variable warnings. 2011-09-10 05:35:08 +00:00
uninitialized.cpp Change the self-reference visitor (which gives the warning for self-reference oninitalization warning of -Wuninitialized) to exclude member variables that can decay into pointers. This will cause it to no longer warn on this code: 2011-09-07 00:58:53 +00:00
unknown-anytype.cpp Change an assert into a check. I'm pretty sure there was a point 2011-08-10 04:12:23 +00:00
unknown-type-name.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
unreachable-catch-clauses.cpp Add -fcxx-exceptions to all tests that use C++ exceptions. 2011-02-28 00:40:07 +00:00
unreachable-code.cpp Add -fcxx-exceptions to all tests that use C++ exceptions. 2011-02-28 00:40:07 +00:00
unused-functions.cpp Don't emit unused warning for deleted functions. Fixes rdar://8365684 & http://llvm.org/PR9391. 2011-03-03 17:47:42 +00:00
unused-with-error.cpp If there were errors, disable 'unused' warnings since they will mostly be noise. 2011-01-31 07:04:37 +00:00
unused.cpp Improve the test for unused-expression warnings slightly 2010-01-16 18:17:21 +00:00
user-defined-conversions.cpp Improve our handling of user-defined conversions as part of overload 2010-04-17 22:01:05 +00:00
using-decl-1.cpp When checking a using declaration, make sure that the context we're 2010-12-21 07:41:49 +00:00
using-decl-pr4441.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
using-decl-pr4450.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
using-decl-templates.cpp Fix Sema::CorrectTypo to ignore found but unresolved symbols 2011-09-07 20:25:59 +00:00
using-directive.cpp Diagnose attempst to template using declarations and using directives. 2010-11-10 02:40:36 +00:00
value-dependent-exprs.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
value-initialization.cpp Add a missing case for default constructor deletion. 2011-05-20 21:43:47 +00:00
vararg-default-arg.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
vararg-non-pod.cpp Properly diagnose using abstract and incomplete types in va_arg 2011-06-14 05:17:32 +00:00
vector-casts.cpp Provide overload diagnostics when explicit casts involving class types fail. 2011-02-14 18:34:10 +00:00
vector-no-lax.cpp With lax vector conversions (the default) make sure we convert between two 2010-08-26 00:42:16 +00:00
vector.cpp Fix Sema::CheckVectorOperands so that it doesn't try to insert a cast expression into the LHS of a compound assignment. Fixes compound assignment of various "compatible" vector types, including NEON-vector and gcc-vector types. 2011-06-23 18:10:35 +00:00
virtual-base-used.cpp Make this test check a few more cases which didn't work correctly before 2010-08-08 05:07:06 +00:00
virtual-member-functions-key-function.cpp Rework when and how vtables are emitted, by tracking where vtables are 2010-05-13 16:44:06 +00:00
virtual-override.cpp Fix PR8767, improve diagnostic wording when allocating an object of an 2011-02-18 23:59:51 +00:00
virtuals.cpp Fix a couple more issues related to r133854: 2011-06-25 02:28:38 +00:00
vtable-instantiation.cc Whenever we instantiate a static data member, make sure to define any new 2011-05-31 07:58:42 +00:00
warn-assignment-condition.cpp Place 'equality comparison with extraneous parentheses...' into a subgroup of -Wparentheses called -Wparentheses-equality. 2011-09-06 20:58:32 +00:00
warn-bad-memaccess.cpp Improve the correctness and accuracy of the message for -Wdynamic-class-memaccess 2011-08-19 20:40:18 +00:00
warn-bool-conversion.cpp Correctly referring to the null pointer as 'null' not the macro 'NULL' in the boolean conversion diagnostic message. 2011-09-10 05:47:59 +00:00
warn-cast-align.cpp On second thought, don't warn about reinterpret_casts under -Wcast-align. 2010-08-19 01:19:08 +00:00
warn-char-subscripts.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
warn-dangling-field.cpp Teach -Wdangling-field to warn about temporaries bound to references as 2011-09-03 02:21:57 +00:00
warn-deprecated-header.cpp Add the test that I intended to submit with r130055, but forgot to add. 2011-04-27 05:25:42 +00:00
warn-enum-compare.cpp Implement -Wenum-compare, which warns when comparing two enums of 2011-02-17 08:37:06 +00:00
warn-exit-time-destructors.cpp Add a new warning for exit-time destructors. 2011-03-24 01:01:41 +00:00
warn-global-constructors.cpp PR9669: implement correct checking for [dcl.init.string]p2. 2011-04-11 00:23:45 +00:00
warn-large-by-value-copy.cpp -Rename -Wargument-larger-than -> -Wlarge-by-value-copy 2010-11-18 00:20:36 +00:00
warn-literal-conversion.cpp Extend -Wliteral-conversion to catch "int i = -1.234" 2011-09-08 22:30:47 +00:00
warn-memset-bad-sizeof.cpp Extend memset/memcpy/memmove checking to include memcmp 2011-08-05 00:22:34 +00:00
warn-missing-noreturn.cpp Improve the diagnostic text for -Wmissing-noreturn to include the name 2011-08-31 09:01:53 +00:00
warn-missing-prototypes.cpp Apply Jonathan Sauer's proposed solution to PR9519. Thanks! 2011-03-22 07:16:37 +00:00
warn-overloaded-virtual.cpp -Woverloaded-virtual shouldn't warn for static functions. Fixes rdar://9083431 & http://llvm.org/PR9396. 2011-03-03 22:58:57 +00:00
warn-pure-virtual-call-from-ctor-dtor.cpp Fix missing braces around two statements that were intended to be part 2011-06-27 08:31:58 +00:00
warn-reorder-ctor-initialization.cpp Fix a crasher in constructor-initializer reordering warnings (PR7179). 2010-05-20 23:49:34 +00:00
warn-self-assign.cpp Implement -Wself-assign, which warns on code such as: 2011-01-04 06:52:15 +00:00
warn-self-comparisons.cpp Warn about comparisons between arrays and improve self-comparison 2010-06-08 19:50:34 +00:00
warn-shadow.cpp 'extern' variables in functions don't shadow externs in global scope. Fixes rdar://8883302, this time for C++ as well. 2011-04-25 21:39:50 +00:00
warn-sign-conversion.cpp Fix a test in warn-sign-conversion.cpp. Removed a part of a directory path so that the directory seperator, which may change on different platforms, is no longer part of the string checked for. 2011-07-21 03:20:52 +00:00
warn-thread-safety-analysis.cpp Thread safety: This patch deals with previously unhandled cases when building lock expressions. We now resolve this expressions, avoid crashing when encountering cast expressions, and have a diagnostic for unresolved lock expressions 2011-09-09 16:21:55 +00:00
warn-thread-safety-parsing.cpp Thread safety: small formatting change in test comments 2011-09-08 18:07:26 +00:00
warn-unreachable.cpp Reduce -Wuninitialized time by 22% (on sqlite) by removing the recursive AST crawl. 2011-07-19 14:18:48 +00:00
warn-unused-comparison.cpp Remove the last FIXMEs on -Wunused-comparison since it got moved to 2011-08-18 02:04:29 +00:00
warn-unused-filescoped.cpp We regard a function as 'unused' from the codegen perspective, so our warnings diverge from 2011-04-19 19:51:10 +00:00
warn-unused-parameters.cpp Do not diagnose unused-parameter errors in template instantiations. We 2010-04-19 23:56:20 +00:00
warn-unused-result.cpp Clean up the tests for warning about unused function results given the 2011-02-21 00:56:56 +00:00
warn-unused-value.cpp Improve the unused-value check to look into comma expressions and filter out 2010-03-12 07:11:26 +00:00
warn-unused-variables.cpp Fix PR10168: don't warn for unused non-dependent variables in both the template definition and each instantiation. 2011-06-21 23:42:09 +00:00
warn-using-namespace-in-header.cpp Make -Wheader-hygiene not complain about USING_NAMESPACE_THROUGH_MACRO in a non-header file. 2011-04-02 19:45:15 +00:00
warn-using-namespace-in-header.h Make -Wheader-hygiene not complain about USING_NAMESPACE_THROUGH_MACRO in a non-header file. 2011-04-02 19:45:15 +00:00
warn-weak-vtables.cpp Rework when and how vtables are emitted, by tracking where vtables are 2010-05-13 16:44:06 +00:00
wchar_t.cpp Remove a dead argument to ProcessUCNEscape. 2010-06-15 18:06:43 +00:00
writable-strings-deprecated.cpp GCC overloads -Wwrite-strings just to make it extra confusing. While it 2011-04-23 06:54:44 +00:00