================
@@ -8266,6 +8266,37 @@ void Clang::AddClangCLArgs(const ArgList &Args,
types::ID InputType,
<< "/kernel";
}
+ if (Args.hasArg(options::OPT__SLASH_vlen_default)) {
+ // Override /vlen= options.
----------------
phoebewang wrote:
Yes, MSVC also takes precedence of the last flag:
https://godbolt.org/z/43Ga39WhE
https://github.com/llvm/llvm-project/pull/166375
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits