diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-07-14 02:28:44 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-07-14 02:28:44 +0000 |
commit | 19172c4f70face3b717d5f5ba7104aa9e72b30af (patch) | |
tree | 766bce5fcf44d5eb94f0a72f720b1bafa4bd4fe3 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 67d8b2e2b0174783b3d6ba4737978c190a4c0414 (diff) | |
download | llvm-19172c4f70face3b717d5f5ba7104aa9e72b30af.zip llvm-19172c4f70face3b717d5f5ba7104aa9e72b30af.tar.gz llvm-19172c4f70face3b717d5f5ba7104aa9e72b30af.tar.bz2 |
Superficial fix for PR20218: binding a function lvalue to a const reference to
a function pointer is neither better nor worse than binding a function lvalue
to a function rvalue reference. Don't get confused and think that both bindings
are binding to a function lvalue (which would make the lvalue form win); the
const reference is binding to an rvalue.
The "real" bug in PR20218 is still present: we're getting the wrong answer from
template argument deduction, and that's what leads us to this weird overload
set.
llvm-svn: 212916
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions