Add check before marking file as a once-only file.
Ref: https://github.com/vgvassilev/clang/commit/728e1b3286.
Authored-by: Vassil Vassilev <vvasilev@cern.ch>
Submitted-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
|  Differential  D128319  
Survive #pragma once from virtual file. Authored by tapaswenipathak on Jun 21 2022, 8:19 PM. 
Details 
 Add check before marking file as a once-only file. Ref: https://github.com/vgvassilev/clang/commit/728e1b3286. Authored-by: Vassil Vassilev <vvasilev@cern.ch> 
Diff Detail 
 Event TimelineComment Actions +1, this needs some test coverage for the changes. It should also have a release note to notify users of the fix. 
 Comment Actions Historically, the patch was developed before the extended support of virtual files in Clang. Given that this is very hard to test and it looks like this is not needed on our end anymore. I'd propose to pause this for now. Comment Actions That'd be fine by me -- I'd recommend explicitly abandoning the revision in Phabricator if you don't intend to work on it (that gets it off everyone's review plate). | ||||||||||||