Browse Source

Minor cleanup.

pull/16/merge
triton 12 years ago
parent
commit
5b7bd8bd03
  1. 5
      src/Parser/Parser.cpp
  2. 2
      src/Parser/Parser.h

5
src/Parser/Parser.cpp

@ -333,7 +333,7 @@ std::string Parser::GetTypeName(const clang::Type* Type) @@ -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) @@ -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;

2
src/Parser/Parser.h

@ -147,7 +147,7 @@ protected: @@ -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^);

Loading…
Cancel
Save