Browse Source

Do not ignore system declarations when walking enum types.

This restores the old behavior that I changed a couple commits ago which turns out we depend on.
pull/22/merge
triton 12 years ago
parent
commit
69320246a9
  1. 2
      src/Parser/Parser.cpp

2
src/Parser/Parser.cpp

@ -1045,7 +1045,7 @@ CppSharp::AST::Type^ Parser::WalkType(clang::QualType QualType, clang::TypeLoc* @@ -1045,7 +1045,7 @@ CppSharp::AST::Type^ Parser::WalkType(clang::QualType QualType, clang::TypeLoc*
EnumDecl* ED = ET->getDecl();
auto TT = gcnew CppSharp::AST::TagType();
TT->Declaration = WalkDeclaration(ED);
TT->Declaration = TT->Declaration = WalkDeclaration(ED, /*IgnoreSystemDecls=*/false);
return TT;
}

Loading…
Cancel
Save