diff options
author | Chris Lattner <sabre@nondot.org> | 2010-07-07 06:14:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-07-07 06:14:23 +0000 |
commit | 8b5dec3002bd3e17061a8bf1fc35ba82912ec768 (patch) | |
tree | 8cf91f9f1d87ea40a35b7761f0f4018e8ffa0e32 /lib/CodeGen/CGCXX.cpp | |
parent | 0f2b692bb10be35fdc60d0a72a847bdd73124670 (diff) |
implement PR7569, warning about assignment to null, which
people seem to write when they want a deterministic trap.
Suggest instead that they use a volatile pointer or
__builtin_trap.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107756 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCXX.cpp')
0 files changed, 0 insertions, 0 deletions