[ASTImporter] Lookup SearchName instead of Name
When the SearchName is already calculated we should use that for the lookup. Patch by Peter Szecsi! Differential Revision: https://reviews.llvm.org/D30877 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@299354 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/AST/ASTImporter.cpp 2 additions, 2 deletionslib/AST/ASTImporter.cpp
- test/ASTMerge/struct/Inputs/struct1.c 16 additions, 0 deletionstest/ASTMerge/struct/Inputs/struct1.c
- test/ASTMerge/struct/Inputs/struct2.c 16 additions, 0 deletionstest/ASTMerge/struct/Inputs/struct2.c
- test/ASTMerge/struct/test.c 6 additions, 1 deletiontest/ASTMerge/struct/test.c
Loading
Please register or sign in to comment