[gmodules] Skip CXXDeductionGuideDecls when visiting FunctionDecls in
authorAkira Hatanaka <ahatanaka@apple.com>
Tue, 17 May 2022 16:37:29 +0000 (09:37 -0700)
committerAkira Hatanaka <ahatanaka@apple.com>
Tue, 7 Jun 2022 02:12:26 +0000 (19:12 -0700)
commit3ba6ace3cc507c241225d6ce92768a9aef417d45
tree8dd4129fa40540de97f6b4d6baf81b303f8ce3ca
parent834e5d12c77eaa4ac1f7fa9512bc7a71470318c7
[gmodules] Skip CXXDeductionGuideDecls when visiting FunctionDecls in
DebugTypeVisitor

This recommits d1346e2. I've added a line to the test case to enable it
only on assert builds.

Differential Revision: https://reviews.llvm.org/D125839
clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
clang/test/Modules/Inputs/gmodules-deduction-guide.h [new file with mode: 0644]
clang/test/Modules/gmodules-deduction-guide.cpp [new file with mode: 0644]