The main focus of the clang-cl driver is to support the same flags as
MSVC's cl program. For that reason, most other flags aren't supported.
But you should be able to pass in your flag using
"/clang:-fno-access-control". Does that work for you?
On Sun, Jan 5, 2020 at 3:44 PM Amirhossein Ebadi via cfe-dev
<[hidden email]> wrote:
> Hi dear clang developers,
> I'm trying to build my project in visual studio 2019 edition with clang-cl. In order to compile tests, **-fno-access-control** flag is needed.
> I'm requesting and asking for help whether this option is possible on windows? If the answer is yes, please support it in earlier versions.
> More information on the link below:
> https://github.com/microsoft/llvm/issues/149 >
> Thanks for any response,
> Amirhossein Ebadi
> cfe-dev mailing list
> [hidden email] > https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev