diff --git a/src/Parser/Parser.cpp b/src/Parser/Parser.cpp index 219e4cec..f89719ae 100644 --- a/src/Parser/Parser.cpp +++ b/src/Parser/Parser.cpp @@ -333,7 +333,7 @@ std::string Parser::GetTypeName(const clang::Type* Type) return TypeName; } -CppSharp::AST::TypeQualifiers GetTypeQualifiers(clang::QualType Type) +static CppSharp::AST::TypeQualifiers GetTypeQualifiers(clang::QualType Type) { CppSharp::AST::TypeQualifiers quals; quals.IsConst = Type.isLocalConstQualified(); @@ -342,7 +342,8 @@ CppSharp::AST::TypeQualifiers GetTypeQualifiers(clang::QualType Type) return quals; } -CppSharp::AST::QualifiedType GetQualifiedType(clang::QualType qual, CppSharp::AST::Type^ type) +static CppSharp::AST::QualifiedType +GetQualifiedType(clang::QualType qual, CppSharp::AST::Type^ type) { CppSharp::AST::QualifiedType qualType; qualType.Type = type; diff --git a/src/Parser/Parser.h b/src/Parser/Parser.h index a50f1356..bcfcc8ed 100644 --- a/src/Parser/Parser.h +++ b/src/Parser/Parser.h @@ -147,7 +147,7 @@ protected: CppSharp::AST::FunctionTemplate^ Parser::WalkFunctionTemplate( clang::FunctionTemplateDecl*); CppSharp::AST::Variable^ WalkVariable(clang::VarDecl*); - CppSharp::AST::RawComment^ WalkRawComment(const clang::RawComment*); + CppSharp::AST::RawComment^ WalkRawComment(const clang::RawComment*); CppSharp::AST::Type^ WalkType(clang::QualType, clang::TypeLoc* = 0, bool DesugarType = false); void WalkVTable(clang::CXXRecordDecl*, CppSharp::AST::Class^);