annotate clang/test/Index/comment-with-preamble.c @ 206:f17a3b42b08b

Added tag before-12 for changeset b7591485f4cd
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 07 Jun 2021 21:25:57 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // Make sure the preable does not truncate comments.
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 #ifndef BAZ
anatofuz
parents:
diff changeset
4 #define BAZ 3
anatofuz
parents:
diff changeset
5 #endif
anatofuz
parents:
diff changeset
6
anatofuz
parents:
diff changeset
7 //! Foo’s description.
anatofuz
parents:
diff changeset
8 void Foo();
anatofuz
parents:
diff changeset
9
anatofuz
parents:
diff changeset
10 // RUN: c-index-test -test-load-source-reparse 1 local %s | FileCheck %s
anatofuz
parents:
diff changeset
11 // RUN: env CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 1 local %s | FileCheck %s
anatofuz
parents:
diff changeset
12
anatofuz
parents:
diff changeset
13 // CHECK: FunctionDecl=Foo:8:6 RawComment=[//! Foo’s description.] RawCommentRange=[7:1 - 7:25] BriefComment=[Foo’s description.]