Reland [Modules] Remove unnecessary check when generating name lookup table in ASTWriter
authorIlya Biryukov <ibiryukov@google.com>
Mon, 17 Apr 2023 11:50:59 +0000 (13:50 +0200)
committerIlya Biryukov <ibiryukov@google.com>
Tue, 18 Apr 2023 10:40:39 +0000 (12:40 +0200)
commit67b298f6d82e0b4bb648ac0dabe895e816a77ef1
tree4ded79bc3632807b38c384cbf377d756ce8dec31
parentccf7191719375cac15da5a3eb406e1efa602b096
Reland [Modules] Remove unnecessary check when generating name lookup table in ASTWriter

Fixes #61065.

This reverts commit 363c98b2d67986b9766bb1426739970ce6d9a6f3 and relands
db987b9589be1eb604fcb74c85b410469e31485f with fixes from
bc95f27337c7ed77c28e713c855272848f01802a.

The module-related issues surfaced there are fixed in the
previous commit.
clang/include/clang/Serialization/ASTWriter.h
clang/lib/Serialization/ASTWriter.cpp
clang/test/Modules/pr61065.cppm