[PATCH] D94217: [clang-format] Find main include after block ended with #pragma hdrstop

RafaƂ Jelonek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 7 02:36:19 PST 2021


rjelonek added a comment.

Currently at work we use Embarcadero Builder C++
In builder all above #pragma hdrstop is a precompiled header. And we have this #pragma at almost all cpp files, so mainInclude is ignored because is in second include block.

`#pragma hdrstop( "c:\\projects\\include\\myinc.pch" )`
This form shoudnt be handled


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94217/new/

https://reviews.llvm.org/D94217



More information about the cfe-commits mailing list