llvm-capstone/clang/test/SemaCXX
Richard Trieu 5f623229ec Switch a cast to a dyn_cast and check the pointer before using. Fixes a crash
in the following code:

void test4(bool (&x)(void)) {
  while (x);
}

llvm-svn: 145918
2011-12-06 04:48:01 +00:00
..
Inputs
__null.cpp
__try.cpp
2008-01-11-BadWarning.cpp Move test from llvm/test/FrontendCXX and update. 2011-08-15 23:24:31 +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
access-control-check.cpp
access-member-pointer.cpp
access.cpp
addr-of-overloaded-function-casting.cpp
addr-of-overloaded-function.cpp Add feature to diagnostics that will provide more information on function 2011-11-23 22:32:32 +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
address-space-newdelete.cpp
address-space-references.cpp
aggregate-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
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
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 Suppress -Warray-bounds for classes (not just structs) where the last field is 2011-11-29 22:43:53 +00:00
arrow-operator.cpp
attr-after-definition.cpp
attr-cxx0x.cpp Fix grammar for C++11 alignment specifiers, and add a few FIXMEs. 2011-10-23 20:07:52 +00:00
attr-deprecated.cpp pinpoint name/location of deprecated/unavailable enumerator 2011-11-28 19:45:58 +00:00
attr-format.cpp
attr-nonnull.cpp
attr-noreturn.cpp
attr-regparm.cpp
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
attr-weakref.cpp
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
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_objc_msgSend.cpp
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
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
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
class-names.cpp
class.cpp Make the -Wc++11-compat warnings ignored by default, so we don't break 2011-10-25 03:07:45 +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 Switch a cast to a dyn_cast and check the pointer before using. Fixes a crash 2011-12-06 04:48:01 +00:00
conditional-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
const-cast.cpp
constant-expression-cxx11.cpp Wordsmith the -Warray-bounds diagnostic text a bit 2011-11-24 00:27:38 +00:00
constant-expression.cpp Fix a cluster of related issues involving value-dependence and constant 2011-11-08 01:31:09 +00:00
constexpr-ackermann.cpp Constant expression evaluation: support for constexpr member functions. This 2011-11-11 04:05:33 +00:00
constexpr-depth.cpp Add driver arguments -ftemplate-depth=N and -fconstexpr-depth=N, with the same 2011-11-21 19:36:32 +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
constructor-initializer.cpp Include named unions in union member init checking 2011-11-17 06:01:57 +00:00
constructor-recovery.cpp
constructor.cpp
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
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
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
cxx0x-class.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-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-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 Add -Wc++98-compat diagnostics for jumps which bypass initialization of non-POD 2011-10-20 21:42:12 +00:00
cxx-member-pointer-op.cpp
dcl_ambig_res.cpp
dcl_init_aggr.cpp
decl-expr-ambiguity.cpp
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
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
default1.cpp
default2.cpp
default-arg-special-member.cpp
default-argument-temporaries.cpp
default-assignment-operator.cpp
default-constructor-initializers.cpp
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 Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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
do-while-scope.cpp
dynamic-cast.cpp
elaborated-type-specifier.cpp
empty-class-layout.cpp
enum-bitfield.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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
exception-spec-no-exceptions.cpp
exceptions.cpp
explicit.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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
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 Switch to the C++11 warning flags in tests. 2011-10-18 05:54:07 +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
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
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 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
goto2.cpp
goto.cpp
i-c-e-cxx.cpp Revert r142844, it broke selfhost. The problem appears to be a missing 2011-10-24 23:14:33 +00:00
if-empty-body.cpp
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
implicit-virtual-member-functions.cpp
incomplete-call.cpp
increment-decrement.cpp
inherit.cpp
init-priority-attr.cpp
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
invalid-member-expr.cpp
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
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
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
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
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
member-pointer-ms.cpp
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
microsoft-cxx0x.cpp Switch to the C++11 warning flags in tests. 2011-10-18 05:54:07 +00:00
MicrosoftCompatibility.cpp Move "Unqualified lookup into dependent bases of class templates" Microsoft specific behavior from -fms-extensions to -fms-compatibility. 2011-11-11 00:12:11 +00:00
MicrosoftExtensions.cpp Treat the Microsoft/Borland keyword "__except" as a context-sensitive 2011-10-21 03:57:52 +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 Switch to the C++11 warning flags in tests. 2011-10-18 05:54:07 +00:00
ms-exception-spec.cpp
namespace-alias.cpp
namespace.cpp
neon-vector-types.cpp
nested-name-spec-locations.cpp
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
no-implicit-builtin-decls.cpp
non-empty-class-size-zero.cpp
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_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
nullptr-98.cpp
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
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
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
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 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
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 Teach the ARC compiler to not require __bridge casts when 2011-10-17 18:40:02 +00:00
pascal-strings.cpp
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
PR8884.cpp
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
PR9461.cpp
PR9572.cpp Switch diagnostic text from "C++0x" over to "C++11". 2011-10-12 19:26:40 +00:00
PR9884.cpp
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
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
pragma-pack.cpp
pragma-unused.cpp
prefetch-enum.cpp
primary-base.cpp
pseudo-destructors.cpp Don't crash when transforming an ill-formed pseudo-destructor 2011-11-09 02:19:47 +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
qualified-member-enum.cpp
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
reinterpret-fn-obj-pedantic.cpp
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
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 Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
shift.cpp
short-enums.cpp
short-wchar-sign.cpp
sourceranges.cpp
statements.cpp
static-array-member.cpp
static-assert.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
static-cast-complete-type.cpp
static-cast.cpp
static-initializers.cpp
storage-class.cpp
struct-class-redecl.cpp
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
tag-ambig.cpp
templated-friend-decl.cpp
this.cpp
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
type-formatting.cpp
type-traits-incomplete.cpp
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 PR10101: Recover better from a common copy-paste error: if a function 2011-11-29 05:27:40 +00:00
typeid-ref.cpp
typeid.cpp
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
undefined-internal.cpp
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 Show either a location or a fixit note, not both, for uninitialized variable warnings. 2011-09-10 05:35:08 +00:00
uninitialized.cpp Teach the CFG builder how to properly destroy temporaries who 2011-11-15 15:29:30 +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
unreachable-code.cpp
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
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 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
vector-no-lax.cpp
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
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
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
warn-enum-compare.cpp
warn-exit-time-destructors.cpp
warn-global-constructors.cpp
warn-large-by-value-copy.cpp
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
warn-overloaded-virtual.cpp
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
warn-self-comparisons.cpp
warn-shadow.cpp
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 UnresolvedMemberExprs need lvalue-to-rvalue conversions during template 2011-10-26 06:15:36 +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 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
warn-unused-parameters.cpp
warn-unused-result.cpp
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
warn-using-namespace-in-header.h
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
zero-length-arrays.cpp Don't build member initializers for zero-length or incomplete arrays, 2011-11-02 23:04:16 +00:00