aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2019-12-27 12:17:01 -0800
committerDavid Blaikie <dblaikie@gmail.com>2019-12-27 12:27:20 -0800
commitd8018233d1ea4234de68d5b4593abd773db79484 (patch)
tree875fe6e8d822c1e8ffea309bbffebe4661315712 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentc3d3569d4ca6d8ca85fa0755b3d5bd659d81e758 (diff)
downloadllvm-d8018233d1ea4234de68d5b4593abd773db79484.zip
llvm-d8018233d1ea4234de68d5b4593abd773db79484.tar.gz
llvm-d8018233d1ea4234de68d5b4593abd773db79484.tar.bz2
Revert "CWG2352: Allow qualification conversions during reference binding."
This reverts commit de21704ba96fa80d3e9402f12c6505917a3885f4. Regressed/causes this to error due to ambiguity: void f(const int * const &); void f(int *); int main() { int * x; f(x); } (in case it's important - the original case where this turned up was a member function overload in a class template with, essentially: f(const T1&) f(T2*) (where T1 == X const *, T2 == X)) It's not super clear to me if this ^ is expected behavior, in which case I'm sorry about the revert & happy to look into ways to fix the original code.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions