From 9b1cad799b9634bc33ff6f88e1bde56fb84a25e8 Mon Sep 17 00:00:00 2001 From: Dimitar Dobrev Date: Thu, 2 Jan 2020 04:48:39 +0200 Subject: [PATCH] Update the printing of comments to the new Clang Signed-off-by: Dimitar Dobrev --- src/AST/Comment.cs | 2 ++ src/Generator.Tests/AST/TestAST.cs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/AST/Comment.cs b/src/AST/Comment.cs index 1ee01d95..7e4d0029 100644 --- a/src/AST/Comment.cs +++ b/src/AST/Comment.cs @@ -538,6 +538,7 @@ namespace CppSharp.AST A, Abstract, Addtogroup, + Anchor, Arg, Attention, Author, @@ -623,6 +624,7 @@ namespace CppSharp.AST Result, Return, Returns, + Retval, Rtfonly, Endrtfonly, Sa, diff --git a/src/Generator.Tests/AST/TestAST.cs b/src/Generator.Tests/AST/TestAST.cs index 04f5499a..54bd8836 100644 --- a/src/Generator.Tests/AST/TestAST.cs +++ b/src/Generator.Tests/AST/TestAST.cs @@ -384,7 +384,7 @@ namespace CppSharp.Generator.Tests.AST classTemplate.TemplatedClass.Constructors.First(c => !c.IsCopyConstructor && !c.IsMoveConstructor)); } - [Test, Ignore("The new Clang exposes a non-trivial bug in the comments printer, will fix later.")] + [Test] public void TestComments() { var @class = AstContext.FindCompleteClass("TestComments");