]> granicus.if.org Git - clang/commit
PR14995: Allow a dependent type as the second parameter of operator++ and
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 30 Jan 2014 22:24:05 +0000 (22:24 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 30 Jan 2014 22:24:05 +0000 (22:24 +0000)
commit38a24084d06d939965ffc598fe1be1e8a4e63c81
tree43e5cde258e0ef6b4ce259796715d2e3e757f457
parente3732a5c428d5fb757a3ae6282d1cb4573f47c82
PR14995: Allow a dependent type as the second parameter of operator++ and
operator--, since it might instantiate as 'int' (or, if it's a pack, it
might instantiate as an empty pack).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200496 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/SemaCXX/overloaded-operator.cpp