[all-commits] [llvm/llvm-project] ceb623: [clang][AST] Set correct DeclContext in ASTImporte...
Balázs Kéri via All-commits
all-commits at lists.llvm.org
Fri Jun 4 05:14:32 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ceb62388f2d8bd8deed447ebfed77ac7d9be293d
https://github.com/llvm/llvm-project/commit/ceb62388f2d8bd8deed447ebfed77ac7d9be293d
Author: Balázs Kéri <1.int32 at gmail.com>
Date: 2021-06-04 (Fri, 04 Jun 2021)
Changed paths:
M clang/include/clang/AST/ASTImporterLookupTable.h
M clang/lib/AST/ASTImporter.cpp
M clang/lib/AST/ASTImporterLookupTable.cpp
M clang/unittests/AST/ASTImporterTest.cpp
Log Message:
-----------
[clang][AST] Set correct DeclContext in ASTImporter lookup table for ParmVarDecl.
ParmVarDecl is created with translation unit as the parent DeclContext
and later moved to the correct DeclContext. ASTImporterLookupTable
should be updated at this move.
Reviewed By: martong
Differential Revision: https://reviews.llvm.org/D103231
More information about the All-commits
mailing list