summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/cxx2a-pointer-to-const-ref-member.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix PR34668 - P0704R1 implementation is too permissiveNicolas Lesser2018-07-131-0/+3
| | | | | | | | | | | | | | | | | | | Summary: https://bugs.llvm.org/show_bug.cgi?id=34668 Pretty straightforward. Reviewers: rsmith, Rakete1111 Reviewed By: Rakete1111 Subscribers: Rakete1111, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D38075 llvm-svn: 337017
* [Sema] Improve diagnostics for const- and ref-qualified member functionsJacob Bandes-Storch2017-12-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | (Re-submission of D39937 with fixed tests.) 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: aaron.ballman Reviewed By: aaron.ballman Subscribers: lebedev.ri, cfe-commits Differential Revision: https://reviews.llvm.org/D41646 llvm-svn: 321609
* Fix MSVC bots which include '__attribute__((thiscall))' in pretty-printed ↵Richard Smith2017-08-251-1/+1
| | | | | | | | member function types. We really shouldn't be including inferred calling conventions here, but let's get the bots green first... llvm-svn: 311746
* [c++2a] P0704R1: Allow pointers to const& member functions to be called on ↵Richard Smith2017-08-251-0/+14
rvalues. Patch by Blitz Rakete! llvm-svn: 311744
OpenPOWER on IntegriCloud