llvm-project/clang/test/SemaObjCXX
Anastasia Stulova fa755d3e71 [Sema][C++] Propagate conversion kind to specialize the diagnostics
Compute and propagate conversion kind to diagnostics helper in C++
to provide more specific diagnostics about incorrect implicit
conversions in assignments, initializations, params, etc...

Duplicated some diagnostics as errors because C++ is more strict.

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74116
2020-02-25 16:05:37 +00:00
..
Inputs
NSString-type.mm
abstract-class-type-ivar.mm
arc-0x.mm [Sema][ObjC] Allow declaring ObjC pointer members with non-trivial 2019-02-02 02:23:40 +00:00
arc-bool-conversion.mm
arc-bridged-cast.mm
arc-libstdcxx.mm
arc-memfunc.mm
arc-nsconsumed-errors.mm
arc-objc-lifetime.mm
arc-overloading.mm CWG2352: Allow qualification conversions during reference binding. 2020-01-09 18:24:06 -08:00
arc-ppe.mm
arc-ptr-comparison.mm Add a FIXME and corresponding test coverage for some suspicious behavior 2020-01-10 16:12:00 -08:00
arc-system-header.mm
arc-templates.mm
arc-type-conversion.mm [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
arc-type-traits.mm
arc-unavailable-for-weakref.mm
arc-unbridged-cast.mm
argument-dependent-lookup.mm
attr-trivial-abi.mm
base-type-as-written.mm
block-cleanup.mm
block-for-lambda-conversion.mm
block-variable-move.mm
blocks.mm Distinguish `__block` variables that are captured by escaping blocks 2018-10-01 21:51:28 +00:00
boxing-illegal-types.mm
capturing-flexible-array-in-block.mm If capturing a variable fails, add a capture anyway (and mark it 2019-05-28 23:09:44 +00:00
category-lookup.mm
class-method-self.mm [ObjC] Diagnose implicit type coercion from ObjC 'Class' to object 2019-10-17 15:27:04 +00:00
class-templ-error-null-init.mm
composite-objc-pointertype.mm Clean up and slightly generalize implementation of composite pointer 2020-01-10 16:12:00 -08:00
comptypes-1.mm [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
comptypes-7.mm [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
conditional-expr.mm
const-cast.mm
contextual-convert-to-id.mm
conversion-ranking.mm
conversion-to-objc-pointer-2.mm
conversion-to-objc-pointer.mm
crash.mm
cstyle-block-pointer-cast.mm
cstyle-cast.mm
cxx1y-lambda.mm
cxxoperator-selector.mm
debugger-cast-result-to-id.mm
debugger-support.mm
decltype.mm
deduction.mm
delay-parsing-cfunctions.mm
delay-parsing-cplusfuncs.mm
delay-parsing-func-tryblock.mm
dllexport.mm
dllimport.mm
exceptions-fragile.mm
exceptions.mm
expr-objcxx.mm
flexible-array.mm
foreach-block.mm
foreach.mm
format-strings.mm
fragile-abi-object-assign.m
function-pointer-void-star.mm
gc-attributes.mm Recommit r359859 "[Attribute/Diagnostics] Print macro if definition is an attribute declaration" 2019-05-07 03:20:17 +00:00
goto.mm
instancetype.mm [ObjC] Diagnose implicit type coercion from ObjC 'Class' to object 2019-10-17 15:27:04 +00:00
instantiate-expr.mm [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
instantiate-message.mm
instantiate-method-return.mm
instantiate-property-access.mm
instantiate-stmt.mm [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
interface-return-type.mm
is-base-of.mm
ivar-construct.mm
ivar-lookup.mm
ivar-reference-type.mm
ivar-struct.mm
linkage-spec.mm
lit.local.cfg
literals.mm [ObjC] Emit a boxed expression as a compile-time constant if the 2019-03-08 04:45:37 +00:00
message.mm [c++20] Implement semantic restrictions for C++20 designated 2019-08-30 22:52:55 +00:00
microsoft-abi-byval.mm
missing-lhs-gun-extension.mm
namespace-lookup.mm
no-crash-thread-safety-analysis.mm Thread Safety: also look at ObjC methods 2019-03-25 20:06:32 +00:00
noescape.mm [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
null_objc_pointer.mm
nullability-completeness-cferror.mm
nullability-consistency-arrays.mm
nullability-consistency.mm
nullability-pragmas.mm [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
nullptr.mm
objc-boxed-expressions-nsvalue.mm
objc-container-subscripting.mm [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
objc-decls-inside-namespace.mm
objc-extern-c.mm
objc-pointer-conv.mm
objc-weak-type-traits.mm
objc-weak.mm [Sema][ObjC] Allow declaring ObjC pointer members with non-trivial 2019-02-02 02:23:40 +00:00
objc2-merge-gc-attribue-decl.mm
objcbridge-attribute-arc.mm
objcbridge-attribute.mm
objcbridge-related-attribute.mm
objcbridge-static-cast.mm
old-style-cast.mm
overload-gc.mm
overload.mm [Sema] Deduplicate some availability checking logic 2019-03-20 19:26:33 +00:00
parameterized_classes.mm
parameterized_classes_arc.mm
parameterized_classes_subst.mm [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
parameters.mm
pointer-to-objc-pointer-conv.mm
pr32725.mm
propert-dot-error.mm
properties.mm
property-invalid-type.mm [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
property-reference.mm
property-synthesis-error.mm
property-type-mismatch.mm
protocol-lookup.mm
pseudo-destructor.mm
references.mm
reinterpret-cast-objc-pointertype.mm
related-result-type-inference.mm
reserved-keyword-methods.mm
sel-address.mm
standard-conversion-to-bool.mm
static-cast.mm
synchronized.mm
thread-safety-analysis.h Thread Safety: also look at ObjC methods 2019-03-25 20:06:32 +00:00
typeloc-data-alignment.mm
typo-correction.mm
unknown-anytype.mm
vararg-non-pod.mm expected-no-diagnostics@ does not make sense, switching to a more idiomatic form; NFC. 2019-03-07 15:03:06 +00:00
vla.mm
void_to_obj.mm
warn-implicit-self-in-block.mm [Sema][ObjC] Don't warn about an implicitly retained self if the 2019-04-17 23:14:44 +00:00
warn-missing-super.mm
warn-objc-literal-conversion.mm
warn-strict-selector-match.mm
warn-thread-safety-analysis.mm Thread Safety: also look at ObjC methods 2019-03-25 20:06:32 +00:00