Mercurial > hg > CbC > CbC_llvm
annotate clang/test/Index/comment-with-preamble.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 |
rev | line source |
---|---|
150 | 1 // Make sure the preable does not truncate comments. |
2 | |
3 #ifndef BAZ | |
4 #define BAZ 3 | |
5 #endif | |
6 | |
7 //! Foo’s description. | |
8 void Foo(); | |
9 | |
10 // RUN: c-index-test -test-load-source-reparse 1 local %s | FileCheck %s | |
11 // RUN: env CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 1 local %s | FileCheck %s | |
12 | |
13 // CHECK: FunctionDecl=Foo:8:6 RawComment=[//! Foo’s description.] RawCommentRange=[7:1 - 7:25] BriefComment=[Foo’s description.] |