annotate clang/test/Index/usrs-cxx0x.cpp @ 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 template<typename ...Types>
anatofuz
parents:
diff changeset
2 struct tuple { };
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 void f(tuple<int, float, double>);
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 class TestCls {
anatofuz
parents:
diff changeset
7 void meth() &;
anatofuz
parents:
diff changeset
8 void meth() &&;
anatofuz
parents:
diff changeset
9 void meth(int&&);
anatofuz
parents:
diff changeset
10 };
anatofuz
parents:
diff changeset
11
anatofuz
parents:
diff changeset
12 // RUN: c-index-test -test-load-source-usrs all -std=c++11 %s | FileCheck %s
anatofuz
parents:
diff changeset
13 // CHECK: usrs-cxx0x.cpp c:@ST>1#pT@tuple Extent=[1:1 - 2:17]
anatofuz
parents:
diff changeset
14 // CHECK: usrs-cxx0x.cpp c:@F@f#$@S@tuple>#p3Ifd# Extent=[4:1 - 4:34]
anatofuz
parents:
diff changeset
15
anatofuz
parents:
diff changeset
16 // CHECK: usrs-cxx0x.cpp c:@S@TestCls@F@meth#& Extent=[7:3 - 7:16]
anatofuz
parents:
diff changeset
17 // CHECK: usrs-cxx0x.cpp c:@S@TestCls@F@meth#&& Extent=[8:3 - 8:17]
anatofuz
parents:
diff changeset
18 // CHECK: usrs-cxx0x.cpp c:@S@TestCls@F@meth#&&I# Extent=[9:3 - 9:19]