[clang] [llvm] [driver] Make --version show if assertions, etc. are enabled (PR #87585)

Cassie Jones via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 4 22:19:55 PDT 2024


================
@@ -2734,6 +2734,48 @@ void cl::PrintHelpMessage(bool Hidden, bool Categorized) {
     CommonOptions->CategorizedHiddenPrinter.printHelp();
 }
 
+ArrayRef<StringRef> cl::getCompilerBuildConfig() {
+  static const StringRef Config[] = {
----------------
porglezomp wrote:

This fails to build when Config is empty

https://github.com/llvm/llvm-project/pull/87585


More information about the cfe-commits mailing list