[CGTypes] Remove recursion protection
authorNikita Popov <npopov@redhat.com>
Thu, 15 Jun 2023 07:13:18 +0000 (09:13 +0200)
committerNikita Popov <npopov@redhat.com>
Fri, 16 Jun 2023 11:07:14 +0000 (13:07 +0200)
commit2903a8ab07260f9836db82b7e5330f1892830aca
tree291d1d2d32e2fc8819c3167a5eb76987ed377d73
parentaf35be55c032a5af93e235ca8347fffeb68b788e
[CGTypes] Remove recursion protection

With opaque pointers, it should no longer be necessary to protect
against recursion when converting Clang types to LLVM types, as
recursion can only be introduced via pointer types.

Differential Revision: https://reviews.llvm.org/D152999
clang/lib/CodeGen/CodeGenTypes.cpp
clang/lib/CodeGen/CodeGenTypes.h