[cfe-dev] ASTContext::getParents() - ancestors or parents?

Farzad Sadeghi via cfe-dev cfe-dev at lists.llvm.org
Mon Jun 27 06:15:42 PDT 2016


My question is regarding the actual return value of
`ASTContext::getParents`. the Doxygen documentation says it returns
the parents of a given `Node`. How can one `Node` have more than one
parent? or does it just mean ancestors?
I also tested it and it only returns one parent node for each given
node and those nodes all have only one parent.

-- 
Farzad Sadeghi



More information about the cfe-dev mailing list