[clang] 7c232b0 - [Clang][Comments] Fix `Index/comment-lots-of-unknown-commands.c`
Egor Zhdan via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 2 04:34:49 PDT 2022
Author: Egor Zhdan
Date: 2022-09-02T12:34:38+01:00
New Revision: 7c232b0867209a8f487bbcabca9289e9ef313bef
URL: https://github.com/llvm/llvm-project/commit/7c232b0867209a8f487bbcabca9289e9ef313bef
DIFF: https://github.com/llvm/llvm-project/commit/7c232b0867209a8f487bbcabca9289e9ef313bef.diff
LOG: [Clang][Comments] Fix `Index/comment-lots-of-unknown-commands.c`
This re-enables a test after it was disabled in https://reviews.llvm.org/D133009.
Fixes #57484.
Differential Revision: https://reviews.llvm.org/D133105
Added:
Modified:
clang/test/Index/comment-lots-of-unknown-commands.c
Removed:
################################################################################
diff --git a/clang/test/Index/comment-lots-of-unknown-commands.c b/clang/test/Index/comment-lots-of-unknown-commands.c
index 41a03d394488c..1de96762dc4ae 100644
--- a/clang/test/Index/comment-lots-of-unknown-commands.c
+++ b/clang/test/Index/comment-lots-of-unknown-commands.c
@@ -1,7 +1,5 @@
// RUN: c-index-test -test-load-source-reparse 1 local %s | FileCheck %s
-// XFAIL: *
-
// See PR 21254. We had too few bits to encode command IDs so if you created
// enough of them the ID codes would wrap around. This test creates commands up
// to an ID of 258. Ideally we should check for large numbers, but that would
@@ -37,7 +35,7 @@
@ei
@oun
@ou
- at nl
+ at nlnl
@ien
@fr
@en
@@ -58,7 +56,7 @@
@fro
@ast
@ae
- at nN
+ at nNnN
@pc
@tae
@ws
@@ -122,10 +120,10 @@
@an
@de
@tel
- at nd
- at dic
+ at ndnd
+ at dict
@Lo
- at il
+ at ilil
@tle
@axt
@ba
@@ -137,7 +135,7 @@
@ru
@m
@tG
- at it
+ at itit
@rh
@G
@rpc
@@ -183,7 +181,7 @@ void f();
// CHECK: (CXComment_InlineCommand CommandName=[ei] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[oun] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[ou] RenderNormal HasTrailingNewline)
-// CHECK: (CXComment_InlineCommand CommandName=[nl] RenderNormal HasTrailingNewline)
+// CHECK: (CXComment_InlineCommand CommandName=[nlnl] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[ien] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[fr] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[en] RenderNormal HasTrailingNewline)
@@ -204,7 +202,7 @@ void f();
// CHECK: (CXComment_InlineCommand CommandName=[fro] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[ast] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[ae] RenderNormal HasTrailingNewline)
-// CHECK: (CXComment_InlineCommand CommandName=[nN] RenderNormal HasTrailingNewline)
+// CHECK: (CXComment_InlineCommand CommandName=[nNnN] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[pc] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[tae] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[ws] RenderNormal HasTrailingNewline)
@@ -268,10 +266,10 @@ void f();
// CHECK: (CXComment_InlineCommand CommandName=[an] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[de] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[tel] RenderNormal HasTrailingNewline)
-// CHECK: (CXComment_InlineCommand CommandName=[nd] RenderNormal HasTrailingNewline)
-// CHECK: (CXComment_InlineCommand CommandName=[dic] RenderNormal HasTrailingNewline)
+// CHECK: (CXComment_InlineCommand CommandName=[ndnd] RenderNormal HasTrailingNewline)
+// CHECK: (CXComment_InlineCommand CommandName=[dict] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[Lo] RenderNormal HasTrailingNewline)
-// CHECK: (CXComment_InlineCommand CommandName=[il] RenderNormal HasTrailingNewline)
+// CHECK: (CXComment_InlineCommand CommandName=[ilil] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[tle] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[axt] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[ba] RenderNormal HasTrailingNewline)
@@ -283,7 +281,7 @@ void f();
// CHECK: (CXComment_InlineCommand CommandName=[ru] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[m] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[tG] RenderNormal HasTrailingNewline)
-// CHECK: (CXComment_InlineCommand CommandName=[it] RenderNormal HasTrailingNewline)
+// CHECK: (CXComment_InlineCommand CommandName=[itit] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[rh] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[G] RenderNormal HasTrailingNewline)
// CHECK: (CXComment_InlineCommand CommandName=[rpc] RenderNormal HasTrailingNewline)
More information about the cfe-commits
mailing list