Issue |
129393
|
Summary |
[ASTImporter] Missing implementation of some Visit functions
|
Labels |
new issue
|
Assignees |
|
Reporter |
Evianaive
|
@sztomi has created several issues about missing implementation of the Visit function in ASTNodeImporter. 62770 and 62773 were closed. Here are all the issues that are still open.
https://github.com/llvm/llvm-project/issues/62771
https://github.com/llvm/llvm-project/issues/62772
https://github.com/llvm/llvm-project/issues/62774
https://github.com/llvm/llvm-project/issues/62775
I am using a feature of Cling, which is a C++ Interpreter with JIT https://github.com/root-project/cling. It is based on clang and each Interpreter holds a CompilerInstance. Users can create a child interpreter from another. The ASTContext of the child interpreter uses the ASTContext of the parent as an ExternalASTSource. It will do Import in FindExternalVisibleDeclsByName.
But when I used it in UnrealEngine. Include some header in parent ASTContext and then use it in child ASTContext. The import is incomplete since the ASTImporter uses minimal import. When I turned off minimal import, I got an "unsupported ast node type of concept".
I checked recent commits of 'ASTImporter.cpp'. I hope I can get help from @danix800 and @balazske. I'd like to know if implementing these functions is the right approach. Is there any information that can help me understand how to implement them?
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs