Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 37106 Build 37105: arc lint + arc unit
Event Timeline
clang/docs/InternalsManual.rst | ||
---|---|---|
1569 | It can be mentioned that the structural equivalency identifies the chains with the canonical decl, that becomes different for independent chains (in this case even for the same type, this is why these are seen as different). | |
1585 | I do not like "we will" here, who will really do this work? (It can be the reader.) | |
1660 | We can mention that there is still the probability of having an infinite import recursion if things are imported from each other in wrong way. (From a visitor for A import of B is requested before create of node A and the same in visitor for B. The new A node is not yet created and not in ImportedDecls when import of B is reached.) The best is to have no import of other nodes in a visitor for A before create of node A. Or if really needed (for example in the template case) only for type B that does not the same thing with type A. |
Thanks for the review!
clang/docs/InternalsManual.rst | ||
---|---|---|
1470 | Could you please elaborate, I don't get the meaning of the comment. | |
1528 | I would not put that here, because in this section we describe the structural equivalency, which can be used independently from the import mechanism. Plus, we mention that explicitly in the prerequisite User document of ASTImporter ( LibASTImporter.rst) | |
1660 | Ok, I added that, but rephrased to connect smoother to the context. |
clang/docs/InternalsManual.rst | ||
---|---|---|
1470 | Sorry, I mean, you probably meant ClassTemplateDecl::getTemplatedDecl but typed getTemplatedDec() (missing 'l' at the end). |
clang/docs/InternalsManual.rst | ||
---|---|---|
1470 | Ok, thanks now I see what you meant. Fixed it. Thanks. |
TemplatedDec_l_?