[all-commits] [llvm/llvm-project] 8c0eb3: Also remove the empty StoredDeclsList entry from t...
Vassil Vassilev via All-commits
all-commits at lists.llvm.org
Fri May 27 05:37:12 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8c0eb32d2aa0bc73c176d7b25f47bdf37f967d3b
https://github.com/llvm/llvm-project/commit/8c0eb32d2aa0bc73c176d7b25f47bdf37f967d3b
Author: Vassil Vassilev <v.g.vassilev at gmail.com>
Date: 2022-05-27 (Fri, 27 May 2022)
Changed paths:
M clang/lib/AST/DeclBase.cpp
M clang/unittests/AST/ASTImporterTest.cpp
Log Message:
-----------
Also remove the empty StoredDeclsList entry from the lookup table
In case where we have removed all declarations for a given declaration name
entry we should remove the whole StoredDeclsMap entry.
This patch improves consistency in the lookup tables and helps cling/clang-repl
error recovery.
Differential revision: https://reviews.llvm.org/D119675
More information about the All-commits
mailing list