[clang] [llvm] [Frontend] Add leaf constructs and association to OpenMP/ACC directives (PR #83625)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 3 15:06:17 PST 2024
================
@@ -341,5 +356,19 @@ def TDL_DirA : Directive<"dira"> {
// IMPL-NEXT: }
// IMPL-NEXT: llvm_unreachable("Invalid Tdl Directive kind");
// IMPL-NEXT: }
+// IMPL-NEXT: const llvm::SmallVector<llvm::tdl::Directive> &llvm::tdl::getLeafConstructs(llvm::tdl::Directive Dir) {
----------------
alexey-bataev wrote:
```suggestion
// IMPL-NEXT: ArrayRef<llvm::tdl::Directive> llvm::tdl::getLeafConstructs(llvm::tdl::Directive Dir) {
```
https://github.com/llvm/llvm-project/pull/83625
More information about the cfe-commits
mailing list