hanchenye-llvm-project/clang/test/SemaCXX
Eli Friedman 7f21bd74b8 Don't crash with -Wlarge-by-value-copy and a dependent type. PR11726.
llvm-svn: 147812
2012-01-09 23:46:59 +00:00
..
Inputs Suppress -Warray-bounds in certain cases involving macros from system headers. 2011-12-12 22:35:02 +00:00
2008-01-11-BadWarning.cpp Move test from llvm/test/FrontendCXX and update. 2011-08-15 23:24:31 +00:00
MicrosoftCompatibility.cpp Change the diagnostics which said 'accepted as an extension' to instead say 2011-12-29 21:57:33 +00:00
MicrosoftExtensions.cpp Treat the Microsoft/Borland keyword "__except" as a context-sensitive 2011-10-21 03:57:52 +00:00
PR5086-ambig-resolution-enum.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
PR6562.cpp
PR6618.cpp
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 Catch placeholder types in DefaultLvalueConversion 2011-10-11 23:14:30 +00:00
PR8012.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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 Change the diagnostics which said 'accepted as an extension' to instead say 2011-12-29 21:57:33 +00:00
PR9884.cpp Add test for PR9884. 2011-05-10 14:19:13 +00:00
PR9902.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
PR9908.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
PR10177.cpp Unlike in C++03, a constant-expression is not an unevaluated operand in C++11. 2011-12-20 02:08:33 +00:00
PR10243.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
PR10458.cpp Switch diagnostic text from "C++0x" over to "C++11". 2011-10-12 19:26:40 +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 Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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
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 Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +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 Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +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 Only allow taking the address of an expression of type 'overloaded 2011-10-09 19:10:41 +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 List-initialization via constructor part 1. Still needs: pretty-printing, overloading, initializer_list. 2011-12-22 14:44:04 +00:00
alias-template.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
alignof-sizeof-reference.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
altivec.cpp Add missing lvalue-to-rvalue conversion to vector splat casts. 2011-10-27 23:31:58 +00:00
ambig-user-defined-conversions.cpp De-Unicode-ify. 2011-08-12 05:49:51 +00:00
ambiguous-builtin-unary-operator.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
anonymous-struct.cpp Don't provide errors for anonymous unions when they're actually anonymous classes. 2011-10-19 22:43:29 +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
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-system-header.cpp Suppress -Warray-bounds in certain cases involving macros from system headers. 2011-12-12 22:35:02 +00:00
array-bounds.cpp Suppress -Warray-bounds for classes (not just structs) where the last field is 2011-11-29 22:43:53 +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
attr-cxx0x.cpp Remove a non-gcc-compatible extension that would apply attributes on declarations without a declarator to structs. Add a warning for ignored attributes. Patch by Michael Han. 2011-12-17 00:36:09 +00:00
attr-declspec-ignored.cpp Remove some extraneous carriage returns from these files. One of the 2011-12-20 01:45:15 +00:00
attr-deprecated.cpp pinpoint name/location of deprecated/unavailable enumerator 2011-11-28 19:45:58 +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
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 Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
auto-cxx98.cpp Make the -Wc++11-compat warnings ignored by default, so we don't break 2011-10-25 03:07:45 +00:00
auto-subst-failure.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
bitfield-layout.cpp
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
builtin-ptrtomember-ambig.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
builtin-ptrtomember-overload-1.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
builtin-ptrtomember-overload.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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
c99-variable-length-array.cpp Change the diagnostics which said 'accepted as an extension' to instead say 2011-12-29 21:57:33 +00:00
c99.cpp Change the diagnostics which said 'accepted as an extension' to instead say 2011-12-29 21:57:33 +00:00
cast-conversion.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
cast-explicit-ctor.cpp
class-base-member-init.cpp Include named unions in union member init checking 2011-11-17 06:01:57 +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
class.cpp Change the diagnostics which said 'accepted as an extension' to instead say 2011-12-29 21:57:33 +00:00
comma.cpp
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-init-list.cpp Add list initialization for complex numbers in C. Essentially, this allows "_Complex float x = {1.0f, 2.0f};". See changes to docs/LanguageExtensions.html for a longer description. 2011-09-19 23:17:44 +00:00
complex-overload.cpp Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +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 David Blaikie and Chandler would like us to diagnose 2012-01-06 02:30:50 +00:00
conditional-expr.cpp PR10828: Produce a warning when a no-arguments function is declared in block 2012-01-05 04:12:21 +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-cxx11.cpp C++11 generalized constant expressions: implement checking and diagnostics for 2012-01-06 16:39:00 +00:00
constant-expression.cpp constexpr handling improvements. Produce detailed diagnostics when a 'constexpr' 2011-12-19 06:19:21 +00:00
constexpr-ackermann.cpp Constant expression evaluation: support for constexpr member functions. This 2011-11-11 04:05:33 +00:00
constexpr-backtrace-limit.cpp C++11 generalized constant expressions: implement checking and diagnostics for 2012-01-06 16:39:00 +00:00
constexpr-depth.cpp constexpr handling improvements. Produce detailed diagnostics when a 'constexpr' 2011-12-19 06:19:21 +00:00
constexpr-factorial.cpp Don't recurse so deep in this test, pending APValue rework to further reduce the 2011-11-11 07:10:32 +00:00
constexpr-nqueens.cpp Constant expression evaluation: support for constexpr member functions. This 2011-11-11 04:05:33 +00:00
constexpr-printing.cpp Address Richard's review comments on r147561 (Evaluate support for address-of-label differences). 2012-01-05 23:59:40 +00:00
constexpr-value-init.cpp Unrevert r147271, reverted in r147361. 2011-12-30 21:15:51 +00:00
constructor-initializer.cpp Include named unions in union member init checking 2011-11-17 06:01:57 +00:00
constructor-recovery.cpp
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 Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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 Switch diagnostic text from "C++0x" over to "C++11". 2011-10-12 19:26:40 +00:00
converting-constructor.cpp
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
cxx0x-class.cpp Change the diagnostics which said 'accepted as an extension' to instead say 2011-12-29 21:57:33 +00:00
cxx0x-compat.cpp Switch to the C++11 warning flags in tests. 2011-10-18 05:54:07 +00:00
cxx0x-constexpr-const.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
cxx0x-cursory-default-delete.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
cxx0x-defaulted-functions.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
cxx0x-delegating-ctors.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
cxx0x-deleted-default-ctor.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
cxx0x-initializer-aggregates.cpp Enable function call and some overload resolution with parameters of aggregate class type and initializer list arguments. 2011-11-01 15:53:09 +00:00
cxx0x-initializer-constructor.cpp Overloading for initializer list construction. 2011-12-22 18:58:38 +00:00
cxx0x-initializer-references.cpp Implement overload resolution for reference-typed parameters supplied with initializer lists. 2011-12-03 14:54:30 +00:00
cxx0x-initializer-scalars.cpp Implement overload resolution from init lists for scalar parameter types. 2011-10-16 18:19:34 +00:00
cxx0x-nontrivial-union.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
cxx0x-return-init-list.cpp Switch diagnostic text from "C++0x" over to "C++11". 2011-10-12 19:26:40 +00:00
cxx0x-type-convert-construct.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
cxx98-compat-flags.cpp Extend -Wno-bind-to-temporary-copy and -Wno-{unnamed,local}-type-template-args 2011-11-11 19:29:23 +00:00
cxx98-compat-pedantic.cpp 'extern template' is a C++11 feature. Add an Extension for C++98 (this matches 2011-10-20 18:35:58 +00:00
cxx98-compat.cpp Stub out the Sema interface for lambda expressions, and change the parser to use it. Unconditionally error on lambda expressions because they don't work in any meaningful way yet. 2012-01-04 02:40:39 +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 Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
decl-expr-ambiguity.cpp Restore some parts of this test which were accidental reverted in r147649. 2012-01-09 18:30:34 +00:00
decl-init-ref.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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 Make the -Wc++11-compat warnings ignored by default, so we don't break 2011-10-25 03:07:45 +00:00
decltype-overloaded-functions.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
decltype-pr4444.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
decltype-pr4448.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
decltype-this.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
decltype.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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
default-assignment-operator.cpp
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
default2.cpp Parse default arguments within member functions in source order, from 2010-10-12 16:25:54 +00:00
defaulted-ctor-loop.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
delete.cpp Fix a test case where FileCheck is used to test code corrected by -fixit. 2011-10-13 23:26:59 +00:00
deleted-function.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
deleted-operator.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
dependent-auto.cpp Tweak the fix to PR8977: an empty expression-list represents value initialization, not default initialization. Fixes PR11712. 2012-01-05 22:34:08 +00:00
dependent-noexcept-unevaluated.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
dependent-types.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
derived-to-base-ambig.cpp
destructor.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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
dynamic-cast.cpp
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 PR11614: Mark defaulted special constructors as constexpr if their implicit 2011-12-22 02:22:31 +00:00
enum-scoped.cpp Make sure we perform lvalue-to-rvalue conversions for enum initializers. PR11484. 2011-12-06 00:10:34 +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 Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
explicit.cpp Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
expression-traits.cpp Fixed plausible overloads location. 2011-11-15 21:43:28 +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
for-range-examples.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
for-range-no-std.cpp Fix tentative parsing so it knows how to handle an ambiguous for-range-declaration. PR11601. 2011-12-20 01:50:37 +00:00
for-range-unused.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
format-strings-0x.cpp Support the 'a' scanf length modifier as an extension in C++. 2011-12-28 13:10:50 +00:00
format-strings.cpp Support the 'a' scanf length modifier as an extension in C++. 2011-12-28 13:10:50 +00:00
friend-class-nodecl.cpp
friend-out-of-line.cpp When we're checking a friend function template in an out-of-line class 2011-11-03 16:37:14 +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
function-redecl.cpp Only accept a typo correction if it doesn't trigger additional errors 2011-10-11 00:28:39 +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 Diagnose when omitting braces in direct list-initialization in C++0x. 2011-10-16 18:19:28 +00:00
generic-selection.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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 Change the diagnostics which said 'accepted as an extension' to instead say 2011-12-29 21:57:33 +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
implicit-exception-spec.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
implicit-int.cpp
implicit-member-functions.cpp Re-do R131114 without breaking code. 2011-05-10 19:08:14 +00:00
implicit-virtual-member-functions.cpp
incomplete-call.cpp Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +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
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
instantiate-blocks.cpp Move block return type inference diagnostic to a common place where 2011-12-03 23:53:56 +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
issue547.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
lambda-expressions.cpp More lambda work: semantic analysis of capturing 'this'. It's a bit complicated, but we have to be careful about when exactly captures are marked given PotentiallyPotentiallyEvaluated contexts. (Actually, it's not 100% correct yet, but it's close enough for the moment.) 2012-01-07 04:59:52 +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
linkage-spec.cpp Push "out-of-line" declarations into scope when their lexical/semantic 2011-10-09 22:57:49 +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 Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
literal-type.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
local-classes.cpp
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-class-11.cpp When we run into a constructor or destructor that is defined in the 2011-11-01 22:13:30 +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
member-expr.cpp Catch placeholder types in DefaultLvalueConversion 2011-10-11 23:14:30 +00:00
member-init.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
member-location.cpp
member-name-lookup.cpp
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
member-pointer.cpp Teach the ARC compiler to not require __bridge casts when 2011-10-17 18:40:02 +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 Switch to the C++11 warning flags in tests. 2011-10-18 05:54:07 +00:00
missing-header.cpp Rename AnalysisContext to AnalysisDeclContext. Not only is this name more accurate, but it frees up the name AnalysisContext for other uses. 2011-10-24 01:32:45 +00:00
missing-members.cpp
missing-namespace-qualifier-typo-corrections.cpp Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
ms-exception-spec.cpp
namespace-alias.cpp
namespace.cpp
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 Give nicer note when a member redeclaration has or lacks 'const' 2011-10-10 18:01:37 +00:00
new-array-size-conv.cpp Switch diagnostic text from "C++0x" over to "C++11". 2011-10-12 19:26:40 +00:00
new-delete-predefined-decl-2.cpp
new-delete-predefined-decl.cpp
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
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 Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
nullptr_in_arithmetic_ops.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
offsetof.cpp Perform lvalue-to-rvalue conversions on __builtin_offsetof array argument index 2011-10-17 23:29:39 +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-0x.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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 Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
overload-decl.cpp
overload-member-call.cpp Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
overload-value-dep-arg.cpp
overloaded-builtin-operators-0x.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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 Teach the ARC compiler to not require __bridge casts when 2011-10-17 18:40:02 +00:00
overloaded-operator-decl.cpp Diagnose attempts to declare a non-static data member with a 2011-10-09 18:55:59 +00:00
overloaded-operator.cpp Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +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
primary-base.cpp
pseudo-destructors.cpp Support decltype in pseudo destructors and dependent destructor calls. 2011-12-16 16:03:09 +00:00
ptrtomember-overload-resolution.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
ptrtomember.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
qual-id-test.cpp
qualification-conversion.cpp
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
qualified-names-print.cpp
redeclared-alias-template.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
redeclared-auto.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
ref-init-ambiguous.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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 Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
return-noreturn.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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 Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
rval-references.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
scope-check.cpp Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +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 Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
static-array-member.cpp
static-assert.cpp Produce more detailed diagnostics when static_assert condition is not an ICE. 2011-12-14 23:32:26 +00:00
static-cast-complete-type.cpp
static-cast.cpp Implement appropriate semantics for C++ casting and conversion when 2011-04-15 17:59:54 +00:00
static-initializers.cpp
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 all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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
this.cpp Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
trailing-return-0x.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
trivial-constructor.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
trivial-destructor.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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
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 the __is_final type trait, to determine whether 2011-12-03 18:14:24 +00:00
typedef-redecl.cpp Delay checking of typedefs of dependent types. Fixes PR11630. 2011-12-26 22:42:47 +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 Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
types_compatible_p.cpp
typo-correction.cpp Switch to the C++11 warning flags in tests. 2011-10-18 05:54:07 +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 Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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 Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
uninitialized.cpp Improvements to the uninitialized variable warning: Check if the constructor 2012-01-06 04:54:01 +00:00
unknown-anytype.cpp Teach the ARC compiler to not require __bridge casts when 2011-10-17 18:40:02 +00:00
unknown-type-name.cpp
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 Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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
user-defined-conversions.cpp When performing a user-defined conversion via a constructor, be sure 2011-10-10 22:41:00 +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
using-decl-pr4450.cpp
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
value-initialization.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
vararg-default-arg.cpp
vararg-non-pod.cpp Don't try to diagnose anything when we're passing incomplete types 2011-10-14 20:34:19 +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 Add (hopefully) the last missing lvalue-to-rvalue conversion. Add an assertion 2011-10-28 03:31:48 +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
virtual-override.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
virtuals.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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 Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +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
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-func-as-bool.cpp Add notes for suppressing and (if it's a zero-arg function returning bool) fixing the function-to-bool conversion warning. 2011-12-09 21:42:37 +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 Don't crash with -Wlarge-by-value-copy and a dependent type. PR11726. 2012-01-09 23:46:59 +00:00
warn-literal-conversion.cpp Only warn in -Wliteral-conversion if the conversion loses information 2011-10-14 15:36:25 +00:00
warn-memset-bad-sizeof.cpp Extend -Wno-sizeof-array-argument to strncpy and friends. 2011-10-13 22:30:23 +00:00
warn-missing-noreturn.cpp Don't suggest 'noreturn' for function template instantiations, because 2011-10-10 18:15:57 +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-string-conversion.cpp Move string literal to bool conversion into its own warning flag -Wstring-conversion. 2011-09-26 22:38:21 +00:00
warn-thread-safety-analysis.cpp Thread safety analysis: added support for trylock attribute. 2012-01-06 19:16:50 +00:00
warn-thread-safety-parsing.cpp Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
warn-unreachable.cpp Further tweak -Wurneachable-code and templates by allowing the warning to run on 2011-12-01 00:59:17 +00:00
warn-unused-comparison.cpp Don't analyze comparisons in type- or value-dependent 2011-10-10 17:38:18 +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
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 Fix a QoI bug with overloaded operators inside macros. 2011-09-19 18:51:20 +00:00
warn-unused-variables.cpp Improvements to the uninitialized variable warning: Check if the constructor 2012-01-06 04:54:01 +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 Provide a separate warning for weak vtables in explicit template instantiations. There's no (current) way to fix such templates to emit strong symbols/vtables, but perhaps users want to know about the cost being incurred anyway. 2011-12-09 18:32:50 +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
zero-length-arrays.cpp Don't build member initializers for zero-length or incomplete arrays, 2011-11-02 23:04:16 +00:00