|
|
@ -1652,24 +1652,19 @@ CppSharp::Declaration^ Parser::WalkDeclaration(clang::Decl* D, |
|
|
|
Decl = WalkVariable(VD); |
|
|
|
Decl = WalkVariable(VD); |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
case Decl::Empty: |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
auto ED = cast<EmptyDecl>(D); |
|
|
|
|
|
|
|
Decl = nullptr; |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// Ignore these declarations since they must have been declared in
|
|
|
|
// Ignore these declarations since they must have been declared in
|
|
|
|
// a class already.
|
|
|
|
// a class already.
|
|
|
|
case Decl::CXXConstructor: |
|
|
|
case Decl::CXXConstructor: |
|
|
|
case Decl::CXXDestructor: |
|
|
|
case Decl::CXXDestructor: |
|
|
|
case Decl::CXXConversion: |
|
|
|
case Decl::CXXConversion: |
|
|
|
case Decl::CXXMethod: |
|
|
|
case Decl::CXXMethod: |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case Decl::Empty: |
|
|
|
|
|
|
|
case Decl::AccessSpec: |
|
|
|
|
|
|
|
case Decl::Friend: |
|
|
|
case Decl::Using: |
|
|
|
case Decl::Using: |
|
|
|
case Decl::UsingShadow: |
|
|
|
case Decl::UsingShadow: |
|
|
|
{ |
|
|
|
|
|
|
|
Decl = nullptr; |
|
|
|
|
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
|
|
|
|
default: |
|
|
|
default: |
|
|
|
{ |
|
|
|
{ |
|
|
|
Debug("Unhandled declaration kind: %s\n", D->getDeclKindName()); |
|
|
|
Debug("Unhandled declaration kind: %s\n", D->getDeclKindName()); |
|
|
|