diff options
author | Younan Zhang <zyn7109@gmail.com> | 2024-09-04 16:34:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-04 16:34:27 +0800 |
commit | aacdc657fc255b2547bb37ee9bacde2df0452298 (patch) | |
tree | 5d075c9afa8d1877fc1b2f8e2381e7fe500df2b4 /llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp | |
parent | e99eb89d5d97efc709f18f9369f2ec087352baaa (diff) | |
download | llvm-aacdc657fc255b2547bb37ee9bacde2df0452298.zip llvm-aacdc657fc255b2547bb37ee9bacde2df0452298.tar.gz llvm-aacdc657fc255b2547bb37ee9bacde2df0452298.tar.bz2 |
[Clang] Preserve the ExpandsToEmpty flag in PackIndexingType (#107181)
Similar to PackIndexingExpr, we should avoid another round of
transformation of the pattern if the pattern has already turned out to
be an empty pack. As an outcome, the empty SubstTemplateTypeParmPackType
won't occur, and we don't need to collect any unexpanded packs.
Fixes https://github.com/llvm/llvm-project/issues/105903
Diffstat (limited to 'llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp')
0 files changed, 0 insertions, 0 deletions