[PATCH] D58060: Fix diagnostic for addr spaces in static_cast
Anastasia Stulova via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 13 11:03:06 PST 2019
Anastasia updated this revision to Diff 186699.
Anastasia added a comment.
Herald added a subscriber: javed.absar.
- Changed the diagnostic for binding reference and combined with existing similar one. That affected more tests however.
- Changed comment explaining address space behavior in the reference initialization.
- Reformatted.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58060.186699.patch
Type: text/x-patch
Size: 16655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190213/396e176b/attachment.bin>
More information about the cfe-commits
mailing list