diff options
author | Owen Pan <owenpiano@gmail.com> | 2025-04-01 18:56:19 -0700 |
---|---|---|
committer | Owen Pan <owenpiano@gmail.com> | 2025-04-01 18:59:12 -0700 |
commit | 97dcbdef6089175c45e14fcbcf5c88b10233a79a (patch) | |
tree | 0df6a7f81e93b92bd8fb1deef48fc81f73c38297 /clang/unittests/Format/FormatTestJava.cpp | |
parent | 55ac652745c6ec94477b1862018f477748faad15 (diff) | |
download | llvm-97dcbdef6089175c45e14fcbcf5c88b10233a79a.zip llvm-97dcbdef6089175c45e14fcbcf5c88b10233a79a.tar.gz llvm-97dcbdef6089175c45e14fcbcf5c88b10233a79a.tar.bz2 |
Revert "[clang-format] Handle C++ keywords in other languages better (#132941)"
This reverts commit ab7cee8a0ecf29fdb47c64c8d431a694d63390d2 which had
formatting errors.
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
-rw-r--r-- | clang/unittests/Format/FormatTestJava.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/unittests/Format/FormatTestJava.cpp b/clang/unittests/Format/FormatTestJava.cpp index e01c1d6..33998bc 100644 --- a/clang/unittests/Format/FormatTestJava.cpp +++ b/clang/unittests/Format/FormatTestJava.cpp @@ -158,8 +158,6 @@ TEST_F(FormatTestJava, AnonymousClasses) { TEST_F(FormatTestJava, EnumDeclarations) { verifyFormat("enum SomeThing { ABC, CDE }"); - // A C++ keyword should not mess things up. - verifyFormat("enum union { ABC, CDE }"); verifyFormat("enum SomeThing {\n" " ABC,\n" " CDE,\n" |