[clang] [clang-format] Handle C++ keywords in other languages better (PR #132941)
Owen Pan via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 29 00:12:28 PDT 2025
================
@@ -1369,6 +1374,7 @@ TEST_F(FormatTestJS, WrapRespectsAutomaticSemicolonInsertion) {
getGoogleJSStyleWithColumns(10));
verifyFormat("await theReckoning;", getGoogleJSStyleWithColumns(10));
verifyFormat("some['a']['b']", getGoogleJSStyleWithColumns(10));
+ verifyFormat("union['a']['b']", getGoogleJSStyleWithColumns(10));
----------------
owenca wrote:
Ditto.
https://github.com/llvm/llvm-project/pull/132941
More information about the cfe-commits
mailing list