view clang/test/Index/skipped-ranges.c @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 1d019706d866
children
line wrap: on
line source

#define cool

#if defined(cool)

#if defined(really_cool)
#endif // really_cool

#elif defined(hot)
// hot


#endif // trailing comment

#ifndef cool
#ifndef uncool

int probably_hot = 1;

#endif // uncool
#endif // cool

// RUN: env CINDEXTEST_SHOW_SKIPPED_RANGES=1 c-index-test -test-annotate-tokens=%s:1:1:16:1 %s | FileCheck %s
// CHECK: Skipping: [5:1 - 6:7]
// CHECK: Skipping: [8:1 - 12:7]
// CHECK: Skipping: [14:1 - 20:7]