Nearly all of the overloads have pretty much the same behaviour. The only exception here
is that some of them call back GetOriginalDecl and others don't, but the only real user
of that overload (which is LLDB) actually prefers getting this callback.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/AST/ASTImporter.cpp | ||
---|---|---|
2179 | (Importer.getToContext is actually not the ASTContext of To, so this technically can lead to creating types in the wrong ASTContext. I'll fix that in a follow-up either by changing this or removing the GetOriginalDecl above). | |
2185 | Will turn that into a generic IsStructurallyEquivalent overload as a separate follow-up |
(Importer.getToContext is actually not the ASTContext of To, so this technically can lead to creating types in the wrong ASTContext. I'll fix that in a follow-up either by changing this or removing the GetOriginalDecl above).