Skip to content

Commit 0dfff02

Browse files
kparzyszyuxuanchen1997
authored andcommitted
[Frontend][OpenMP] Add deduction guide for ConstructCompositionT
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60251099
1 parent d9b34b0 commit 0dfff02

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/include/llvm/Frontend/OpenMP/ConstructCompositionT.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ template <typename ClauseType> struct ConstructCompositionT {
8181
std::unordered_map<llvm::omp::Clause, ClauseSet> clauseSets;
8282
};
8383

84+
template <typename ClauseTy>
85+
ConstructCompositionT(uint32_t, llvm::ArrayRef<DirectiveWithClauses<ClauseTy>>)
86+
-> ConstructCompositionT<ClauseTy>;
87+
8488
template <typename C>
8589
ConstructCompositionT<C>::ConstructCompositionT(
8690
uint32_t version, llvm::ArrayRef<DirectiveWithClauses<C>> leafs)

0 commit comments

Comments
 (0)