hanchenye-llvm-project/clang/test/SemaCXX
Richard Trieu 3a5c958182 Fix -Wnull-conversion for long macros.
Move the function to get a macro name from DiagnosticRenderer.cpp to Lexer.cpp
so that other files can use it.  Lexer now has two functions to get the
immediate macro name, the newly added one is better for diagnostic purposes.
Make -Wnull-conversion use this function for better NULL macro detection.

llvm-svn: 258778
2016-01-26 02:51:55 +00:00
..
Inputs Further restrict issuance of 'override' warning if method 2014-11-03 19:46:18 +00:00
2008-01-11-BadWarning.cpp
MicrosoftCompatibility-cxx98.cpp [MSVC Compat] Make -Wmicrosoft-cast not an error by default 2015-11-18 21:42:38 +00:00
MicrosoftCompatibility.cpp [MS Compat] Allow _Atomic(Type) and 'struct _Atomic' to coexist 2015-07-22 23:46:18 +00:00
MicrosoftCompatibilityNoExceptions.cpp
MicrosoftExtensions.cpp [MSVC Compat] Permit conversions from pointer-to-function to pointer-to-object iff -fms-compatibility 2015-10-31 08:42:14 +00:00
MicrosoftSuper.cpp For variables with dependent type, don't crash on `var->::new` or `var->__super` 2015-02-16 22:32:46 +00:00
PR5086-ambig-resolution-enum.cpp
PR6562.cpp
PR6618.cpp
PR7410.cpp
PR7944.cpp
PR8012.cpp
PR8385.cpp
PR8755.cpp
PR8884.cpp
PR9459.cpp
PR9460.cpp
PR9461.cpp Port r163224 to C++. 2015-02-18 05:19:40 +00:00
PR9572.cpp
PR9884.cpp
PR9902.cpp
PR9908.cpp
PR10177.cpp Not all instantiated variable is odr-used. Do not mark non-odr-used variable template specializations as such. 2014-07-30 00:49:55 +00:00
PR10243.cpp
PR10447.cpp
PR10458.cpp
PR11358.cpp
PR12481.cpp
PR12778.cpp
PR16677.cpp Do not crash if class is defined in wrong scope. 2015-12-28 19:40:14 +00:00
PR19955.cpp Sema: Allow dllimport entities in template args for mingw 2014-06-26 07:48:46 +00:00
PR20110.cpp Prevent Clang from crashing on template code. 2014-07-02 04:39:38 +00:00
PR20334-std_initializer_list_diagnosis_assertion.cpp Fix PR20334: invalid assertion while diagnosing list initialization failure 2015-12-07 02:37:44 +00:00
PR20705.cpp Fix PR20705, crash on invalid. 2014-08-22 01:16:44 +00:00
PR21679.cpp Add the test that was supposed to be included with r223162. 2015-01-20 20:15:29 +00:00
PR23334.cpp PR23334: Perform semantic checking of lambda capture initialization in the right context. 2015-04-27 21:27:54 +00:00
__null.cpp
__try.cpp Fix Sema tests using __try by adding triple 2015-04-28 22:58:25 +00:00
abstract.cpp [Sema] Implement several unary type traits more accurately 2015-11-16 06:58:51 +00:00
access-base-class.cpp
access-control-check.cpp
access-member-pointer.cpp
access.cpp
accessible-base.cpp PR6037 2015-01-19 01:44:02 +00:00
addr-of-overloaded-function-casting.cpp
addr-of-overloaded-function.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
address-of-temporary.cpp
address-of.cpp
address-space-conversion.cpp
address-space-initialize.cpp
address-space-newdelete.cpp
address-space-references.cpp
aggregate-initialization.cpp
alias-template.cpp [AST] Perform additional canonicalization for DependentSizedArrayType 2015-07-24 05:54:19 +00:00
align_value.cpp Initial support for the align_value attribute 2014-10-02 21:21:25 +00:00
alignment-of-derived-class.cpp
alignof-sizeof-reference.cpp
alignof.cpp [Sema] Don't permit dependent alignments on non-dependent typedef-names 2015-04-07 02:37:09 +00:00
altivec.cpp
ambig-user-defined-conversions.cpp
ambiguous-builtin-unary-operator.cpp
ambiguous-conversion-show-overload.cpp
anonymous-struct.cpp
anonymous-union-cxx11.cpp Allow static_assert inside an anonymous union; fixes PR20021 as well as implements C++ Issue 1940. 2014-06-24 16:22:41 +00:00
anonymous-union.cpp Fix half of PR26048. We don't yet diagnose the case where the anonymous union member is declared first and the tag name is declared second. 2016-01-06 21:54:29 +00:00
array-bound-merge.cpp [Sema] Emit a better diagnostic when variable redeclarations disagree 2015-07-14 20:08:49 +00:00
array-bounds-ptr-arith.cpp
array-bounds-system-header.cpp
array-bounds.cpp
arrow-operator.cpp Wire up LookupMemberExpr to use the new TypoExpr. 2014-10-27 18:07:46 +00:00
ast-print.cpp Update a few more tests in response to the MS ABI enum semantics 2015-10-08 08:28:09 +00:00
atomic-type.cpp Reverted OpenCL2.0 atomic type commits r231932, r231935 2015-03-11 17:26:37 +00:00
attr-after-definition.cpp
attr-aligned.cpp
attr-cleanup-gcc.cpp
attr-cleanup.cpp
attr-common.cpp
attr-cxx0x-fixit.cpp Fix several accidental DOS line endings in source files 2016-01-03 15:55:40 +00:00
attr-cxx0x.cpp
attr-declspec-ignored.cpp
attr-deprecated.cpp Add test to verify we emit warning when the deprecated virtual function is overloaded. 2015-07-23 02:54:59 +00:00
attr-disable-tail-calls.cpp Add support for function attribute 'disable_tail_calls'. 2015-11-13 00:42:21 +00:00
attr-flag-enum-reject.cpp Create a new 'flag_enum' attribute. 2014-11-28 00:53:20 +00:00
attr-flatten.cpp Implement the flatten attribute. 2014-05-20 17:12:51 +00:00
attr-format.cpp
attr-gnu.cpp Revert r218925 - "Patch to warn if 'override' is missing" 2014-10-03 09:02:53 +00:00
attr-no-sanitize-address.cpp Fix several accidental DOS line endings in source files 2016-01-03 15:55:40 +00:00
attr-no-sanitize-memory.cpp Fix several accidental DOS line endings in source files 2016-01-03 15:55:40 +00:00
attr-no-sanitize-thread.cpp Fix several accidental DOS line endings in source files 2016-01-03 15:55:40 +00:00
attr-no-sanitize.cpp clang/test/SemaCXX/attr-no-sanitize.cpp: Don't mix stdout and stderr for FileCheck. 2015-05-16 00:09:39 +00:00
attr-no-split-stack.cpp Implement the no_split_stack attribute. 2014-05-19 22:14:34 +00:00
attr-nodebug.cpp The nodebug attribute has a C++11-style spelling supported by GCC as well. This modifies it so we support that spelling as well. 2014-10-21 15:46:57 +00:00
attr-nonnull.cpp Fix representation of __attribute__((nonnull)) to support correctly modeling 2014-08-27 04:59:42 +00:00
attr-noreturn.cpp Update -Winvalid-noreturn to handle destructors better. 2015-05-28 00:14:02 +00:00
attr-notail.cpp Add support for function attribute 'not_tail_called'. 2015-11-06 23:56:15 +00:00
attr-optnone.cpp When attribute 'optnone' appears on the same declaration with a 2015-01-13 18:34:56 +00:00
attr-print.cpp [Sema] Handle leading and trailing __ for GNU attributes 2015-08-25 16:44:38 +00:00
attr-regparm.cpp
attr-selectany.cpp Follow-up to r235046: selectany only causes a definition if it's not inherited. 2015-04-17 09:50:28 +00:00
attr-sentinel.cpp
attr-unavailable.cpp
attr-unused.cpp
attr-used.cpp
attr-visibility.cpp
attr-weak.cpp
attr-weakref.cpp
attr-x86-interrupt.cpp [X86] Support 'interrupt' attribute for x86 2016-01-15 04:06:31 +00:00
attributed-auto-deduction.cpp Sema: handle additional case of qualified types 2014-10-16 22:42:53 +00:00
auto-cxx0x.cpp Add support for GCC's '__auto_type' extension, per the GCC manual: 2015-11-11 02:02:15 +00:00
auto-cxx98.cpp
auto-pragma.cpp
auto-subst-failure.cpp
auto-type-from-cxx.cpp Additional tests from r252690 that I forgot to 'svn add'. 2015-11-12 21:42:39 +00:00
bitfield-layout.cpp C11 _Bool bitfield diagnostic 2015-09-14 21:27:36 +00:00
bitfield.cpp Fix handling of preincrement on bit-fields. This gives a bit-field in C++, but 2014-09-24 23:55:00 +00:00
block-call.cpp
blocks-1.cpp
blocks.cpp Fix an assertion when ending a function definition. 2014-11-18 00:19:01 +00:00
bool-compare.cpp
bool.cpp
borland-extensions.cpp
builtin-assume-aligned-tmpl.cpp Support the assume_aligned function attribute 2014-09-26 05:04:30 +00:00
builtin-assume-aligned.cpp constexpr evaluation for __builtin_assume_aligned 2014-10-03 17:18:37 +00:00
builtin-exception-spec.cpp
builtin-ptrtomember-ambig.cpp
builtin-ptrtomember-overload-1.cpp
builtin-ptrtomember-overload.cpp
builtin_objc_msgSend.cpp
builtins-arm.cpp Fix typo from r237482. "to reference of type" --> "to reference to type" 2015-05-16 01:39:39 +00:00
builtins-va_arg.cpp
builtins.cpp
c99-variable-length-array-cxx11.cpp
c99-variable-length-array.cpp
c99.cpp
call-with-static-chain.cpp Implement the __builtin_call_with_static_chain GNU extension. 2014-12-12 23:41:25 +00:00
calling-conv-compat.cpp [MS Compat] Adjust thiscall to cdecl when deducing template arguments 2015-11-30 20:34:28 +00:00
captured-statements.cpp Improve the error message for assigning to read-only variables. 2015-04-11 01:53:13 +00:00
cast-conversion.cpp
cast-explicit-ctor.cpp
cast-lvalue-to-rvalue-reference.cpp [Sema] If lvalue to rvalue reference cast is valid don't emit diagnostic. 2015-07-12 22:10:56 +00:00
cdtor-fn-try-block.cpp Fix several accidental DOS line endings in source files 2016-01-03 15:55:40 +00:00
class-base-member-init.cpp
class-layout.cpp PR6037 2015-01-19 01:44:02 +00:00
class-names.cpp
class.cpp If a function decl cannot be merged, mark it as invalid. 2015-01-17 02:33:17 +00:00
comma.cpp
compare.cpp
complex-folding.cpp [complex] Teach the other two binary operators on complex numbers (== 2014-10-11 11:03:30 +00:00
complex-init-list.cpp
complex-overload.cpp
composite-pointer-type.cpp
compound-literal.cpp
condition.cpp Unify diagnostics for type defintitions in bad contexts 2015-12-11 21:39:12 +00:00
conditional-expr.cpp
const-cast.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
constant-expression-cxx1y.cpp Replace bitwise AND with logical AND in an expression that already had another logical AND. NFC 2015-12-08 06:49:15 +00:00
constant-expression-cxx11.cpp PR17381: Treat undefined behavior during expression evaluation as an unmodeled 2015-12-03 01:36:22 +00:00
constant-expression.cpp Don't assert if evaluation of an expression that we're syntactically required 2015-12-04 03:00:44 +00:00
constexpr-ackermann.cpp
constexpr-backtrace-limit.cpp
constexpr-depth.cpp
constexpr-duffs-device.cpp
constexpr-factorial.cpp
constexpr-many-arguments.cpp
constexpr-nqueens.cpp
constexpr-printing.cpp PR17381: Treat undefined behavior during expression evaluation as an unmodeled 2015-12-03 01:36:22 +00:00
constexpr-steps.cpp
constexpr-strlen.cpp
constexpr-turing.cpp
constexpr-value-init.cpp Move fixit for const init from note to diag, weaken to warning in MS mode. 2015-04-17 08:32:38 +00:00
constructor-initializer.cpp [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +00:00
constructor-recovery.cpp
constructor.cpp When we see something that looks like a constructor with a return type, only issue one error, not two. 2015-07-06 01:04:39 +00:00
conversion-delete-expr.cpp
conversion-function.cpp Update a few more tests in response to the MS ABI enum semantics 2015-10-08 08:28:09 +00:00
conversion-incomplete-type.cpp
conversion.cpp Fix -Wnull-conversion for long macros. 2016-01-26 02:51:55 +00:00
convert-to-bool.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
converting-constructor.cpp [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +00:00
copy-assignment.cpp
copy-constructor-error.cpp
copy-initialization.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
coroutines.cpp [coroutines] Build a CoroutineBodyStmt when finishing parsing a coroutine, and form the initial_suspend, final_suspend, and get_return_object calls. 2015-11-24 02:34:39 +00:00
crash-lambda-12645424.cpp
crashes.cpp [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +00:00
cstyle-cast.cpp
cv-unqual-rvalues.cpp
cxx-altivec.cpp
cxx-deprecated.cpp [c++1z] Support [[deprecated]] attributes on namespaces. Note that it only applies to situations where the namespace is mentioned. Thus, use on anonymous namespaces is diagnosed. 2014-11-14 22:34:56 +00:00
cxx-member-pointer-op.cpp
cxx0x-class.cpp
cxx0x-compat.cpp [c++1z] N4295: fold-expressions. 2014-11-08 05:07:16 +00:00
cxx0x-constexpr-const.cpp Improve the error message for assigning to read-only variables. 2015-04-11 01:53:13 +00:00
cxx0x-cursory-default-delete.cpp Move fixit for const init from note to diag, weaken to warning in MS mode. 2015-04-17 08:32:38 +00:00
cxx0x-defaulted-functions.cpp Sema: Recover when a function template is in an extern "C" block 2015-01-15 07:04:38 +00:00
cxx0x-delegating-ctors.cpp
cxx0x-deleted-default-ctor.cpp
cxx0x-initializer-aggregates.cpp [Sema] Don't create an invalid source range for overlong initializer lists. 2015-09-23 16:03:53 +00:00
cxx0x-initializer-constructor.cpp Improve the "braces around scalar init" warning to determine whether to warn 2015-02-12 01:50:05 +00:00
cxx0x-initializer-references.cpp [Sema] Do not permit binding a reference to a compound literal 2015-04-26 07:35:03 +00:00
cxx0x-initializer-scalars.cpp Improve the "braces around scalar init" warning to determine whether to warn 2015-02-12 01:50:05 +00:00
cxx0x-initializer-stdinitializerlist.cpp Fix crash on invalid initialization with std::initializer_list 2015-12-09 23:18:38 +00:00
cxx0x-noexcept-expression.cpp Fix several accidental DOS line endings in source files 2016-01-03 15:55:40 +00:00
cxx0x-nontrivial-union.cpp
cxx0x-return-init-list.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
cxx0x-type-convert-construct.cpp
cxx1y-constexpr-not-const.cpp If a function decl cannot be merged, mark it as invalid. 2015-01-17 02:33:17 +00:00
cxx1y-contextual-conversion-tweaks.cpp
cxx1y-deduced-return-type.cpp If a function decl cannot be merged, mark it as invalid. 2015-01-17 02:33:17 +00:00
cxx1y-generic-lambdas-capturing.cpp Fix 'this' capturing Generic lambdas used within default initializers (PR19876) 2014-05-30 04:39:37 +00:00
cxx1y-generic-lambdas-variadics.cpp Fix PR18498: Support explicit template arguments with variadic generic lambdas 2014-06-01 16:11:54 +00:00
cxx1y-generic-lambdas.cpp Update a few more tests in response to the MS ABI enum semantics 2015-10-08 08:28:09 +00:00
cxx1y-init-captures.cpp N3922: direct-list-initialization of an auto-typed variable no longer deduces a 2015-11-11 01:36:17 +00:00
cxx1y-initializer-aggregates.cpp
cxx1y-sized-deallocation.cpp Relax the requirement on sized deallocation a bit: Default on unsized delete if sized delete is not provided in global scope, and -fdefine-sized-deallocation option is disabled. 2015-02-22 06:36:53 +00:00
cxx1y-user-defined-literals.cpp
cxx1y-variable-templates_in_class.cpp If a variable template is inside a context with template arguments that is being instantiated, and that instantiation fails, fail our instantiation instead of crashing. Errors have already been emitted. 2015-08-10 21:54:08 +00:00
cxx1y-variable-templates_top_level.cpp [modules] Rationalize the behavior of Decl::declarationReplaces, and in 2015-11-03 03:13:11 +00:00
cxx11-ast-print.cpp When pretty-printing a C++11 literal operator, don't insert whitespace between 2015-10-08 00:17:59 +00:00
cxx11-attr-print.cpp
cxx11-call-to-deleted-constructor.cpp [SemaCXX patch] Patch to fix a crash when a 'delete' constructor 2015-04-14 17:21:58 +00:00
cxx11-crashes.cpp Fix a crash when the size of an 'auto' is needed and its initalizer 2015-03-17 23:50:12 +00:00
cxx11-gnu-attrs.cpp Fix assertion on C++ attributes in fillAttributedTypeLoc 2015-05-29 11:24:32 +00:00
cxx11-inheriting-ctors.cpp Make typo-correction of inheriting constructors work a bit better. Limit 2014-05-01 00:35:04 +00:00
cxx11-thread-local-print.cpp
cxx11-thread-local.cpp [Sema] Emit a better diagnostic when variable redeclarations disagree 2015-07-14 20:08:49 +00:00
cxx11-thread-unsupported.cpp Fix missing diagnostic for unsupported TLS for some thread_local variables. 2014-11-21 06:52:52 +00:00
cxx11-unused.cpp -Wunused-parameter: Don't fire on defaulted or deleted functions 2014-04-30 16:31:28 +00:00
cxx11-user-defined-literals-unused.cpp
cxx11-user-defined-literals.cpp When pretty-printing a C++11 literal operator, don't insert whitespace between 2015-10-08 00:17:59 +00:00
cxx98-compat-flags.cpp Change -Wbind-to-temporary-copy from an ExtWarn to an Extension. 2014-09-18 02:09:53 +00:00
cxx98-compat-pedantic.cpp Change -Wbind-to-temporary-copy from an ExtWarn to an Extension. 2014-09-18 02:09:53 +00:00
cxx98-compat.cpp Add support for GCC's '__auto_type' extension, per the GCC manual: 2015-11-11 02:02:15 +00:00
dcl_ambig_res.cpp
dcl_init_aggr.cpp PR11410: Extend diagnostic to cover all cases of aggregate initialization, not 2014-06-03 07:28:54 +00:00
decl-expr-ambiguity.cpp [Lit Test] Updated 20 Lit tests to be C++11 compatible. 2015-12-10 01:07:17 +00:00
decl-init-ref.cpp Add increment/decrement operators and compound assignment operators to the 2014-09-25 01:15:40 +00:00
decl-microsoft-call-conv.cpp PR24595: Ignore calling convention modifiers for structors in MS ABI. 2015-09-14 21:29:57 +00:00
declspec-thread.cpp Fix buildbots 2015-05-14 05:24:59 +00:00
decltype-98.cpp
decltype-crash.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
decltype-overloaded-functions.cpp
decltype-pr4444.cpp
decltype-pr4448.cpp
decltype-this.cpp
decltype.cpp Implementing C99 partial re-initialization behavior (DR-253) 2015-06-10 00:27:52 +00:00
default-argument-temporaries.cpp
default-assignment-operator.cpp [Sema] Be consistent about diagnostic wording: always use "cannot". 2015-08-15 15:23:14 +00:00
default-constructor-initializers.cpp
default1.cpp [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +00:00
default2.cpp Ensure typos in the default values of template parameters get diagnosed. 2014-12-02 23:32:20 +00:00
defaulted-ctor-loop.cpp
defaulted-private-dtor.cpp
delete-mismatch.h Detect uses of mismatching forms of 'new' and 'delete' 2015-05-18 19:59:11 +00:00
delete.cpp MismatchingNewDeleteDetector uses incorrect field, and finds no initializer 2015-10-26 19:20:24 +00:00
deleted-function-access.cpp [Sema] Diagnose use of declaration correctly. 2015-07-22 00:30:58 +00:00
deleted-function.cpp PR22673 again: diagnose use of the used decl, not the found decl. This is also 2015-02-24 21:44:43 +00:00
deleted-operator.cpp
dependent-auto.cpp
dependent-noexcept-unevaluated.cpp PR21437, final part of DR1330: delay-parsing of exception-specifications. This 2014-11-13 20:01:57 +00:00
dependent-types.cpp
deprecated.cpp P0002R1: increment on expressions of type bool is no longer allowed in C++1z. 2015-11-26 02:16:37 +00:00
derived-to-base-ambig.cpp PR6037 2015-01-19 01:44:02 +00:00
destructor.cpp Make -Wdelete-non-virtual-dtor warn on explicit `a->~A()` dtor calls too. 2016-01-15 21:45:31 +00:00
devirtualize-vtable-marking.cpp Don't let virtual calls and dynamic casts call Sema::MarkVTableUsed(). 2015-01-26 06:23:36 +00:00
direct-initializer.cpp [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +00:00
discrim-union.cpp
dllexport-pr22591.cpp __declspec is not a core Clang language extension. Instead, require -fms-extensions or -fborland to enable the language extension. 2015-05-26 19:44:52 +00:00
dllexport.cpp [MSVC Compat] Diagnose multiple default ctors for dllexport'd classes 2015-12-31 05:36:46 +00:00
dllimport.cpp MS ABI: Don't allow dllexport/import on lambdas 2015-09-15 21:05:30 +00:00
do-while-scope.cpp
dr1301.cpp
dynamic-cast.cpp
elaborated-type-specifier.cpp When we generate a redeclaration for an 2014-05-14 18:31:48 +00:00
empty-class-layout.cpp PR6037 2015-01-19 01:44:02 +00:00
enable_if.cpp Add tests for `&enable_if_function` diagnostics. 2015-12-03 20:54:58 +00:00
enum-bitfield.cpp A conversion from a scoped enumeration bitfield to an integral type is an 2015-03-28 00:31:40 +00:00
enum-increment.cpp
enum-scoped.cpp Look through sugar when determining whether a type is a scoped enumeration 2015-01-14 00:33:10 +00:00
enum-unscoped-nonexistent.cpp
enum.cpp Explicitly permit undefined behavior in constant initializers for global 2015-12-08 03:21:47 +00:00
err_init_conversion_failed.cpp clang/test/SemaCXX/err_init_conversion_failed.cpp: Tweak for i686-msvc. 2014-05-20 15:44:42 +00:00
err_reference_bind_drops_quals.cpp When emitting a dropped qualifier error, show which qualifiers are dropped. 2015-05-16 01:27:03 +00:00
err_typecheck_assign_const.cpp [Sema] Don't assume CallExpr::getDirectCallee will succeed 2015-08-26 05:13:19 +00:00
err_typecheck_assign_const_filecheck.cpp Improve the error message for assigning to read-only variables. 2015-04-11 01:53:13 +00:00
exception-spec-no-exceptions.cpp
exception-spec.cpp Promote a warning on ill-formed code (redeclaration missing an exception 2015-09-30 00:48:50 +00:00
exceptions-seh.cpp Re-land r228258 and make clang-cl's /EHs- disable -fexceptions again 2015-02-05 18:56:03 +00:00
exceptions.cpp Generate a diagnostic when a catch handler cannot execute due to class hierarchy inversion with regards to other catch handlers for the same block. 2015-04-08 00:05:29 +00:00
explicit.cpp Implement the remaining portion of DR1467 from r227022. I may have overlooked a few things, but this implementation comes straight from the DR resolution itself. 2015-01-27 18:47:05 +00:00
expression-traits.cpp
expressions.cpp [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +00:00
extern-c.cpp [Sema] Emit a better diagnostic when variable redeclarations disagree 2015-07-14 20:08:49 +00:00
flexible-array-test.cpp Sema: Inherit the flexible array property from struct fields 2014-09-24 11:04:09 +00:00
fntype-decl.cpp
for-range-dereference.cpp
for-range-examples.cpp Minor tweaks to r229447 to ensure the attribute is properly quoted when diagnosed. 2015-02-16 23:12:37 +00:00
for-range-no-std.cpp
for-range-unused.cpp
format-strings-0x-nopedantic.cpp Move one more diagnostic into the new -Wformat-pedantic group. 2015-03-04 14:18:20 +00:00
format-strings-0x.cpp Add a format warning for "%p" with non-void* args 2015-03-04 03:12:10 +00:00
format-strings.cpp Extend format specifier checking to include field function pointers in addition to variable function pointers. Addresses PR21082. 2015-04-23 16:14:19 +00:00
friend-class-nodecl.cpp
friend-out-of-line.cpp
friend.cpp Regression test for RP6954. 2015-02-16 18:27:41 +00:00
funcdname.cpp
function-extern-c.cpp
function-overload-typo-crash.cpp
function-overloaded-redecl.cpp
function-pointer-arguments.cpp
function-redecl.cpp
function-type-qual.cpp Improve the error message for assigning to read-only variables. 2015-04-11 01:53:13 +00:00
functional-cast.cpp [Sema] Don't assume that an initializer list has an initializer 2015-04-10 04:52:06 +00:00
generalized-deprecated.cpp __declspec is not a core Clang language extension. Instead, require -fms-extensions or -fborland to enable the language extension. 2015-05-26 19:44:52 +00:00
generic-selection.cpp
gnu-case-ranges.cpp
gnu-flags.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
goto.cpp Reword switch/goto diagnostics "protected scope" diagnostics. Making up a term 2014-09-06 00:24:58 +00:00
goto2.cpp
i-c-e-cxx.cpp
illegal-member-initialization.cpp
implicit-exception-spec.cpp Handle use of default member initializers before end of outermost class 2014-11-17 23:36:45 +00:00
implicit-int.cpp
implicit-member-functions.cpp
implicit-virtual-member-functions.cpp
incomplete-call.cpp Do not parse members of incomplete class. 2015-06-10 19:06:59 +00:00
increment-decrement.cpp When emitting a dropped qualifier error, show which qualifiers are dropped. 2015-05-16 01:27:03 +00:00
indirect-goto.cpp
inherit.cpp
init-priority-attr.cpp Add the `pass_object_size` attribute to clang. 2015-12-02 21:58:08 +00:00
inline.cpp
instantiate-blocks.cpp
integer-overflow.cpp Catch more cases when diagnosing integer-constant-expression overflows. 2015-02-04 21:50:20 +00:00
internal_linkage.cpp Implement __attribute__((internal_linkage)). 2015-11-10 21:28:44 +00:00
invalid-instantiated-field-decl.cpp
invalid-member-expr.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
invalid-template-specifier.cpp
issue547.cpp Reject varargs '...' in function prototype if there are more parameters after 2014-08-11 23:30:23 +00:00
lambda-expressions.cpp Classes inside lambdas are local not nested. 2015-07-14 10:02:10 +00:00
libstdcxx_atomic_ns_hack.cpp
libstdcxx_common_type_hack.cpp
libstdcxx_explicit_init_list_hack.cpp [Sema] Don't crash when diagnosing hack in libstdc++ 2015-08-21 06:44:10 +00:00
libstdcxx_is_pod_hack.cpp SemaCXX: Don't crash when annotation tokens show up before the tag name 2014-12-29 02:14:26 +00:00
libstdcxx_map_base_hack.cpp
libstdcxx_pair_swap_hack.cpp PR21565: Further refine the conditions for enabling eager parsing of 2014-11-20 22:32:11 +00:00
libstdcxx_pointer_return_false_hack.cpp
linkage-invalid-decl.cpp Fix infinite recursion for invalid declaration, by Dmitry Polukhin 2016-01-12 09:01:25 +00:00
linkage-spec.cpp
linkage.cpp Update Clang tests to handle explicitly typed load changes in LLVM. 2015-02-27 21:19:58 +00:00
linkage2.cpp
literal-operators.cpp When pretty-printing a C++11 literal operator, don't insert whitespace between 2015-10-08 00:17:59 +00:00
literal-type.cpp
local-classes.cpp
long-virtual-inheritance-chain.cpp
lookup-member.cpp PR24030, PR24033: Consistently check whether a new declaration conflicts with 2015-07-06 04:43:58 +00:00
make_integer_seq.cpp [Lex] Add __has_builtin support for __make_integer_seq 2015-11-05 01:01:47 +00:00
many-template-parameter-lists.cpp [Sema] Add a crazy test case for r243987 2015-08-04 15:18:16 +00:00
member-class-11.cpp
member-expr-anonymous-union.cpp
member-expr-static.cpp
member-expr.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
member-init.cpp Sema: Dependent array designators cannot be checked 2015-01-09 01:39:09 +00:00
member-location.cpp
member-name-lookup.cpp
member-operator-expr.cpp
member-pointer-ms.cpp [MS ABI] Fix the preferred alignment of member pointers 2015-04-24 01:25:05 +00:00
member-pointer-size.cpp
member-pointer.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
member-pointers-2.cpp
microsoft-cxx0x.cpp Tweak diagnostic wording for init list narrowing 2014-05-17 01:13:18 +00:00
microsoft-dtor-lookup-cxx11.cpp
microsoft-dtor-lookup.cpp Don't let virtual calls and dynamic casts call Sema::MarkVTableUsed(). 2015-01-26 06:23:36 +00:00
microsoft-new-delete.cpp Improve the "braces around scalar init" warning to determine whether to warn 2015-02-12 01:50:05 +00:00
microsoft-super.cpp Fix access control for lookups using the Microsoft __super extension. 2015-09-09 23:04:17 +00:00
microsoft-varargs-diagnostics.cpp Sema: correct handling for __va_start for WoA 2014-07-22 02:01:04 +00:00
microsoft-varargs.cpp Sema: correct handling for __va_start for WoA 2014-07-22 02:01:04 +00:00
missing-header.cpp
missing-members.cpp
missing-namespace-qualifier-typo-corrections.cpp
ms-exception-spec.cpp
ms-friend-lookup.cpp MSVC compat: Allow lookup of friend types in enclosing namespaces 2014-07-10 23:44:52 +00:00
ms-inline-asm.cpp [ms-inline-asm] Add field access to MS inline asm identifier lookup 2015-08-26 21:57:20 +00:00
ms-interface.cpp [Sema] Implement several unary type traits more accurately 2015-11-16 06:58:51 +00:00
ms-novtable.cpp Ignore the "novtable" declspec when not using the Microsoft C++ ABI. 2015-07-20 22:57:31 +00:00
ms-overload-entry-point.cpp
ms-property-error.cpp [MSVC] Fix for http://llvm.org/PR25636: indexed accessor property not supported correctly. 2015-12-10 04:38:18 +00:00
ms-property.cpp [MSVC] Fix for http://llvm.org/PR25636: indexed accessor property not supported correctly. 2015-12-10 04:38:18 +00:00
ms-unsupported.cpp Ignore the "novtable" declspec when not using the Microsoft C++ ABI. 2015-07-20 22:57:31 +00:00
ms-wchar.cpp
ms_integer_suffix.cpp [MS Extensions] Remove support for the i128 integer literal suffix 2015-07-26 09:02:26 +00:00
ms_mutable_reference_member.cpp [MSVC2012] Allow 'mutable' references 2015-02-04 04:45:32 +00:00
ms_struct.cpp Rename -Wmsvc-include to -Wmicrosoft-include, now that -Wmicrosoft is split up. 2015-07-28 16:48:12 +00:00
ms_wide_bitfield.cpp Remove warning on over-wide bit-field of boolean type; there's no risk that 2015-09-23 22:07:44 +00:00
namespace-alias.cpp When a namespace alias redeclares a using declaration, point the diagnostic at 2015-12-29 23:42:34 +00:00
namespace.cpp [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +00:00
neon-vector-types.cpp
nested-name-spec-locations.cpp
nested-name-spec.cpp Handle unscoped enumeration in nested name specifier. 2015-01-18 20:04:35 +00:00
new-array-size-conv.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
new-delete-0x.cpp
new-delete-cxx0x.cpp PR11410: Extend diagnostic to cover all cases of aggregate initialization, not 2014-06-03 07:28:54 +00:00
new-delete-predefined-decl-2.cpp
new-delete-predefined-decl.cpp
new-delete.cpp For variables with dependent type, don't crash on `var->::new` or `var->__super` 2015-02-16 22:32:46 +00:00
new-null.cpp
no-exceptions.cpp
no-implicit-builtin-decls.cpp
no-rtti.cpp
no-warn-composite-pointer-type.cpp
no-warn-unused-const-variables.cpp
no-wchar.cpp
non-empty-class-size-zero.cpp
nonnull.cpp Fix representation of __attribute__((nonnull)) to support correctly modeling 2014-08-27 04:59:42 +00:00
ns_returns_retained_block_return.cpp More tests for // rdar://17259812 2014-06-12 16:55:43 +00:00
null_in_arithmetic_ops.cpp
nullability-declspec.cpp Replace __double_underscored type nullability qualifiers with _Uppercase_underscored 2015-06-24 22:02:08 +00:00
nullability.cpp [Sema] Make nullness warnings appear in C++. 2015-12-14 22:00:49 +00:00
nullptr-98.cpp
nullptr.cpp Improvements to -Wnull-conversion 2014-10-15 03:42:06 +00:00
nullptr_in_arithmetic_ops.cpp
offsetof-0x.cpp
offsetof.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
old-style-cast.cpp
openmp_default_simd_align.cpp [OPENMP] Introduced type trait "__builtin_omp_required_simd_align" for default simd alignment. 2015-07-02 03:40:19 +00:00
operator-arrow-depth.cpp
operator-arrow-temporary.cpp
out-of-line-def-mismatch.cpp
overload-0x.cpp
overload-call-copycon.cpp [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +00:00
overload-call.cpp [Lit Test] Updated 20 Lit tests to be C++11 compatible. 2015-12-10 01:07:17 +00:00
overload-decl.cpp If a function decl cannot be merged, mark it as invalid. 2015-01-17 02:33:17 +00:00
overload-member-call.cpp
overload-value-dep-arg.cpp
overloaded-builtin-operators-0x.cpp
overloaded-builtin-operators.cpp [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +00:00
overloaded-name.cpp
overloaded-operator-decl.cpp
overloaded-operator.cpp Don't perform ADL when looking up operator=; there is no non-member form of 2014-09-23 20:31:39 +00:00
override-in-system-header.cpp Further restrict issuance of 'override' warning if method 2014-11-03 19:46:18 +00:00
parentheses.cpp
pascal-strings.cpp
pass-object-size.cpp [Sema] Teach overload resolution about unaddressable functions. 2016-01-07 02:26:57 +00:00
pr9812.cpp
pr13353.cpp
pr13394-crash-on-invalid.cpp
pr18284-crash-on-invalid.cpp
pragma-init_seg.cpp [Lit Test] Updated 20 Lit tests to be C++11 compatible. 2015-12-10 01:07:17 +00:00
pragma-optimize.cpp Instead of having -Os/-Oz add OptimizeForSize/MinSize first, and later 2014-12-11 20:14:04 +00:00
pragma-pack.cpp
pragma-unused.cpp
pragma-visibility.cpp
pragma-vtordisp.cpp [MS] Fix for bug 25013 - #pragma vtordisp is unknown inside functions, by Denis Zobnin. 2015-11-20 07:02:57 +00:00
pragma-weak.cpp
predefined-expr.cpp Fix compatibility issues in tests for PredefinedExpr with MSVC. 2014-10-09 11:58:26 +00:00
prefetch-enum.cpp
primary-base.cpp
printf-block.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
printf-cstr.cpp
pseudo-destructors.cpp Unify warnings/errors from "maybe you meant" to "did you mean". 2015-04-02 22:10:06 +00:00
ptrtomember-overload-resolution.cpp
ptrtomember.cpp
qual-id-test.cpp
qualification-conversion.cpp
qualified-id-lookup.cpp
qualified-member-enum.cpp
qualified-names-diag.cpp
redeclared-alias-template.cpp
redeclared-auto.cpp
redefine_extname.cpp Disable #pragma redefine_extname for C++ code as it does not make sense in such a context. 2015-07-16 17:06:53 +00:00
ref-init-ambiguous.cpp
references.cpp Fix typo from r237482. "to reference of type" --> "to reference to type" 2015-05-16 01:39:39 +00:00
reinterpret-cast.cpp PR20073: promote "dereference of 'void*'" from Extension to ExtWarn. 2015-05-19 01:41:12 +00:00
reinterpret-fn-obj-pedantic.cpp
return-noreturn.cpp Pretty print support for template arg enum constants 2014-12-13 04:31:07 +00:00
return-stack-addr.cpp
return.cpp Remove an assert that's not true on invalid code. 2015-01-04 20:32:12 +00:00
runtimediag-ppe.cpp Adding a -Wunused-value warning for expressions with side effects used in an unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case. 2014-12-17 21:57:17 +00:00
rval-references-examples.cpp
rval-references.cpp Clarify the error message when the reason the conversion is not viable is because the returned value does not match the function return type. 2015-08-25 22:18:46 +00:00
scope-check.cpp Fix Sema tests using __try by adding triple 2015-04-28 22:58:25 +00:00
self-comparison.cpp
shift.cpp
short-enums.cpp
short-wchar-sign.cpp
sourceranges.cpp clang/test/SemaCXX/sourceranges.cpp: Fix silly expressions. Sorry for the breakage. 2015-09-04 11:49:36 +00:00
statements.cpp AST: Remove overzealous assertion from IsModifiable 2015-01-04 00:44:32 +00:00
static-array-member.cpp
static-assert.cpp Move a test from static-assert.cpp to DeclPrinterTest 2015-06-05 22:40:53 +00:00
static-cast-complete-type.cpp
static-cast.cpp PR 17456 2015-01-28 21:31:26 +00:00
static-data-member.cpp
static-initializers.cpp
storage-class.cpp
string-init.cpp
string-plus-char.cpp
string-plus-int.cpp Sema: Don't diagnose string + int if the int is value dependent 2014-12-15 10:00:35 +00:00
struct-class-redecl.cpp DR1909: Diagnose all invalid cases of a class member sharing its name with the class. 2015-07-06 01:45:27 +00:00
switch-0x.cpp
switch-implicit-fallthrough-blocks.cpp Added a test to ensure -Wimplicit-fallthrough works with -fblocks correctly. 2014-06-25 08:09:35 +00:00
switch-implicit-fallthrough-cxx98.cpp
switch-implicit-fallthrough-macro.cpp
switch-implicit-fallthrough-per-method.cpp
switch-implicit-fallthrough.cpp Revert r234786, it contained a bunch of stuff I did not mean to commit. 2015-04-13 20:03:03 +00:00
switch.cpp
tag-ambig.cpp
template-implicit-vars.cpp Extend AST dump to include 'used' and 'referenced' flags, and put 'invalid' flag in the right place. 2014-06-13 02:24:47 +00:00
templated-friend-decl.cpp
this.cpp
thread-safety-reference-handling.cpp Take the non-reference type when constructing a dummy expression. 2015-03-16 21:49:43 +00:00
trailing-return-0x.cpp C++1y is now C++14! 2014-08-19 15:55:55 +00:00
trivial-constructor.cpp
trivial-destructor.cpp
type-convert-construct.cpp [Sema] Reject value-initialization of function types 2015-09-14 07:05:00 +00:00
type-definition-in-specifier.cpp Fix treatment of types defined in function prototype 2014-06-25 17:09:41 +00:00
type-dependent-exprs.cpp
type-formatting.cpp
type-traits-incomplete.cpp
type-traits.cpp [Sema] Implement several unary type traits more accurately 2015-11-16 06:58:51 +00:00
typedef-redecl.cpp
typeid-ref.cpp
typeid.cpp Sema: Don't permit variably modified types in typeid 2014-11-21 21:09:12 +00:00
types_compatible_p.cpp Continue parsing an expression list even after an error is encountered. 2014-07-14 22:48:10 +00:00
typo-correction-blocks.c Sema: correct typo recovery with blocks 2015-10-31 00:39:15 +00:00
typo-correction-cxx11.cpp Fix a typo correction crash when resolving ambiguous corrections. 2015-06-25 23:47:39 +00:00
typo-correction-delayed.cpp [Lit Test] Updated 20 Lit tests to be C++11 compatible. 2015-12-10 01:07:17 +00:00
typo-correction.cpp Teach typo correction to properly handle mapping declarations to their 2015-12-29 19:43:10 +00:00
unary-real-imag.cpp
undefined-inline.cpp Don't warn about undefined inline functions if they're dllexport/import 2014-05-22 20:45:53 +00:00
undefined-internal.cpp [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
underlying_type.cpp Update a few more tests in response to the MS ABI enum semantics 2015-10-08 08:28:09 +00:00
uninit-variables-conditional.cpp
uninit-variables.cpp PR19996: don't crash if -Wuninitialized sees a c++1y lambda init-capture. 2014-06-11 00:31:00 +00:00
uninitialized.cpp PR23334: Perform semantic checking of lambda capture initialization in the right context. 2015-04-27 21:27:54 +00:00
unknown-anytype-blocks.cpp
unknown-anytype.cpp
unknown-type-name.cpp [Lit Test] Updated 20 Lit tests to be C++11 compatible. 2015-12-10 01:07:17 +00:00
unreachable-catch-clauses.cpp Generate a diagnostic when a catch handler cannot execute due to class hierarchy inversion with regards to other catch handlers for the same block. 2015-04-08 00:05:29 +00:00
unreachable-code.cpp
unused-functions.cpp
unused-with-error.cpp
unused.cpp
user-defined-conversions.cpp
using-decl-1.cpp Model NamespaceAliasDecls as having their nominated namespace as an underlying 2015-12-29 23:34:32 +00:00
using-decl-pr4441.cpp
using-decl-pr4450.cpp
using-decl-templates.cpp
using-directive.cpp
value-dependent-exprs.cpp
value-initialization.cpp
vararg-class.cpp
vararg-default-arg.cpp
vararg-non-pod.cpp Adding a -Wunused-value warning for expressions with side effects used in an unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case. 2014-12-17 21:57:17 +00:00
vector-casts.cpp [Sema] Be consistent about diagnostic wording: always use "cannot". 2015-08-15 15:23:14 +00:00
vector-no-lax.cpp [Sema] Be consistent about diagnostic wording: always use "cannot". 2015-08-15 15:23:14 +00:00
vector.cpp [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +00:00
virtual-base-used.cpp
virtual-function-in-union.cpp [Sema] Unions cannot have virtual functions. 2015-06-27 19:18:55 +00:00
virtual-member-functions-key-function.cpp
virtual-override-x64.cpp
virtual-override-x86.cpp
virtual-override.cpp [Sema] Incomplete types are OK for covariant returns 2016-01-26 01:37:01 +00:00
virtuals.cpp Rework parsing of pure-specifiers. Perform the grammar matching and 2015-06-30 01:28:56 +00:00
visibility.cpp
vla.cpp [Sema] Diagnose references to unbound arrays in function definitions 2015-04-09 19:53:25 +00:00
vtable-instantiation.cpp Rename test.cc files to test.cpp. 2014-12-22 18:13:07 +00:00
vtordisp-mode.cpp
warn-absolute-value-header.cpp Consolidate header inclusion diagnostics 2014-07-11 20:53:51 +00:00
warn-absolute-value.cpp
warn-address.cpp
warn-assignment-condition.cpp
warn-bad-memaccess.cpp -Wdynamic-class-memaccess: Also warn about array types. 2015-03-21 17:56:44 +00:00
warn-bool-conversion.cpp Extend tautological pointer compare and pointer to bool conversion warnings to 2014-08-08 22:41:43 +00:00
warn-c++11-extensions.cpp
warn-cast-align.cpp
warn-char-subscripts.cpp
warn-consumed-analysis.cpp Fix for PR20402 in -Wconsumed. 2015-04-15 22:32:44 +00:00
warn-consumed-parsing.cpp Attributes accepting an EnumArgument are allowed to pass a string literal, or an identifier. VariadicEnumArguments now behave consistently instead of only accepting a string literal. 2014-12-19 16:42:04 +00:00
warn-dangling-field.cpp
warn-deprecated-header.cpp
warn-div-or-rem-by-zero.cpp
warn-empty-body.cpp -Wempty-body: fix false negative triggered by macros 2015-03-15 01:08:23 +00:00
warn-enum-compare.cpp
warn-everthing.cpp
warn-exit-time-destructors.cpp
warn-float-conversion.cpp Change -Wfloating-point-conversion to -Wfloat-conversion. 2014-04-23 21:53:59 +00:00
warn-func-not-needed.cpp
warn-global-constructors.cpp Add a missing Invalid check to SubobjectDesignator::isOnePastEnd() 2014-07-23 23:24:25 +00:00
warn-implicit-conversion-floating-point-to-bool.cpp
warn-infinite-recursion.cpp
warn-large-by-value-copy.cpp
warn-literal-conversion.cpp When performing an implicit from float to bool, the floating point value must be *exactly* zero in order for the conversion to result in 0. This does not involve a conversion through an integer value, and so truncation of the value is not performed. 2015-12-30 14:26:07 +00:00
warn-logical-not-compare.cpp Make a test less brittle. 2015-08-17 22:18:30 +00:00
warn-loop-analysis.cpp
warn-member-not-needed.cpp
warn-memset-bad-sizeof.cpp -Wdynamic-class-memaccess: Also warn about array types. 2015-03-21 17:56:44 +00:00
warn-memsize-comparison.cpp
warn-missing-noreturn.cpp
warn-missing-prototypes.cpp Sema: Don't emit a missing prototype warning for deleted functions. 2015-03-12 14:28:47 +00:00
warn-missing-variable-declarations.cpp
warn-new-overaligned-2.cpp
warn-new-overaligned-3.cpp
warn-new-overaligned.cpp
warn-overloaded-virtual.cpp Updating a comment related to the implementation of -Woverloaded-virtual, and adding a FIXME to a test case. (Drive-by removal of trailing whitespace in the test case as well.) 2014-07-30 23:50:53 +00:00
warn-pessmizing-move.cpp Fix -Wredundant-move warning. 2015-07-29 23:47:19 +00:00
warn-pure-virtual-call-from-ctor-dtor.cpp [Sema] Don't emit "pure virtual" warning for fully qualified calls. 2015-07-14 23:36:10 +00:00
warn-pure-virtual-kext.cpp [Sema] Don't emit "pure virtual" warning for fully qualified calls. 2015-07-14 23:36:10 +00:00
warn-range-loop-analysis.cpp Add new warning -Wrange-loop-analysis to warn on copies during loops. 2015-04-13 22:08:55 +00:00
warn-redundant-move.cpp Fix -Wredundant-move warning. 2015-07-29 23:47:19 +00:00
warn-reinterpret-base-class.cpp PR6037 2015-01-19 01:44:02 +00:00
warn-reorder-ctor-initialization.cpp
warn-self-assign.cpp PR12214 - Warn on suspicious self-compound-assignments. 2014-05-30 00:15:04 +00:00
warn-self-comparisons.cpp
warn-self-move.cpp Extend the self move warning to record types. 2015-01-13 02:32:02 +00:00
warn-shadow.cpp
warn-sign-conversion.cpp Update a few more tests in response to the MS ABI enum semantics 2015-10-08 08:28:09 +00:00
warn-static-const-float.cpp
warn-static-function-inheader.cpp
warn-static-function-inheader.h
warn-string-conversion.cpp
warn-sysheader-macro.cpp
warn-tautological-compare.cpp Extend tautological pointer compare and pointer to bool conversion warnings to 2014-08-08 22:41:43 +00:00
warn-tautological-undefined-compare.cpp Extend tautological pointer compare and pointer to bool conversion warnings to 2014-08-08 22:41:43 +00:00
warn-thread-safety-analysis.cpp Fix nullptr crash in -Wthread-safety-beta 2015-11-05 00:24:01 +00:00
warn-thread-safety-negative.cpp When cloning LocalInstantiationScope's, don't update the current scope in Sema. 2015-03-18 21:52:47 +00:00
warn-thread-safety-parsing.cpp None of these attributes require FunctionTemplate to be explicitly listed as part of their subject definition. FunctionTemplateDecls are not what the attribute appertains to in the first place -- it attaches to the underlying FunctionDecl. 2014-05-20 14:10:53 +00:00
warn-thread-safety-verbose.cpp Thread safety analysis: add -Wthread-safety-verbose flag, which adds additional notes that are helpful when compiling statistics on thread safety warnings. 2014-08-14 21:40:15 +00:00
warn-undefined-bool-conversion.cpp Extend tautological pointer compare and pointer to bool conversion warnings to 2014-08-08 22:41:43 +00:00
warn-unreachable.cpp
warn-unsequenced.cpp
warn-unused-attribute.cpp
warn-unused-comparison.cpp No longer emit diagnostics about unused results (comparisons, etc) from unevaluated contexts. Fixes PR18571. 2014-10-16 20:13:28 +00:00
warn-unused-filescoped.cpp Add -Wunused-local-typedef, a warning that finds unused local typedefs. 2014-09-06 01:25:55 +00:00
warn-unused-label-error.cpp
warn-unused-local-typedef-serialize.cpp [Hexagon] Use integrated assembler by default 2015-12-09 16:34:24 +00:00
warn-unused-local-typedef-x86asm.cpp Move x86-specific bits of warn-unused-local-typedef.cpp into their own file. 2014-09-06 18:16:37 +00:00
warn-unused-local-typedef.cpp Mark TypeDecls used in explicit destructor calls as referenced. 2014-11-12 04:33:52 +00:00
warn-unused-parameters.cpp
warn-unused-private-field-delayed-template.cpp clang-cl: Don't warn for unused private fields when encountering a late parsed template member 2014-10-11 00:24:15 +00:00
warn-unused-private-field.cpp
warn-unused-result.cpp Properly implement warn_unused_result checking for classes/structs. 2015-04-09 19:43:04 +00:00
warn-unused-value-cxx11.cpp Adding a -Wunused-value warning for expressions with side effects used in an unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case. 2014-12-17 21:57:17 +00:00
warn-unused-value.cpp Volatile reads are side-effecting operations, but in the general case of access through a volatile-qualified type, we're not certain of the underlying object's side-effects on access. 2015-01-03 17:00:12 +00:00
warn-unused-variables-error.cpp
warn-unused-variables.cpp PR19558: don't produce an "unused variable" warning for a variable template partial specialization. 2014-04-25 19:21:40 +00:00
warn-using-namespace-in-header.cpp
warn-variable-not-needed.cpp
warn-vla.cpp
warn-weak-vtables.cpp Don't let virtual calls and dynamic casts call Sema::MarkVTableUsed(). 2015-01-26 06:23:36 +00:00
wchar_t.cpp
windows-arm-valist.cpp test: move test from CodeGen to Sema 2014-06-30 02:14:37 +00:00
writable-strings-deprecated.cpp [Lit Test] Updated 20 Lit tests to be C++11 compatible. 2015-12-10 01:07:17 +00:00
zero-length-arrays.cpp