diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-07 16:37:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-07 16:37:02 +0300 |
commit | bee3f1689aec015e3d1403f094bc4a6b109e1856 (patch) | |
tree | 640d2c0f8694634390c4c550addf2b23d6131b30 /src/parsers/decl | |
parent | b36bffe16cb613f3267513ff107a58b16562015f (diff) | |
download | paranucker-bee3f1689aec015e3d1403f094bc4a6b109e1856.tar.gz paranucker-bee3f1689aec015e3d1403f094bc4a6b109e1856.tar.bz2 paranucker-bee3f1689aec015e3d1403f094bc4a6b109e1856.tar.xz paranucker-bee3f1689aec015e3d1403f094bc4a6b109e1856.zip |
Fix FUNCTION_DECL attributes dumping order.
Diffstat (limited to 'src/parsers/decl')
-rw-r--r-- | src/parsers/decl/function_decl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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<FunctionTypeNode*>(createParseNode( node, |