Browse Source

Set the name-space of a parameter to its function. (#908)

pull/903/head
Kimon Topouzidis 8 years ago committed by Dimitar Dobrev
parent
commit
02d37706ac
  1. 2
      src/CppParser/Parser.cpp

2
src/CppParser/Parser.cpp

@ -2932,7 +2932,7 @@ void Parser::WalkFunction(const clang::FunctionDecl* FD, Function* F, @@ -2932,7 +2932,7 @@ void Parser::WalkFunction(const clang::FunctionDecl* FD, Function* F,
for (const auto& VD : FD->parameters())
{
auto P = WalkParameter(VD, ParamStartLoc);
P->_namespace = NS;
P->_namespace = F;
F->Parameters.push_back(P);
ParamStartLoc = VD->getLocEnd();

Loading…
Cancel
Save