diff --git a/src/AST/Comment.cs b/src/AST/Comment.cs index 0332d26d..3ac0449a 100644 --- a/src/AST/Comment.cs +++ b/src/AST/Comment.cs @@ -103,10 +103,6 @@ namespace CppSharp.AST /// public abstract class Comment { - protected Comment() - { - } - public abstract void Visit(ICommentVisitor visitor); } diff --git a/src/AST/Type.cs b/src/AST/Type.cs index 60caf94e..af29d76e 100644 --- a/src/AST/Type.cs +++ b/src/AST/Type.cs @@ -365,11 +365,6 @@ namespace CppSharp.AST /// public class DecayedType : Type { - public DecayedType() - { - - } - public QualifiedType Decayed; public QualifiedType Original; public QualifiedType Pointee; diff --git a/src/Core/Parser/Parser.cs b/src/Core/Parser/Parser.cs index 30869813..cdb0cdd4 100644 --- a/src/Core/Parser/Parser.cs +++ b/src/Core/Parser/Parser.cs @@ -1,6 +1,4 @@ using System; -using System.Collections.Generic; -using CppSharp.AST; using CppSharp.Parser; using ASTContext = CppSharp.Parser.AST.ASTContext; using NativeLibrary = CppSharp.Parser.AST.NativeLibrary; diff --git a/src/CppParser/Parser.cpp b/src/CppParser/Parser.cpp index 98ac6020..aa60e321 100644 --- a/src/CppParser/Parser.cpp +++ b/src/CppParser/Parser.cpp @@ -1736,7 +1736,6 @@ Type* Parser::WalkType(clang::QualType QualType, clang::TypeLoc* TL, if (FTL) { auto PVD = FTL.getParam(i); - HandleDeclaration(PVD, FA); auto PTL = PVD->getTypeSourceInfo()->getTypeLoc(); diff --git a/src/Generator/Generators/CLI/CLITextTemplate.cs b/src/Generator/Generators/CLI/CLITextTemplate.cs index 02d2735d..be7092d3 100644 --- a/src/Generator/Generators/CLI/CLITextTemplate.cs +++ b/src/Generator/Generators/CLI/CLITextTemplate.cs @@ -81,9 +81,7 @@ namespace CppSharp.Generators.CLI public string QualifiedIdentifier(Declaration decl) { - if (Options.GenerateLibraryNamespace) - { if (string.IsNullOrEmpty(decl.QualifiedName)) return string.Format("{0}", Options.OutputNamespace);