diff options
| author | Ted Kremenek <kremenek@apple.com> | 2013-05-29 21:50:46 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2013-05-29 21:50:46 +0000 |
| commit | 2628b44e100da28972a14854f98d0aa6f7b888e0 (patch) | |
| tree | 57e1bb990b528ede9a1bfe2bac7ab6b592bc2a44 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 1e8cf74f9031c524ac49c5b7167484e8fc24c9b1 (diff) | |
| download | clang-2628b44e100da28972a14854f98d0aa6f7b888e0.tar.gz clang-2628b44e100da28972a14854f98d0aa6f7b888e0.tar.bz2 clang-2628b44e100da28972a14854f98d0aa6f7b888e0.tar.xz | |
Split off casts to void* for -Wint-to-pointer-cast to subgroup -Wint-to-void-pointer-cast.
This change is motivated from user feedback that some APIs use
void* as an opaque "context" object that may not really be a pointer.
Such users want an ability to turn off the warning for casts
to void* while preserving the warning for other cases.
Implements <rdar://problem/14016721>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182884 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
