[PATCH] D66336: [ASTImporter] Add development internals docs

Aleksei Sidorin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 18 09:11:59 PDT 2019


a_sidorin added a comment.

Hello Gabor,
This doc will become extremely useful for new developers. Thank you for dumping this sacred knowledge!



================
Comment at: clang/docs/InternalsManual.rst:1470
+*templated* class (the ``CXXRecordDecl``) of a ``ClassTemplateDecl`` with
+``ClassTemplateDecl::getTemplatedDec()``. And we can get back a pointer of the
+"described" class template from the *templated* class:
----------------
TemplatedDec_l_?


================
Comment at: clang/docs/InternalsManual.rst:1528
+
+When we compare two classes or enums and one of them is incomplete or has
+unloaded external lexical declarations then we cannot descend to compare their
----------------
I think we can extend this to point that import of all named declarations is preceded by name lookup.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66336/new/

https://reviews.llvm.org/D66336





More information about the cfe-commits mailing list