Tried to use
\T\LLVM\bin\clang -emit-llvm -S -o T0.Cpp.ir -v T0.Cpp
without success: below clang output:
C:\S\LLVM>\T\LLVM\bin\clang -emit-llvm -S -o T0.Cpp.ir -v T0.Cpp
clang version 3.9.0 (branches/release_39)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\T\LLVM\bin
clang.exe: warning: T0.Cpp: 'linker' input unused
clang.exe: warning: argument unused during compilation: '-emit-llvm'
Looks like T0.Cpp was not even read.
What to do?