[clang] aa9b338 - [clang] Remove some `U+C2AD`s in `__cpp_multidimensional_subscript`

Yuki Okushi via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 7 03:30:15 PDT 2022


Author: Yuki Okushi
Date: 2022-06-07T19:29:01+09:00
New Revision: aa9b3389ffd85533b4e7d27f2dac242046f41e8e

URL: https://github.com/llvm/llvm-project/commit/aa9b3389ffd85533b4e7d27f2dac242046f41e8e
DIFF: https://github.com/llvm/llvm-project/commit/aa9b3389ffd85533b4e7d27f2dac242046f41e8e.diff

LOG: [clang] Remove some `U+C2AD`s in `__cpp_multidimensional_subscript`

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

Differential Revision: https://reviews.llvm.org/D127066

Added: 
    

Modified: 
    clang/lib/Frontend/InitPreprocessor.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Frontend/InitPreprocessor.cpp b/clang/lib/Frontend/InitPreprocessor.cpp
index 4c5e7325d7960..73986b2740760 100644
--- a/clang/lib/Frontend/InitPreprocessor.cpp
+++ b/clang/lib/Frontend/InitPreprocessor.cpp
@@ -690,7 +690,7 @@ static void InitializeCPlusPlusFeatureTestMacros(const LangOptions &LangOpts,
     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");


        


More information about the cfe-commits mailing list