]> granicus.if.org Git - clang/commit
implement PR6004, warning about divide and remainder by zero.
authorChris Lattner <sabre@nondot.org>
Tue, 12 Jan 2010 21:23:57 +0000 (21:23 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 12 Jan 2010 21:23:57 +0000 (21:23 +0000)
commit7ef655a78863c0a7550bfe51174b9c340ab1dce0
treed9ba230db7ea273cc55d71d0560fd0e140afef94
parenta1e1dc77e995b746826b64752751dbf35f323767
implement PR6004, warning about divide and remainder by zero.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93256 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/Sema.h
lib/Sema/SemaExpr.cpp
test/Analysis/misc-ps.m
test/Sema/exprs.c
test/Sema/i-c-e.c
test/SemaTemplate/instantiate-expr-1.cpp
test/SemaTemplate/instantiate-static-var.cpp