Re: r309386 - Recommit r308327 3rd time: Add a warning for missing

2017-09-27 Thread Alex L via cfe-commits
Are the pshpack1.h/poppack.h headers included from other headers in the SDK or are they intended for end-users? If they're only used in the SDK then the SDK headers should probably be system headers, so the warning should be silenced. Apart from that there's no real good solution for this issue un

Re: r309386 - Recommit r308327 3rd time: Add a warning for missing

2017-09-26 Thread Nico Weber via cfe-commits
Another bit of feedback: The Microsoft SDK has pragma adjustment headers that are used like so: #include // Define structs with alignment 1 here #include This warning fires on that. I haven't seen these headers in active use recently, but I remember seeing them quite a bit maybe 10 years ago. (

Re: r309386 - Recommit r308327 3rd time: Add a warning for missing

2017-07-31 Thread Alex L via cfe-commits
Add a note with a fixit in r309559. On 31 July 2017 at 10:50, Alex L wrote: > That's an interesting case. I'll tweak the warning to diagnose this > scenario better today. > > On 29 July 2017 at 00:56, Hans Wennborg wrote: > >> On Fri, Jul 28, 2017 at 7:41 AM, Alex Lorenz via cfe-commits >> wro

Re: r309386 - Recommit r308327 3rd time: Add a warning for missing

2017-07-31 Thread Alex L via cfe-commits
That's an interesting case. I'll tweak the warning to diagnose this scenario better today. On 29 July 2017 at 00:56, Hans Wennborg wrote: > On Fri, Jul 28, 2017 at 7:41 AM, Alex Lorenz via cfe-commits > wrote: > > Author: arphaman > > Date: Fri Jul 28 07:41:21 2017 > > New Revision: 309386 > >

Re: r309386 - Recommit r308327 3rd time: Add a warning for missing

2017-07-28 Thread Hans Wennborg via cfe-commits
On Fri, Jul 28, 2017 at 7:41 AM, Alex Lorenz via cfe-commits wrote: > Author: arphaman > Date: Fri Jul 28 07:41:21 2017 > New Revision: 309386 > > URL: http://llvm.org/viewvc/llvm-project?rev=309386&view=rev > Log: > Recommit r308327 3rd time: Add a warning for missing > '#pragma pack (pop)' and s

r309386 - Recommit r308327 3rd time: Add a warning for missing

2017-07-28 Thread Alex Lorenz via cfe-commits
Author: arphaman Date: Fri Jul 28 07:41:21 2017 New Revision: 309386 URL: http://llvm.org/viewvc/llvm-project?rev=309386&view=rev Log: Recommit r308327 3rd time: Add a warning for missing '#pragma pack (pop)' and suspicious uses of '#pragma pack' in included files The second recommit (r309106) wa