Commit b19736c9 by Jason Merrill

improve DECL_ABSTRACT_ORIGIN comment

From-SVN: r152404
parent e1b243a8
...@@ -2484,10 +2484,11 @@ struct GTY(()) tree_decl_minimal { ...@@ -2484,10 +2484,11 @@ struct GTY(()) tree_decl_minimal {
/* For any sort of a ..._DECL node, this points to the original (abstract) /* For any sort of a ..._DECL node, this points to the original (abstract)
decl node which this decl is an instance of, or else it is NULL indicating decl node which this decl is an inlined/cloned instance of, or else it
that this decl is not an instance of some other decl. For example, is NULL indicating that this decl is not an instance of some other decl.
in a nested declaration of an inline function, this points back to the
definition. */ The C front-end also uses this in a nested declaration of an inline
function, to point back to the definition. */
#define DECL_ABSTRACT_ORIGIN(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.abstract_origin) #define DECL_ABSTRACT_ORIGIN(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.abstract_origin)
/* Like DECL_ABSTRACT_ORIGIN, but returns NODE if there's no abstract /* Like DECL_ABSTRACT_ORIGIN, but returns NODE if there's no abstract
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment