This commit is contained in:
Yuji Hirose 2019-04-08 11:40:27 -04:00
parent 38d48971f3
commit 55add1dacb

View File

@ -3010,7 +3010,7 @@ struct AstBase : public Annotation
const std::string token;
std::vector<std::shared_ptr<AstBase<Annotation>>> nodes;
std::shared_ptr<AstBase<Annotation>> parent;
std::weak_ptr<AstBase<Annotation>> parent;
};
template <typename T>