[llvm] cd2214b - [Frontend][OpenMP] Add deduction guide for `ConstructCompositionT`
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 23 07:16:37 PDT 2024
Author: Krzysztof Parzyszek
Date: 2024-07-23T09:16:22-05:00
New Revision: cd2214b360ff7b1dfe2d43a60cc7fbe5826f741c
URL: https://github.com/llvm/llvm-project/commit/cd2214b360ff7b1dfe2d43a60cc7fbe5826f741c
DIFF: https://github.com/llvm/llvm-project/commit/cd2214b360ff7b1dfe2d43a60cc7fbe5826f741c.diff
LOG: [Frontend][OpenMP] Add deduction guide for `ConstructCompositionT`
Added:
Modified:
llvm/include/llvm/Frontend/OpenMP/ConstructCompositionT.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Frontend/OpenMP/ConstructCompositionT.h b/llvm/include/llvm/Frontend/OpenMP/ConstructCompositionT.h
index f6ee963bd8855..eb41b5479b1ed 100644
--- a/llvm/include/llvm/Frontend/OpenMP/ConstructCompositionT.h
+++ b/llvm/include/llvm/Frontend/OpenMP/ConstructCompositionT.h
@@ -81,6 +81,10 @@ template <typename ClauseType> struct ConstructCompositionT {
std::unordered_map<llvm::omp::Clause, ClauseSet> clauseSets;
};
+template <typename ClauseTy>
+ConstructCompositionT(uint32_t, llvm::ArrayRef<DirectiveWithClauses<ClauseTy>>)
+ -> ConstructCompositionT<ClauseTy>;
+
template <typename C>
ConstructCompositionT<C>::ConstructCompositionT(
uint32_t version, llvm::ArrayRef<DirectiveWithClauses<C>> leafs)
More information about the llvm-commits
mailing list