• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Still another static analyzer (and LLVM parser) mistake
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Still another static analyzer (and LLVM parser) mistake


  • Subject: Re: Still another static analyzer (and LLVM parser) mistake
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 12 Jul 2010 17:49:21 -0700

On Mon, Jul 12, 2010 at 5:16 PM, Matt Neuburg <email@hidden> wrote:
> There's no warning if you do this:
>
> NSArray* arr = [NSArray arrayWithObjects: @"howdy"];
>
> GCC's parser is smart enough to know that the missing nil terminator is just
> asking for trouble.

Have you filed a bug? http://www.llvm.org/bugs

It looks like there are tests in place to ensure that clang parses
__attribute__((sentinel)) correctly, but I don't see any tests that
try calling functions decorated with __attribute__((sentinel)).

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Still another static analyzer (and LLVM parser) mistake (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Another static analyzer mistake
  • Next by Date: Re: Still another static analyzer (and LLVM parser) mistake
  • Previous by thread: Still another static analyzer (and LLVM parser) mistake
  • Next by thread: Re: Still another static analyzer (and LLVM parser) mistake
  • Index(es):
    • Date
    • Thread