Browse Source

Fixed a bug causing friend declarations to have their real declaration empty.

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
pull/658/head
Dimitar Dobrev 9 years ago
parent
commit
5987b5783e
  1. 2
      src/CppParser/Parser.cpp

2
src/CppParser/Parser.cpp

@ -3049,8 +3049,6 @@ Declaration* Parser::WalkDeclaration(clang::Decl* D, @@ -3049,8 +3049,6 @@ Declaration* Parser::WalkDeclaration(clang::Decl* D,
case Decl::Function:
{
FunctionDecl* FD = cast<FunctionDecl>(D);
if (!FD->isFirstDecl())
break;
// Check for and ignore built-in functions.
if (FD->getBuiltinID() != 0)

Loading…
Cancel
Save