[PATCH] D58060: Fix diagnostic for addr spaces in reference binding
Anastasia Stulova via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 5 05:07:47 PST 2019
Anastasia updated this revision to Diff 189306.
Anastasia retitled this revision from "Fix diagnostic for addr spaces in static_cast" to "Fix diagnostic for addr spaces in reference binding".
Anastasia edited the summary of this revision.
Anastasia added a comment.
- Fixed incorrect diagnostic in address space mismatch case when binding reference to a temporary value of a constant with incompatible type. Added missing test case.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58060/new/
https://reviews.llvm.org/D58060
Files:
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaInit.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-0x.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-var.cpp
test/CXX/expr/expr.post/expr.static.cast/p3-p4-0x.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p16.cpp
test/Misc/diag-template-diffing.cpp
test/SemaCXX/builtins-arm.cpp
test/SemaCXX/err_reference_bind_drops_quals.cpp
test/SemaCXX/references.cpp
test/SemaOpenCLCXX/address-space-castoperators.cpp
test/SemaOpenCLCXX/address-space-references.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58060.189306.patch
Type: text/x-patch
Size: 18029 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190305/7989f41d/attachment-0001.bin>
More information about the cfe-commits
mailing list