From bee3f1689aec015e3d1403f094bc4a6b109e1856 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Jun 2015 16:37:02 +0300 Subject: Fix FUNCTION_DECL attributes dumping order. --- src/parsers/decl/function_decl.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/parsers/decl') diff --git a/src/parsers/decl/function_decl.cpp b/src/parsers/decl/function_decl.cpp index 0cf4b19..29047f5 100644 --- a/src/parsers/decl/function_decl.cpp +++ b/src/parsers/decl/function_decl.cpp @@ -35,6 +35,9 @@ void parseFunctionDeclNode(FunctionDeclNode *node) fillLocation(node); fillDeclLabel(node); fillDeclAutoGenerated(node); + + Log::log(node); + setPrintField(node, DECL_FUNCTION_VERSIONED, hasTargets); setPrintField(node, DECL_VIRTUAL_P, isVirtual); setPrintField(node, DECL_FINAL_P, isFinal); @@ -43,8 +46,6 @@ void parseFunctionDeclNode(FunctionDeclNode *node) setPrintField(node, DECL_EXTERNAL, isExternal); setPrintField(node, TREE_PUBLIC, isPublic); - Log::log(node); - fillDeclAttributes(node); node->functionType = static_cast(createParseNode( node, -- cgit v1.2.3-60-g2f50