[3.5 Release] clang++ list of supported arguments

-------------- Build: Debug in W32Clang (compiler: LLVM Clang Compiler)---------------

clang++.exe -o bin\Debug\W32Clang.exe obj\Debug\main.o -lgdi32 -luser32 -lkernel32 -lcomctl32 -mwindows
clang++.exe: error: unknown argument: '-mwindows'

Please direct me to the location in src of the supported arguments, thanks! This is probably an IDE configuration error. I want to know what the arg was for if it ever was legit.

I doubt we ever recognized this argument. This probably changed because we
started rejecting unknown -m flags.

To actually answer your question (woops), the list of options is in
clang/include/clang/Driver/Options.td. Unfortunately they aren't all
documented, because most flags there exist for gcc compatibility.