[cfe-dev] supporting flags in clang-cl

Hans Wennborg via cfe-dev cfe-dev at lists.llvm.org
Tue Jan 7 04:43:17 PST 2020


Hi Amirhossein,

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?

Thanks,
Hans

On Sun, Jan 5, 2020 at 3:44 PM Amirhossein Ebadi via cfe-dev
<cfe-dev at lists.llvm.org> 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
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev


More information about the cfe-dev mailing list