]> granicus.if.org Git - clang/commit
Implement the "note" in C++ [over.built]p1, which is actually meant to
authorDouglas Gregor <dgregor@apple.com>
Sun, 12 Sep 2010 04:28:07 +0000 (04:28 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sun, 12 Sep 2010 04:28:07 +0000 (04:28 +0000)
commit661b4939ae3f84380dc3e670a06e963b4b9d3b6e
tree637cea5a669deb49d031b9e8ef010d9298e81bc3
parent5dde1605da5e6db8a9214f4a5d094ae0bbc64a4e
Implement the "note" in C++ [over.built]p1, which is actually meant to
be a semantic requirement that a built-in overloaded operator is not
added to the overload set of there is already a user-defined
overloaded operator with the same parameter types. Fixes PR8087.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113713 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp
test/CXX/over/over.built/p1.cpp [new file with mode: 0644]