]> granicus.if.org Git - clang/commit
Pull VLA size checker into its own files.
authorZhongxing Xu <xuzhongxing@gmail.com>
Tue, 3 Nov 2009 12:13:38 +0000 (12:13 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Tue, 3 Nov 2009 12:13:38 +0000 (12:13 +0000)
commit5206f0b913d1a11744c9436c83b24f8daa21152c
tree18e9b48570d6cf34a39e77222b1817de4d0e9586
parent8112c61789ed077892f4abae55065ab3ce2ae977
Pull VLA size checker into its own files.
Split it to two checkers, one for undefined size,
the other for zero size, so that we don't need to query the size
when emitting the bug report.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85895 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/PathSensitive/Checker.h
include/clang/Analysis/PathSensitive/Checkers/UndefSizedVLAChecker.h [new file with mode: 0644]
include/clang/Analysis/PathSensitive/Checkers/ZeroSizedVLAChecker.h [new file with mode: 0644]
lib/Analysis/GRExprEngine.cpp
lib/Analysis/GRExprEngineInternalChecks.cpp
lib/Analysis/UndefSizedVLAChecker.cpp [new file with mode: 0644]
lib/Analysis/ZeroSizedVLAChecker.cpp [new file with mode: 0644]
test/Analysis/misc-ps.m