]> granicus.if.org Git - clang/commit
implement PR7569, warning about assignment to null, which
authorChris Lattner <sabre@nondot.org>
Wed, 7 Jul 2010 06:14:23 +0000 (06:14 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 7 Jul 2010 06:14:23 +0000 (06:14 +0000)
commit8b5dec3002bd3e17061a8bf1fc35ba82912ec768
tree8cf91f9f1d87ea40a35b7761f0f4018e8ffa0e32
parent0f2b692bb10be35fdc60d0a72a847bdd73124670
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
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/Analysis/misc-ps.m
test/Sema/exprs.c