hanchenye-llvm-project/clang/test/SemaCXX
Jeffrey Yasskin a722170eb9 Implement the first piece of a -Wc++98-compat flag so that people can build in
C++11 mode but keep their sources compatible with C++98.  This patch implements
the -Wc++98-compat-variadic-templates sub-flag and -Wc++98-compat to include
it.

llvm-svn: 141898
2011-10-13 22:18:05 +00:00
..
Inputs
2008-01-11-BadWarning.cpp Move test from llvm/test/FrontendCXX and update. 2011-08-15 23:24:31 +00:00
MicrosoftCompatibility.cpp [Microsoft] If -fms-compatibility, then downgrade missing typename error to warning at function prototype scope. 2011-10-11 01:50:09 +00:00
MicrosoftExtensions.cpp [microsoft] Move missing typename warning from -fms-extensions to -fms-compatibility. Also allow the missing typename warning at function scope. 2011-09-21 07:59:49 +00:00
PR5086-ambig-resolution-enum.cpp
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
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 Switch diagnostic text from "C++0x" over to "C++11". 2011-10-12 19:26:40 +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 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 When checking for abstract types, don't crash when we have a 2011-02-22 23:21:06 +00:00
access-base-class.cpp
access-control-check.cpp
access-member-pointer.cpp
access.cpp
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
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 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 Allow calling an overloaded function set by taking the address of the 2011-10-13 18:10:35 +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
anonymous-struct.cpp
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.cpp Fix regression of -Warray-bounds involving varargs functions [PR 11007]. 2011-09-26 23:36:13 +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 Add support for alignment-specifiers in C1X and C++11, remove 2011-09-29 18:04:28 +00:00
attr-deprecated.cpp c - Enumerators may inherit the deprecated/unavailable 2011-09-29 18:40:01 +00:00
attr-format.cpp
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 Switch diagnostic text from "C++0x" over to "C++11". 2011-10-12 19:26:40 +00:00
auto-cxx98.cpp Switch diagnostic text from "C++0x" over to "C++11". 2011-10-12 19:26:40 +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
block-call.cpp Implement objective-c++'s block pointer type matching involving 2011-02-12 19:07:46 +00:00
blocks-1.cpp
blocks.cpp
bool.cpp Add fixit notes for -Wconstant-logical-operand. 2011-08-15 17:50:06 +00:00
borland-extensions.cpp
builtin-exception-spec.cpp
builtin-ptrtomember-ambig.cpp
builtin-ptrtomember-overload-1.cpp
builtin-ptrtomember-overload.cpp
builtin_objc_msgSend.cpp
builtins.cpp
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
class-base-member-init.cpp
class-layout.cpp
class-names.cpp
class.cpp Switch diagnostic text from "C++0x" over to "C++11". 2011-10-12 19:26:40 +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
composite-pointer-type.cpp
compound-literal.cpp
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
constant-expression.cpp
constructor-initializer.cpp
constructor-recovery.cpp
constructor.cpp
conversion-delete-expr.cpp
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
crashes.cpp ActOnCXXConditionDeclaration should take into account that 2011-07-05 16:13:20 +00:00
cstyle-cast.cpp
cv-unqual-rvalues.cpp
cxx-member-pointer-op.cpp
cxx0x-class.cpp Suggest adding 'constexpr' if the GNU extension for in-class initializers for static const float members is used in C++11 mode. 2011-09-30 00:33:19 +00:00
cxx0x-compat.cpp Switch diagnostic text from "C++0x" over to "C++11". 2011-10-12 19:26:40 +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 constexpr functions are implicitly const. More tests to follow. 2011-09-30 00:45:47 +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 Fix PR10531. Attach an initializer to anonymous unions, since the default constructor might not be trivial (if there is an in-class initializer for some member) and might be deleted. 2011-09-18 00:06:34 +00:00
cxx0x-initializer-scalars.cpp Correctly parse braced member initializers (even in delayed parsing) and correctly pass 2011-09-24 17:48:25 +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 Switch diagnostic text from "C++0x" over to "C++11". 2011-10-12 19:26:40 +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
cxx98-compat.cpp Implement the first piece of a -Wc++98-compat flag so that people can build in 2011-10-13 22:18:05 +00:00
dcl_ambig_res.cpp
dcl_init_aggr.cpp
decl-expr-ambiguity.cpp
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 Add a -Wc++0x-compat warning for C++11 keywords used as identifiers when in 2011-10-11 19:57:52 +00:00
decltype-overloaded-functions.cpp Catch placeholder types in DefaultLvalueConversion 2011-10-11 23:14:30 +00:00
decltype-pr4444.cpp
decltype-pr4448.cpp
decltype-this.cpp
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
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
defaulted-ctor-loop.cpp Implement an additional fix for infinite recursion of deleted special 2011-05-18 03:41:58 +00:00
delete.cpp
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
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
do-while-scope.cpp
dynamic-cast.cpp
elaborated-type-specifier.cpp
empty-class-layout.cpp
enum-bitfield.cpp
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
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 Catch placeholder types in DefaultLvalueConversion 2011-10-11 23:14:30 +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 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
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
functional-cast.cpp
generalized-initializers.cpp Correctly parse braced member initializers (even in delayed parsing) and correctly pass 2011-09-24 17:48:25 +00:00
generic-selection.cpp C1X: implement generic selections 2011-04-15 00:35:48 +00:00
gnu-case-ranges.cpp
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 Extend lvalue evaluation in ExprConstant.cpp to handle CK_LValueBitCast (which is completely trivial). PR8836. 2011-10-11 00:13:24 +00:00
if-empty-body.cpp
illegal-member-initialization.cpp
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
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
increment-decrement.cpp
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
invalid-instantiated-field-decl.cpp
invalid-member-expr.cpp
invalid-template-specifier.cpp
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
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 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
lookup-member.cpp
member-expr-anonymous-union.cpp
member-expr-static.cpp
member-expr.cpp Catch placeholder types in DefaultLvalueConversion 2011-10-11 23:14:30 +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
member-name-lookup.cpp
member-operator-expr.cpp
member-pointer-ms.cpp
member-pointer-size.cpp
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
missing-members.cpp
missing-namespace-qualifier-typo-corrections.cpp Add typo correction for type names. 2011-10-11 01:02:41 +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
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
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 Fix a crash-on-invalid with bad CV-qualification on 'this' in the 2011-09-20 06:21:28 +00:00
overload-call-copycon.cpp
overload-call.cpp Allow calling an overloaded function set by taking the address of the 2011-10-13 18:10:35 +00:00
overload-decl.cpp
overload-member-call.cpp
overload-value-dep-arg.cpp
overloaded-builtin-operators-0x.cpp
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 Catch placeholder types in DefaultLvalueConversion 2011-10-11 23:14:30 +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 Catch placeholder types in DefaultLvalueConversion 2011-10-11 23:14:30 +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
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 When clearing a LookupResult structure, clear out the naming class, 2011-03-04 22:32:08 +00:00
ptrtomember-overload-resolution.cpp
ptrtomember.cpp Catch placeholder types in DefaultLvalueConversion 2011-10-11 23:14:30 +00:00
qual-id-test.cpp
qualification-conversion.cpp
qualified-id-lookup.cpp
qualified-member-enum.cpp
qualified-names-diag.cpp
qualified-names-print.cpp
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
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
return-noreturn.cpp Fix a pretty nasty bug in noreturn destructors that cascaded into lots 2011-09-20 04:55:26 +00:00
return-stack-addr.cpp
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 Move test, so it actually tests what it is supposed to (given that we don't have an AST verifier). 2011-09-27 18:55:06 +00:00
scope-check.cpp In Microsoft mode, warn if an indirect goto jump over a variable initialization. 2011-09-16 23:15:32 +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
static-array-member.cpp
static-assert.cpp
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
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
trailing-return-0x.cpp Implement the C++0x deduced 'auto' feature. 2011-02-20 03:19:35 +00:00
trivial-constructor.cpp
trivial-destructor.cpp
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
type-traits.cpp Teach __has_nothrow_assign not to complain about access (GCC and EDG 2011-10-12 15:40:49 +00:00
typedef-redecl.cpp
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
types_compatible_p.cpp
typo-correction.cpp Add an explanatory comment to test/SemaCXX/typo-correction.cpp 2011-10-11 17:17:40 +00:00
unary-real-imag.cpp
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
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
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
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
value-dependent-exprs.cpp
value-initialization.cpp Add a missing case for default constructor deletion. 2011-05-20 21:43:47 +00:00
vararg-default-arg.cpp
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
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
virtual-member-functions-key-function.cpp
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
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-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
warn-literal-conversion.cpp Move string literal to bool conversion into its own warning flag -Wstring-conversion. 2011-09-26 22:38:21 +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 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
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-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 Remove standard library includes from test; they explode on Windows. 2011-09-15 23:24:35 +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 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 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 When checking for weak vtables, check whether the actual definition of 2011-09-23 19:04:03 +00:00
wchar_t.cpp
writable-strings-deprecated.cpp GCC overloads -Wwrite-strings just to make it extra confusing. While it 2011-04-23 06:54:44 +00:00