[all-commits] [llvm/llvm-project] fa755d: [Sema][C++] Propagate conversion kind to specializ...
Anastasia Stulova via All-commits
all-commits at lists.llvm.org
Tue Feb 25 08:06:06 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fa755d3e71ed590ac5c62f0e1eff09435c9593fe
https://github.com/llvm/llvm-project/commit/fa755d3e71ed590ac5c62f0e1eff09435c9593fe
Author: Anastasia Stulova <anastasia.stulova at arm.com>
Date: 2020-02-25 (Tue, 25 Feb 2020)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaExprCXX.cpp
M clang/test/CXX/conv/conv.fctptr/p1.cpp
M clang/test/CXX/drs/dr3xx.cpp
M clang/test/CXX/except/except.handle/p16.cpp
M clang/test/CXX/expr/p13.cpp
M clang/test/CXX/temp/temp.spec/temp.expl.spec/p19.cpp
M clang/test/CXX/temp/temp.spec/temp.explicit/p10.cpp
M clang/test/CXX/temp/temp.spec/temp.explicit/p9.cpp
M clang/test/OpenMP/allocate_allocator_messages.cpp
M clang/test/Sema/block-call.c
M clang/test/Sema/block-return.c
M clang/test/Sema/callingconv-ms_abi.c
M clang/test/Sema/callingconv-sysv_abi.c
M clang/test/Sema/callingconv.c
M clang/test/Sema/overloadable.c
M clang/test/Sema/pass-object-size.c
M clang/test/Sema/preserve-call-conv.c
M clang/test/SemaCXX/addr-of-overloaded-function.cpp
M clang/test/SemaCXX/decl-microsoft-call-conv.cpp
M clang/test/SemaCXX/goto.cpp
M clang/test/SemaCXX/int-ptr-cast-SFINAE.cpp
M clang/test/SemaCXX/ms-property-error.cpp
M clang/test/SemaObjC/arc.m
M clang/test/SemaObjC/comptypes-legal.m
M clang/test/SemaObjCXX/arc-type-conversion.mm
M clang/test/SemaObjCXX/comptypes-1.mm
M clang/test/SemaObjCXX/comptypes-7.mm
M clang/test/SemaObjCXX/instantiate-expr.mm
M clang/test/SemaObjCXX/instantiate-stmt.mm
M clang/test/SemaObjCXX/noescape.mm
M clang/test/SemaObjCXX/nullability-pragmas.mm
M clang/test/SemaObjCXX/objc-container-subscripting.mm
M clang/test/SemaObjCXX/parameterized_classes_subst.mm
M clang/test/SemaObjCXX/property-invalid-type.mm
M clang/test/SemaOpenCL/address-spaces-conversions-cl2.0.cl
M clang/test/SemaOpenCL/address-spaces.cl
M clang/test/SemaTemplate/extern-templates.cpp
M clang/test/SemaTemplate/instantiate-member-class.cpp
M clang/test/SemaTemplate/member-access-expr.cpp
M clang/test/SemaTemplate/temp_arg_nontype.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list