]> granicus.if.org Git - clang/commit
Diagnose use of data pointer member in a function call
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 28 Oct 2009 16:49:46 +0000 (16:49 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 28 Oct 2009 16:49:46 +0000 (16:49 +0000)
commit5de245058d411b166dc32622f39298716450fa1c
treed223c444a590e0e66fc5932b1e2ff740c6944526
parent457e2815d43fa68f7ff7cd2f7e9d1bf7b6fdc653
Diagnose use of data pointer member in a function call
expression instead of crashing.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85401 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/SemaCXX/ptrtomember-badcall.cpp [new file with mode: 0644]