Skip to content
  • Ted Kremenek's avatar
    Tidy up sema processing of attribute "nonull": · c4f6d90b
    Ted Kremenek authored
    - warn about nonnull being applied to functions with no pointer arguments
    - continue processing argument list in the attribute when we encounter a non-pointer parameter being marked as nonnull
    - when no argument list is specified, only mark pointers as nonnull.  This fixes PR 2732 and radar 6188814.
    
    llvm-svn: 55610
    c4f6d90b
Loading