================
@@ -322,6 +323,46 @@ static bool actionRequiresCodeGen(BackendAction Action) {
Action != Backend_EmitLL;
}
+static std::string flattenClangCommandLine(ArrayRef<std::string> Args,
+ StringRef MainFilename) {
+ if (Args.empty())
+ {
----------------
compnerd wrote:
The braces are unnecessary here, but more importantly, they should be coddled.
https://github.com/llvm/llvm-project/pull/106369
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits