manojgupta added a comment.

@efriedma @jyknight Does the change match your expectations where warnings are 
still generated but codeGen does not emit nonnull attribute?

Comment at: test/Sema/nonnull.c:2
 // RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -fno-delete-null-pointer-checks -verify %s
 // rdar://9584012
All warnings are still issued if nullptr is passed to function nonnull 

  rC Clang

cfe-commits mailing list

Reply via email to