Refactoring:
authorAnton Yartsev <anton.yartsev@gmail.com>
Wed, 13 Mar 2013 14:39:10 +0000 (14:39 +0000)
committerAnton Yartsev <anton.yartsev@gmail.com>
Wed, 13 Mar 2013 14:39:10 +0000 (14:39 +0000)
commit59ed15b0525c314648d5adbaef47fbf93b61f0f4
tree79f7e4702e0ce6362e1b6230f4873cdbb19ff70b
parent3605f319ddc64f67deed76fa2689703109167e69
Refactoring:
+ Individual Report* method for each bug type
+ Comment improved: missing non-trivial alloca() case annotated
+ 'range' parameter of ReportBadFree() capitalized
+ 'SymbolRef Sym = State->getSVal(A, C.getLocationContext()).getAsSymbol();' shorten to 'SymbolRef Sym = C.getSVal(A).getAsSymbol();'

llvm-svn: 176949
clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp