[PATCH] preprocessor: Fix tracking of system header state [PR60014, PR60723]

2022-10-08 Thread Lewis Hyatt via Gcc-patches
The token_streamer class (which implements gcc mode -E and -save-temps/-no-integrated-cpp) needs to keep track whether the last tokens output were in a system header, so that it can generate line marker annotations as necessary for a downstream consumer to reconstruct the state. The logic for track

Re: [PATCH] preprocessor: Fix tracking of system header state [PR60014, PR60723]

2022-10-12 Thread Jeff Law via Gcc-patches
On 10/8/22 15:18, Lewis Hyatt via Gcc-patches wrote: The token_streamer class (which implements gcc mode -E and -save-temps/-no-integrated-cpp) needs to keep track whether the last tokens output were in a system header, so that it can generate line marker annotations as necessary for a downstre