decl.c (grokdeclarator): Return NULL_TREE instead of 0.
* decl.c (grokdeclarator): Return NULL_TREE instead of 0. * typeck.c (unary_complex_lvalue): Likewise. From-SVN: r110933
This commit is contained in:
parent
ebf0088aec
commit
33fd4f49bc
|
@ -1,3 +1,8 @@
|
|||
2006-02-13 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
|
||||
|
||||
* decl.c (grokdeclarator): Return NULL_TREE instead of 0.
|
||||
* typeck.c (unary_complex_lvalue): Likewise.
|
||||
|
||||
2006-02-13 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
|
||||
|
||||
* lex.c (parse_strconst_pragma): Return error_mark_node instead of
|
||||
|
|
|
@ -6815,7 +6815,7 @@ grokdeclarator (const cp_declarator *declarator,
|
|||
a function declarator. */
|
||||
|
||||
if (funcdef_flag && innermost_code != cdk_function)
|
||||
return 0;
|
||||
return NULL_TREE;
|
||||
|
||||
if (((dname && IDENTIFIER_OPNAME_P (dname)) || flags == TYPENAME_FLAG)
|
||||
&& innermost_code != cdk_function
|
||||
|
|
|
@ -4343,7 +4343,7 @@ unary_complex_lvalue (enum tree_code code, tree arg)
|
|||
}
|
||||
|
||||
if (code != ADDR_EXPR)
|
||||
return 0;
|
||||
return NULL_TREE;
|
||||
|
||||
/* Handle (a = b) used as an "lvalue" for `&'. */
|
||||
if (TREE_CODE (arg) == MODIFY_EXPR
|
||||
|
@ -4384,7 +4384,7 @@ unary_complex_lvalue (enum tree_code code, tree arg)
|
|||
}
|
||||
|
||||
/* Don't let anything else be handled specially. */
|
||||
return 0;
|
||||
return NULL_TREE;
|
||||
}
|
||||
|
||||
/* Mark EXP saying that we need to be able to take the
|
||||
|
|
Loading…
Reference in New Issue