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

David Spickett via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 19 03:22:21 PDT 2023


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

Yeah that's fine. All it should check is that there's no path where a lookup (successful or not) causes an exception.

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


More information about the cfe-commits mailing list