repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
docs
/
analyzer
/
checkers
/
dividezero_example.c
blob
00ffaac491e50ef62b31100c0127291405815aac
1
void
test
(
int
z
) {
2
if
(
z
==
0
)
3
int
x
=
1
/
z
;
// warn
4
}
5
6
void
test
() {
7
int
x
=
1
;
8
int
y
=
x
%
0
;
// warn
9
}