[PATCH] D127066: [clang] Remove some `U+00AD`s in `__cpp_multidimensional_subscript`

Yuki Okushi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 4 20:31:07 PDT 2022


JohnTitor created this revision.
Herald added a project: All.
JohnTitor requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

The `Builder.defineMacro("__cpp_multidimensional_subscript", "202110L");` line has
some `U+00AD`s that shouldn't necessary here. So removed them.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127066

Files:
  clang/lib/Frontend/InitPreprocessor.cpp


Index: clang/lib/Frontend/InitPreprocessor.cpp
===================================================================
--- clang/lib/Frontend/InitPreprocessor.cpp
+++ clang/lib/Frontend/InitPreprocessor.cpp
@@ -690,7 +690,7 @@
     Builder.defineMacro("__cpp_implicit_move", "202011L");
     Builder.defineMacro("__cpp_size_t_suffix", "202011L");
     Builder.defineMacro("__cpp_if_consteval", "202106L");
-    Builder.defineMacro("__cpp_­multidimensional_­subscript", "202110L");
+    Builder.defineMacro("__cpp_multidimensional_subscript", "202110L");
   }
   if (LangOpts.Char8)
     Builder.defineMacro("__cpp_char8_t", "201811L");


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127066.434305.patch
Type: text/x-patch
Size: 634 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220605/7e98872b/attachment-0001.bin>


More information about the cfe-commits mailing list