Do not store duplicate parents when memoization data is available.
This does not solve the duplication problem, but ameliorates it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
lg
lib/AST/ASTContext.cpp | ||
---|---|---|
8183 ↗ | (On Diff #10368) | Please fix my "bug benign" typo :D |
8209–8212 ↗ | (On Diff #10368) | Any reason not to use std::find? |
lib/AST/ASTContext.cpp | ||
---|---|---|
8183 ↗ | (On Diff #10368) | Done. |
8209–8212 ↗ | (On Diff #10368) | I was afraid that operator== will break for non-memo types, but as long as one of the arguments has memo, then it gives a correct result. Changed. |