]> granicus.if.org Git - clang/commit
Fix for PR16570: when comparing two function pointers, discard qualifiers when
authorRichard Trieu <rtrieu@google.com>
Tue, 6 Aug 2013 03:44:10 +0000 (03:44 +0000)
committerRichard Trieu <rtrieu@google.com>
Tue, 6 Aug 2013 03:44:10 +0000 (03:44 +0000)
commit1a81e74903cf4f24bf0c4921fc86727e66994e5a
treeb10b0a6fca19d8d24d11c59d8d4c048d5e4eab89
parent06935f32645c8965e398bbd141f9800eacdfd439
Fix for PR16570: when comparing two function pointers, discard qualifiers when
comparing non-reference function parameters.  The qualifiers don't matter for
comparisons.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187769 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp
test/SemaCXX/function-pointer-arguments.cpp [new file with mode: 0644]