Re: [cfe-users] clang-format -style=file fails

2018-02-18 Thread Kim Gräsman via cfe-users
+list On Sun, Feb 18, 2018 at 10:24 AM, Kim Gräsman wrote: > Hi Ray, > > I think clang-format searches for a ".clang-format" or "_clang-format" > file by default, so you shouldn't need a -style argument. > > But if you do, it should probably say "-style=file" verbatim, to > indicate that clang-fo

Re: [cfe-users] App security and the __FILE__ macro

2018-04-13 Thread Kim Gräsman via cfe-users
There's a patch waiting for attention here: https://reviews.llvm.org/D17741 Looks like that would be great for you? - Kim On Fri, Apr 13, 2018 at 9:49 AM, Rick Mann via cfe-users wrote: > No kidding! I know we use code similar to that. I’ll have to check when I’m > back at the computer. > > I

Re: [cfe-users] Question casually profiling Clang vs GCC

2018-08-03 Thread Kim Gräsman via cfe-users
Hi Florian, Precompiled headers are supposed to live side-by-side with their source headers, according to: https://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html So you can probably do something like `find /usr/include -name "*.gch"` to see if there are GCC precompiled headers available. (N