hanchenye-llvm-project/clang/test/SemaCXX
DeLesley Hutchins 481d5abf45 Thread safety analysis: downgraded requirement that mutex expressions refer to a lockable type from error to warning.
llvm-svn: 154198
2012-04-06 20:02:30 +00:00
..
Inputs Don't warn on use of default allocator with an over-aligned type when the 2012-02-04 03:30:14 +00:00
2008-01-11-BadWarning.cpp Move test from llvm/test/FrontendCXX and update. 2011-08-15 23:24:31 +00:00
MicrosoftCompatibility-cxx98.cpp Shift Microsoft enum extensions from -fms-extensions to -fms-compatibility, so -fms-extensions doesn't affect enum semantics in incompatible ways. <rdar://problem/10657186>. 2012-02-16 05:20:44 +00:00
MicrosoftCompatibility.cpp In microsoft mode, downgrade pseudo-destructors on void from error to warning. 2012-01-23 05:50:57 +00:00
MicrosoftExtensions.cpp Shift Microsoft enum extensions from -fms-extensions to -fms-compatibility, so -fms-extensions doesn't affect enum semantics in incompatible ways. <rdar://problem/10657186>. 2012-02-16 05:20:44 +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
PR8385.cpp Add a test case for PR8385. 2012-03-13 23:33:06 +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 Improve our semantic error recovery. 2012-03-09 20:10:30 +00:00
PR9461.cpp Improve diagnostics a bit for bad member initializers, and fix an obscure bug involving packs. Fixes PR12049. 2012-02-22 04:49:04 +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
PR10447.cpp Fix PR10447: lazily building name lookup tables for DeclContexts was broken. 2012-03-13 03:12:56 +00:00
PR10458.cpp Switch diagnostic text from "C++0x" over to "C++11". 2011-10-12 19:26:40 +00:00
PR11358.cpp With a little more work in the tentative parse determining whether a statement 2012-01-25 01:19:14 +00:00
PR12481.cpp Test for r154189/PR12481 2012-04-06 18:47:27 +00:00
__null.cpp Reapply r152745 (reverted in 152765) now that compiler-rt is fixed. 2012-03-15 04:50:32 +00:00
__try.cpp
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 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
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
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 List-initialization via constructor part 1. Still needs: pretty-printing, overloading, initializer_list. 2011-12-22 14:44:04 +00:00
alias-template.cpp Fix parsing of type-specifier-seq's. Types are syntactically allowed to be 2012-03-12 07:56:15 +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 -Wstring-plus-int, which warns on "str" + int and int + "str". 2012-03-02 22:01:22 +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 Fix a couple bugs in the way we handle array indexes in array bounds checking. Specifically, make sure we don't ignore explicit casts in indexes, and make sure we use unsigned extension/comparisons on indexes. Fixes <rdar://problem/10916006>. 2012-02-27 21:21:40 +00:00
arrow-operator.cpp
atomic-type.cxx Make sure to try instantiating a templated type which is used in an _Atomic 2012-02-11 18:03:45 +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
attr-nonnull.cpp
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 Add a bunch of missing calls to DiagnoseSentinelCalls. <rdar://problem/10885993>. 2012-02-18 04:48:30 +00:00
attr-unavailable.cpp Allow unavailable function calls inside unavailable functions in C++/ObjC++ as well. rdar://9660196 2011-06-23 00:41:50 +00:00
attr-weak.cpp
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 Test case for rdar://problem/11055105, a bug with the instantiation 2012-03-21 00:45:33 +00:00
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 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
builtins.cpp
c99-variable-length-array.cpp Misc improvements to the diagnostic when a variable is odr-used in a context that is not allowed to capture variables. 2012-02-07 00:15:00 +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 Support decltype in member initializers. 2012-01-24 06:03:59 +00:00
class-layout.cpp
class-names.cpp
class.cpp Improve diagnostics for invalid use of non-static members / this: 2012-04-05 01:13:04 +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
compound-literal.cpp
condition.cpp Generalize -Wempty-body: warn when statement body is empty (closes: PR11329) 2012-02-14 22:14:32 +00:00
conditional-expr.cpp Improve 0-argument -Wvexing-parse diagnostic by adding notes with fix-its: 2012-01-12 23:53:29 +00:00
const-cast.cpp
constant-expression-cxx11.cpp Allow vectors to be constructed from constexpr function arguments in 2012-03-13 20:58:32 +00:00
constant-expression.cpp Pedantic diagnostic correction: in C++, we have integral constant expressions, 2012-01-15 03:51:30 +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 Test cleanup: prefer static_assert to handmade alternative. 2012-02-10 10:55:13 +00:00
constexpr-printing.cpp Add triples to these tests to keep them working on Windows, 2012-04-05 00:54:51 +00:00
constexpr-strlen.cpp A call to strlen is not a constant expression, even if we're treating it as a 2012-01-18 03:06:12 +00:00
constexpr-turing.cpp Implement DR1454. This allows all intermediate results in constant expressions 2012-02-15 02:18:13 +00:00
constexpr-value-init.cpp PR12012: Fix a regression in r150419 where we would try (and fail) to 2012-02-17 00:44:16 +00:00
constructor-initializer.cpp Improve diagnostics a bit for bad member initializers, and fix an obscure bug involving packs. Fixes PR12049. 2012-02-22 04:49:04 +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 Suppress macro expansion of NULL in NULL warnings. 2012-03-16 20:30:12 +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 When we see 'Class(X' or 'Class::Class(X' and we suspect that it names a 2012-03-27 00:56:56 +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 Implement core issue 5: a temporary created for copy-initialization has a 2012-02-11 19:22:50 +00:00
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 Bugfix: bogus warning -- "invalid use of non-static data member", 2012-02-25 00:11:55 +00:00
cxx0x-compat.cpp Implement C++11 [lex.ext]p10 for string and character literals: a ud-suffix not 2012-03-08 02:39:21 +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 Allow thread safety attributes on function definitions. 2012-02-16 16:50:43 +00:00
cxx0x-defaulted-functions.cpp Fix another issue introduced by the proposed wording for core issue 1358: since 2012-02-14 02:33:50 +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 Finish PR10217: Ensure we say that a special member was implicitly, not 2012-04-02 20:59:25 +00:00
cxx0x-initializer-aggregates.cpp Make sure list-initialization of arrays works correctly in explicit type conversions. PR12121. 2012-02-29 00:00:28 +00:00
cxx0x-initializer-constructor.cpp Properly handle explicit constructors in list-initialization. Fixes PR12120. 2012-04-01 19:54:59 +00:00
cxx0x-initializer-references.cpp Be smarter in discovering list-initialization of temporaries. Fixes PR12182. 2012-03-07 16:10:45 +00:00
cxx0x-initializer-scalars.cpp Parse brace initializers as default arguments. PR12236. 2012-03-14 15:54:00 +00:00
cxx0x-initializer-stdinitializerlist.cpp Allow a conversion from the empty initializer list {} to an 2012-04-04 23:09:20 +00:00
cxx0x-nontrivial-union.cpp Add a pile of tests for unrestricted unions, and advertise support for them. 2012-03-03 23:51:05 +00:00
cxx0x-return-init-list.cpp Doug's review comments. 2012-02-22 17:38:04 +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
cxx11-ast-print.cpp Fix statement printing for raw and template user-defined literals. 2012-03-09 10:10:02 +00:00
cxx11-user-defined-literals.cpp Literal operator suffixes and regular names live in separate namespaces. 2012-03-09 08:37:16 +00:00
cxx98-compat-flags.cpp PR10217: Provide diagnostics explaining why an implicitly-deleted special 2012-03-30 20:53:28 +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 Implement C++11 [temp.arg.nontype]'s permission to use the address of an object 2012-04-04 21:11:30 +00:00
dcl_ambig_res.cpp
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 Don't crash while trying to diagnose a function declared at block scope with an 2012-01-13 02:14:39 +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 Back out __decltype warning from r151377: we should either warn on all the GNU 2012-02-24 22:30:04 +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 decltype(e) is type-dependent if e is instantiation-dependent. Scary but true. 2012-01-15 06:24:57 +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 Ensure that default arguments are handled correctly in sub scopes. For example: 2012-03-13 08:55:35 +00:00
default2.cpp Improve diagnostics for invalid use of non-static members / this: 2012-04-05 01:13:04 +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
defaulted-private-dtor.cpp PR10217: Provide diagnostics explaining why an implicitly-deleted special 2012-03-30 20:53:28 +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 Diagnose uses of deleted destructors and inaccessible defaulted destructors. 2012-02-18 04:13:32 +00:00
deleted-operator.cpp Fix assertion (too few Diag arguments) when diagnosing a deleted operator delete 2012-02-25 09:42:26 +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 PR11684, core issue 1417: 2012-02-10 11:05:11 +00:00
direct-initializer.cpp
discrim-union.cpp Add a pile of tests for unrestricted unions, and advertise support for them. 2012-03-03 23:51:05 +00:00
do-while-scope.cpp
dr1301.cpp Finish PR10217: Ensure we say that a special member was implicitly, not 2012-04-02 20:59:25 +00:00
dynamic-cast.cpp
elaborated-type-specifier.cpp
empty-class-layout.cpp Recommit r148056 with fixes to deal with weirdness with bitfields in unions. 2012-01-12 23:48:56 +00:00
enum-bitfield.cpp In C++11 mode, when an integral constant expression is desired and we have a 2012-02-04 09:53:13 +00:00
enum-scoped.cpp Handle instantiations of redeclarations of forward-declared enumerations within 2012-03-26 04:58:10 +00:00
enum-unscoped-nonexistent.cpp Add a special-case diagnostic for one of the more obnoxious special cases of 2012-03-26 20:28:16 +00:00
enum.cpp Pedantic diagnostic correction: in C++, we have integral constant expressions, 2012-01-15 03:51:30 +00:00
exception-spec-no-exceptions.cpp
exceptions.cpp Promote the extension warning for attempts to catch a reference or 2012-01-24 19:01:26 +00:00
explicit.cpp Implement C++11 [over.match.copy]p1b2, which allows the use of 2012-02-24 23:56:31 +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 Don't assume that a valid expression for the first part of a for-statement 2012-02-21 20:01:35 +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 all null pointer literals in format strings. 2012-02-10 21:07:25 +00:00
format-strings.cpp -Wformat-non-iso: warn about positional arguments (pr12017) 2012-03-09 10:10:54 +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 Skip through transparent contexts when deciding where to add a friend function. 2012-03-16 19:51:19 +00:00
function-extern-c.cpp Adding support for warning when a non-C compatible user-defined type is returned from an extern "C" function. 2012-02-09 01:21:34 +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 Remove more redundant lookups. Add a new "all_lookups_iterator" which provides 2012-04-03 21:44:08 +00:00
function-type-qual.cpp PR11684, core issue 1417: 2012-02-10 11:05:11 +00:00
functional-cast.cpp
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 Reword/rename -Wswitch-unreachable-default. 2012-01-24 05:34:08 +00:00
goto.cpp Make sure a variable with a C++ direct initializer triggers jump scope checking. Fixes PR10620 / <rdar://problem/9958362> . 2012-02-09 20:13:14 +00:00
goto2.cpp
i-c-e-cxx.cpp In C++11 mode, when an integral constant expression is desired and we have a 2012-02-04 09:53:13 +00:00
illegal-member-initialization.cpp
implicit-exception-spec.cpp PR10217: Provide diagnostics explaining why an implicitly-deleted special 2012-03-30 20:53:28 +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
indirect-goto.cpp Make sure we call MaybeCreateExprWithCleanups for the sub-expression of an indirect goto. 2012-01-31 22:47:07 +00:00
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 Fix parsing of type-specifier-seq's. Types are syntactically allowed to be 2012-03-12 07:56:15 +00:00
invalid-template-specifier.cpp
issue547.cpp PR11684, core issue 1417: 2012-02-10 11:05:11 +00:00
lambda-expressions.cpp Make the error about assigning to lambda-captured variables 2012-03-13 01:10:51 +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 Change linkage computation so it doesn't depend on FunctionDecl::isExternC or VarDecl::isExternC, and instead queries what it actually cares about: whether the given declaration is inside an extern "C" context. Fundamentally, figuring out whether a function/variable uses C linkage requires knowing the linkage, and the logic in FunctionDecl::isExternC and VarDecl::isExternC was getting it wrong. Given that, fix FunctionDecl::isExternC and VarDecl::isExternC to use much simpler implementations that depend on the fixed linkage computation. 2012-01-15 01:23:58 +00:00
literal-operators.cpp PR12225: The requirement that literal operators be namespace-scope functions 2012-03-10 22:18:57 +00:00
literal-type.cpp Update constexpr implementation to match CWG's chosen approach for core issues 2012-02-13 03:54:03 +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 Convert SemaExprMember.cpp to pass a callback object to CorrectTypo, 2012-01-13 21:28:55 +00:00
member-init.cpp Fix crash-on-invalid for 'operator int[]()' in C++11. 2012-02-14 09:00:46 +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 Eli says this should check MicrosoftMode instead. 2012-01-23 04:01:33 +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 Fix parsing of type-specifier-seq's. Types are syntactically allowed to be 2012-03-12 07:56:15 +00:00
ms-exception-spec.cpp
namespace-alias.cpp Point the caret at the error for the 'expected namespace name' diagnostic in 2012-04-05 23:13:23 +00:00
namespace.cpp
neon-vector-types.cpp
nested-name-spec-locations.cpp
nested-name-spec.cpp Unify and fix our checking of C++ [dcl.meaning]p1's requirements 2012-03-28 16:01:27 +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-cxx0x.cpp Proper checking of list-initializers for array new expressions. 2012-02-16 12:59:47 +00:00
new-delete-predefined-decl-2.cpp
new-delete-predefined-decl.cpp
new-delete.cpp Fix parsing of type-specifier-seq's. Types are syntactically allowed to be 2012-03-12 07:56:15 +00:00
no-exceptions.cpp
no-implicit-builtin-decls.cpp
non-empty-class-size-zero.cpp
null_in_arithmetic_ops.cpp Add -Wstring-plus-int, which warns on "str" + int and int + "str". 2012-03-02 22:01:22 +00:00
nullptr-98.cpp
nullptr.cpp Convert ad-hoc `int array[expr ? -1 : 1]' assertions 2012-02-15 13:30:53 +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
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 Enable warn_impcast_literal_float_to_integer by default. 2012-04-05 00:16:44 +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
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 Correctly resolve an overload set passed to an overloaded operator=. PR11784. 2012-01-17 21:27:43 +00:00
pascal-strings.cpp
pragma-pack.cpp
pragma-unused.cpp
pragma-visibility.cpp Handle "#pragma GCC visibility" in a few more places. Switch over "#pragma pack" to use the same handling that gcc does. Fixes <rdar://problem/10871094> and <rdar://problem/10893316>. 2012-02-23 23:47:16 +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 Improve diagnostics for invalid use of non-static members / this: 2012-04-05 01:13:04 +00:00
qualification-conversion.cpp
qualified-id-lookup.cpp Remove more redundant lookups. Add a new "all_lookups_iterator" which provides 2012-04-03 21:44:08 +00:00
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 C++ 5.2.10p2 has a note that mentions that, subject to all other restrictions, 2012-02-03 02:54:37 +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 Reword/rename -Wswitch-unreachable-default. 2012-01-24 05:34:08 +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
runtimediag-ppe.cpp Fix a couple issues where we didn't correctly delay diagnostics in PotentiallyPotentiallyEvaluated contexts. In preparation for making sizeof() PotentiallyPotentiallyEvaluated. 2012-01-18 01:05:54 +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
short-enums.cpp
short-wchar-sign.cpp
sourceranges.cpp
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 Add triples to these tests to keep them working on Windows, 2012-04-05 00:54:51 +00:00
static-cast-complete-type.cpp
static-cast.cpp
static-initializers.cpp
storage-class.cpp
string-plus-int.cpp Add a test for the -Wstring-plus-int fixit note. 2012-03-02 23:01:20 +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 Reject continue/break statements within members of local functions nested within 2012-02-17 01:35:32 +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 Improve diagnostics for invalid use of non-static members / this: 2012-04-05 01:13:04 +00:00
trailing-return-0x.cpp Track whether a function type has a trailing return type as type sugar. Use this 2012-02-10 09:58:53 +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 Special members which are defaulted or deleted on their first declaration are 2012-02-26 00:31:33 +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
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 Remove more redundant lookups. Add a new "all_lookups_iterator" which provides 2012-04-03 21:44:08 +00:00
unary-real-imag.cpp
undefined-internal.cpp Make sure template argument deduction is consistently performed in an unevaluated context. 2012-02-08 03:07:05 +00:00
underlying_type.cpp Properly handle non-canonical underlying types in 2012-03-05 16:02:06 +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 Fix broken CFG when an initializer is a statement expression that starts with a while loop (PR 12325). 2012-03-22 05:57:43 +00:00
unknown-anytype-blocks.cpp Extended the UnknownAnyTy resolver to handle 2012-03-06 21:34:12 +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 PR10217: Provide diagnostics explaining why an implicitly-deleted special 2012-03-30 20:53:28 +00:00
vararg-default-arg.cpp
vararg-non-pod.cpp [frontend] Don't allow a mapping to a warning override an error/fatal mapping. 2012-02-03 01:49:51 +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
vla.cpp PR11925: A function can't have a variably-modified return type. Not even in C++. 2012-03-13 05:56:40 +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
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-empty-body.cpp Generalize -Wempty-body: warn when statement body is empty (closes: PR11329) 2012-02-14 22:14:32 +00:00
warn-enum-compare.cpp
warn-everthing.cpp Fix crash when querying the CFG reported when using the thread safety analysis 2012-03-19 23:48:41 +00:00
warn-exit-time-destructors.cpp
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
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 StmtProfiler: Add a null check for child statements. 2012-03-01 16:34:31 +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-new-overaligned-2.cpp Force triple on these tests to pacify the windows tester. 2012-01-24 21:28:47 +00:00
warn-new-overaligned-3.cpp Don't warn on use of default allocator with an over-aligned type when the 2012-02-04 03:30:14 +00:00
warn-new-overaligned.cpp Force triple on these tests to pacify the windows tester. 2012-01-24 21:28:47 +00:00
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 Enable warn_impcast_literal_float_to_integer by default. 2012-04-05 00:16:44 +00:00
warn-thread-safety-parsing.cpp Thread safety analysis: downgraded requirement that mutex expressions refer to a lockable type from error to warning. 2012-04-06 20:02:30 +00:00
warn-unreachable.cpp Revert various template unreachability code I committed accidentally. 2012-01-24 04:51: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
warn-unused-parameters.cpp Fix the isReferenced bit on parameters in a couple of edge cases. PR12153. 2012-03-01 21:32:56 +00:00
warn-unused-result.cpp
warn-unused-value.cpp When emitting a diagnostic about two-phase name lookup, don't do useless 2012-03-14 20:41:00 +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
warn-using-namespace-in-header.h
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
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