Author: Stuart Hayhurst
Date: 2026-10-25T20:30:18Z
New Revision: d38aacb9e29318dd2b65ce77cf3b011e02d09453

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

LOG: [clang] Fix typo in __cplusplus macro (#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
:)

Added: 
    

Modified: 
    clang/test/SemaCXX/cxx2b-p2266-disable-with-msvc-compat.cpp

Removed: 
    


################################################################################
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