[PATCH] D29724: [Driver] Report available language standards on user error

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 9 09:56:39 PST 2017


ahatanak added a comment.

Test case?



================
Comment at: lib/Frontend/CompilerInvocation.cpp:1709
+        Diags.Report(diag::note_drv_supported_value_with_description)
+          << Std.getName() << Std.getDescription();
+      }
----------------
Is it possible to change the diagnostic so that it's easier to tell which part is the supported value and which part is the description?

The diagnostic looks like this, and I found it a little hard to tell at a quick glance:

"c89 - ISO C 1990" 


https://reviews.llvm.org/D29724





More information about the cfe-commits mailing list