egorzhdan added inline comments.

================
Comment at: clang/test/Index/comment-lots-of-unknown-commands.c:3
 
+// XFAIL: *
+
----------------
This test was never properly passing. Because of the bug in string conversion, 
the printed comments contained the entire source file and not just the 
comments' text, which was enough to cause `// CHECK`-s in the test to succeed.
```
// CHECK:         (CXComment_InlineCommand CommandName=[tel] RenderNormal 
HasTrailingNewline)
// CHECK:         (CXComment_InlineCommand CommandName=[n] RenderNormal 
HasTrailingNewline))
// CHECK:       (CXComment_VerbatimLine 
Text=[\n@Lo\n@il\n@tle\n@axt\n@ba\n@ust\n@ac\n@tpe\n@tpl\n@ctG\n@ru\n@m\n@tG\n@it\n@rh\n@G\n@rpc\n@el\n@er\n@w\n@eo\n@tx\n@oo\n@dD\n@dD\n*/\nvoid
 f();\n\n// CHECK:  CommentAST=[\n// CHECK:    (CXComment_FullComment\n// 
CHECK:       (CXComment_Paragraph\n// CHECK:      ...
```


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133009/new/

https://reviews.llvm.org/D133009

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to