diff options
author | David Malcolm <dmalcolm@redhat.com> | 2017-10-11 14:40:46 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2017-10-11 14:40:46 -0400 |
commit | b9603806c529179349e4393aa771980b0582af8d (patch) | |
tree | 041dddb17407a077824736005332bbba80d1e590 /gcc/c/c-decl.c | |
parent | ac95813ff495c76920cecdfa96926613aac8661f (diff) | |
download | gcc-dmalcolm/lsp-v1.3.tar.gz |
Introduce a blt_context classdmalcolm/lsp-v1.3
Diffstat (limited to 'gcc/c/c-decl.c')
-rw-r--r-- | gcc/c/c-decl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c/c-decl.c b/gcc/c/c-decl.c index ff27e552445..0b7465da9c6 100644 --- a/gcc/c/c-decl.c +++ b/gcc/c/c-decl.c @@ -4630,7 +4630,7 @@ start_decl (struct c_declarator *declarator, struct c_declspecs *declspecs, if (!decl || decl == error_mark_node) return NULL_TREE; if (declarator->bltnode) - declarator->bltnode->set_tree (decl); + declarator->bltnode->set_tree (decl, the_blt_ctxt); if (expr) add_stmt (fold_convert (void_type_node, expr)); @@ -8532,7 +8532,7 @@ start_function (struct c_declspecs *declspecs, struct c_declarator *declarator, decl1 = grokdeclarator (declarator, declspecs, FUNCDEF, true, NULL, &attributes, NULL, NULL, DEPRECATED_NORMAL); if (declarator->bltnode) - declarator->bltnode->set_tree (decl1); + declarator->bltnode->set_tree (decl1, the_blt_ctxt); invoke_plugin_callbacks (PLUGIN_START_PARSE_FUNCTION, decl1); /* If the declarator is not suitable for a function definition, |