Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clang][ASTImporter] Import typedefs to distinct records as distinct …
…nodes. When a typedef node is imported, ASTImporter should not find an existing similar typedef node for it that comes from different context (translation unit or scope). This should avoid a situation where an existing typedef declaration is returned at import of a typedef, but the underlying type was already imported as a new type object. Reviewed By: vabridgers Differential Revision: https://reviews.llvm.org/D145479
- Loading branch information
Showing
2 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters