[PATCH] D18073: Add memory allocating functions
Alexander Riccio via cfe-commits
cfe-commits at lists.llvm.org
Sun May 1 21:48:05 PDT 2016
ariccio updated this revision to Diff 55774.
ariccio added a comment.
Only check for MSVC-specific functions when actually building FOR MSVC (i.e. `isWindowsMSVCEnvironment`).
Sidenote: is there any reason why none of the `ASTContext&`s are `const`ified in this file?
http://reviews.llvm.org/D18073
Files:
llvm/tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
llvm/tools/clang/test/Analysis/alternative-malloc-api.c
llvm/tools/clang/test/Analysis/malloc.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18073.55774.patch
Type: text/x-patch
Size: 19040 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160502/b68faf7d/attachment-0001.bin>
More information about the cfe-commits
mailing list