[clang] [clang] Enable descriptions for --print-supported-extensions (PR #66715)

David Spickett via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 19 02:32:54 PDT 2023


================
@@ -1016,7 +1017,8 @@ TEST(TargetParserTest, ARMPrintSupportedExtensions) {
 
   outs().flush();
   testing::internal::CaptureStdout();
-  ARM::PrintSupportedExtensions();
+  std::map<StringRef, StringRef> EmptyMap;
----------------
DavidSpickett wrote:

All tests for this should include at least 1 description, "this is a description" is fine. Just to prove we don't crash.

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


More information about the cfe-commits mailing list