[PATCH] D18073: Add memory allocating functions

Alexander Riccio via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 27 18:05:46 PDT 2016


ariccio updated this revision to Diff 55366.
ariccio added a comment.

Conditionally check Windows methods on Windows.

Is this what you're thinking of? It's kinda ugly - I was hoping to avoid the `#if`s - but it does only check the Windows functions on Windows builds only.


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.55366.patch
Type: text/x-patch
Size: 20551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160428/b92f7e47/attachment-0001.bin>


More information about the cfe-commits mailing list