[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 14:05:12 PST 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL255058: [Sema] Add warning when comparing nonnull and null (authored by gbiv).

Changed prior to commit:
  http://reviews.llvm.org/D15324?vs=42204&id=42221#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D15324

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

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


More information about the cfe-commits mailing list