view clang/test/Index/comment-redeclarations.cpp @ 173:0572611fdcc8 llvm10 llvm12

reorgnization done
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 11:55:54 +0900
parents 1d019706d866
children
line wrap: on
line source

// RUN: rm -rf %t
// RUN: mkdir %t
// RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng -target x86_64-apple-darwin10 %s > %t/out
// RUN: FileCheck %s < %t/out

class Foo;
// CHECK: CXComment_Text Text=[ Foo is the best!])))]

/// Foo is the best!
class Foo;
// CHECK: CXComment_Text Text=[ Foo is the best!])))]

class Foo {};
// CHECK: CXComment_Text Text=[ Foo is the best!])))]