[Flang][OpenMP] Handle SECTION construct from within SECTIONS (#77759)
[llvm-project.git] / mlir / utils / tree-sitter-mlir / test / highlight / func.mlir
blobcc6f872cf7410c87563bd9ba6cdec2638a85c1fb
1 func.func @test_addi(%arg0 : i64, %arg1 : i64) -> i64 {
2 // <- function.builtin
3 //        ^ function
4 //                  ^ punctuation.bracket
5 //                   ^ variable.parameter
6 //                         ^ punctuation.delimeter
7 //                           ^ type.builtin
8 //                              ^ punctuation.delimeter
9 //                                ^ variable.parameter
10 //                                        ^ type.builtin
11 //                                           ^ punctuation.bracket
12 //                                             ^ operator
13 //                                                ^ type.builtin
14 //                                                    ^ punctuation.bracket
15   %0 = arith.addi %arg0, %arg1 : i64
16 // ^ variable
17 //   ^ operator
18 //     ^ function.builtin
19 //                ^ variable.parameter
20 //                       ^ variable.parameter
21 //                               ^ type.builtin
22   return %0 : i64
23 // ^ function.builtin
24 //       ^ variable
25 //            ^ type.builtin
27 // <- punctuation.bracket