]> granicus.if.org Git - clang/commit
Change an assert into a check. I'm pretty sure there was a point
authorJohn McCall <rjmccall@apple.com>
Wed, 10 Aug 2011 04:12:23 +0000 (04:12 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 10 Aug 2011 04:12:23 +0000 (04:12 +0000)
commita19950edd94c1b80e73c9f45d821b125bd0ee72f
treef83d1f0b3455212c3673400eddeb8940ed59c10b
parente7d002041dc60521f237b4219fd4167d1fe67aa7
Change an assert into a check.  I'm pretty sure there was a point
in time when this assert was valid, but it's not valid now.
Also teach this code to correctly introduce function-to-pointer
decay.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137201 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/SemaCXX/unknown-anytype.cpp