]> granicus.if.org Git - clang/commit
Don't allow the same function to enter the overload candidate set
authorDouglas Gregor <dgregor@apple.com>
Mon, 28 Sep 2009 04:47:19 +0000 (04:47 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 28 Sep 2009 04:47:19 +0000 (04:47 +0000)
commit3f396029a502fdec8c12d02d8c405d6097d8b417
treeabe89843f9207ff7e908675d6a62367922ce7636
parent6a6840326e9b4ac8e81a5a212165f33743847ab8
Don't allow the same function to enter the overload candidate set
multiple times. This requires to be more careful about re-adding
candidates cached from the function template definition.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82967 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp
lib/Sema/SemaOverload.h