summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp
diff options
context:
space:
mode:
authorJacob Bandes-Storch <jacob@bandes-stor.ch>2017-12-31 04:49:39 +0000
committerJacob Bandes-Storch <jacob@bandes-stor.ch>2017-12-31 04:49:39 +0000
commitc7e67a04e0f33f4e79b23829fd26ba142cf69b00 (patch)
tree13056e463bc83957ff00c5282776e81c35dbb3bf /llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp
parent232951dfb21442e6da8ecbf115808314bd2d2404 (diff)
downloadbcm5719-llvm-c7e67a04e0f33f4e79b23829fd26ba142cf69b00.tar.gz
bcm5719-llvm-c7e67a04e0f33f4e79b23829fd26ba142cf69b00.zip
[Sema] Improve diagnostics for const- and ref-qualified member functions
Summary: Adjust wording for const-qualification mismatch to be a little more clear. Also add another diagnostic for a ref qualifier mismatch, which previously produced a useless error (this error path is simply very old; see rL119336): Before: error: cannot initialize object parameter of type 'X0' with an expression of type 'X0' After: error: 'this' argument to member function 'rvalue' is an lvalue, but function has rvalue ref-qualifier Reviewers: rsmith, aaron.ballman Reviewed By: aaron.ballman Subscribers: lebedev.ri, aaron.ballman, cfe-commits Differential Revision: https://reviews.llvm.org/D39937 llvm-svn: 321592
Diffstat (limited to 'llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud