https://github.com/stuarthayhurst created 
https://github.com/llvm/llvm-project/pull/235489

Found a possible typo where `__cplusplus` was written as `__cpluscplus`, since 
I made the same typo while doing a search.

Corrected to `__cplusplus`, feel free to close if this wasn't a mistake :)

>From ab416353565fb5a7b1f5b76950d75664535886e3 Mon Sep 17 00:00:00 2001
From: Stuart Hayhurst <[email protected]>
Date: Sun, 25 Oct 2026 16:26:59 +0000
Subject: [PATCH] [clang] Fix typo in __cplusplus macro

---
 clang/test/SemaCXX/cxx2b-p2266-disable-with-msvc-compat.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/test/SemaCXX/cxx2b-p2266-disable-with-msvc-compat.cpp 
b/clang/test/SemaCXX/cxx2b-p2266-disable-with-msvc-compat.cpp
index 9323dea24bd75b..6b4a3bc4f77d3a 100644
--- a/clang/test/SemaCXX/cxx2b-p2266-disable-with-msvc-compat.cpp
+++ b/clang/test/SemaCXX/cxx2b-p2266-disable-with-msvc-compat.cpp
@@ -9,7 +9,7 @@
 
 #if __INCLUDE_LEVEL__ == 0
 
-#if __cpluscplus > 202002L && __cpp_implicit_move < 202207L
+#if __cplusplus > 202002L && __cpp_implicit_move < 202207L
 #error "__cpp_implicit_move not defined correctly"
 #endif
 

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to