Re: [swift-users] clang builtins from Swift?

2016-10-03 Thread Chris Lattner via swift-users
> On Oct 2, 2016, at 6:24 PM, Jean-Denis Muys via swift-users > wrote: > > Hi, > > Xcode seems to think that [some] builtins can be used from Swift. It > autocompletes popcount for example, and command-clicking the function opens a > bona fide interface file, with the following declaration (

[swift-users] clang builtins from Swift?

2016-10-02 Thread Jean-Denis Muys via swift-users
Hi, Xcode seems to think that [some] builtins can be used from Swift. It autocompletes popcount for example, and command-clicking the function opens a bona fide interface file, with the following declaration (among others): public func __builtin_popcount(_: UInt32) -> Int32 However, when I try t