[PATCH] D15324: [Sema] Emit warnings when comparing result of a function with `returns_nonnull` to null

George Burgess IV via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 8 11:34:53 PST 2015


george.burgess.iv updated this revision to Diff 42204.
george.burgess.iv marked 4 inline comments as done.
george.burgess.iv added a comment.

- Addressed all feedback
- Refactored a loop to make its intent more clear


http://reviews.llvm.org/D15324

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Sema/ScopeInfo.h
  lib/Sema/SemaChecking.cpp
  test/Sema/nonnull.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15324.42204.patch
Type: text/x-patch
Size: 8812 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151208/69569e76/attachment.bin>


More information about the cfe-commits mailing list