]> granicus.if.org Git - clang/commit
Add an Extension warning for applying unary * to an operand of type 'void*' in
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 7 May 2014 21:53:27 +0000 (21:53 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 7 May 2014 21:53:27 +0000 (21:53 +0000)
commit359a15d245c470904bc39940f45933330bb314b5
treeb7c05c1238db29c17931ade12e26b56728881ac1
parentf3e4763c6e533a1e34ea1440b11f85385bd0e2ec
Add an Extension warning for applying unary * to an operand of type 'void*' in
C++. This seems like a pointless (and indeed harmful) restriction to me, so
I've suggested removing it to -core and disabled this diagnostic by default.

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