clangClPath property

String? clangClPath
final

Explicit path to clang-cl.exe (e.g. r'C:\LLVM\bin\clang-cl.exe').

Only used when compiler is WindowsCompiler.clangCl. When null (default), the builder locates clang-cl automatically, after initializing the MSVC environment: a VS-bundled clang-cl (from the "C++ Clang tools for Windows" component, visible on the vcvars PATH) first, then PATH, then C:\Program Files\LLVM\bin\clang-cl.exe / C:\Program Files (x86)\LLVM\bin\clang-cl.exe, then the LLVM registry key. With CmakeGenerator.ninja the resolved directory is added to PATH for the CMake process, so clang-cl does not need to be on PATH globally.

Implementation

final String? clangClPath;