view clang/test/Index/openmp-tile.c @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents
children c4bab56944e8
line wrap: on
line source

// RUN: c-index-test -test-load-source local %s -fopenmp -fopenmp-version=51 | FileCheck %s

void test() {
#pragma omp tile sizes(5)
  for (int i = 0; i < 65; i += 1)
    ;
}

// CHECK: openmp-tile.c:4:1: OMPTileDirective= Extent=[4:1 - 4:26]
// CHECK: openmp-tile.c:4:24: IntegerLiteral= Extent=[4:24 - 4:25]
// CHECK: openmp-tile.c:5:3: ForStmt= Extent=[5:3 - 6:6]