]> granicus.if.org Git - clang/commit
A conversion operator in a base class shouldn't hide another conversion operator
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 6 May 2012 00:04:32 +0000 (00:04 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 6 May 2012 00:04:32 +0000 (00:04 +0000)
commitf108c63ccc576fe6a3ca08399dbcec574b089ea8
treedb3a3b60d2983c976505fdd1865204598b4efcdb
parent86b32fd702d794bb655c59a1238bf7422869f506
A conversion operator in a base class shouldn't hide another conversion operator
in the same class, even if they convert to the same type. Fixes PR12712.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156247 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/DeclCXX.cpp
test/SemaCXX/conversion-function.cpp