annotate clang/test/CodeGenCXX/tmp-md-nodes2.cpp @ 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 // REQUIRES: asserts
anatofuz
parents:
diff changeset
2 // RUN: %clang_cc1 -O0 -triple %itanium_abi_triple -debug-info-kind=limited -S -emit-llvm %s -o - | \
anatofuz
parents:
diff changeset
3 // RUN: FileCheck %s
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 // This test simply checks that the varargs thunk is created. The failing test
anatofuz
parents:
diff changeset
6 // case asserts.
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 typedef signed char __int8_t;
anatofuz
parents:
diff changeset
9 typedef int BOOL;
anatofuz
parents:
diff changeset
10 class CMsgAgent;
anatofuz
parents:
diff changeset
11
anatofuz
parents:
diff changeset
12 class CFs {
anatofuz
parents:
diff changeset
13 public:
anatofuz
parents:
diff changeset
14 typedef enum {} CACHE_HINT;
anatofuz
parents:
diff changeset
15 virtual BOOL ReqCacheHint( CMsgAgent* p_ma, CACHE_HINT hint, ... ) ;
anatofuz
parents:
diff changeset
16 };
anatofuz
parents:
diff changeset
17
anatofuz
parents:
diff changeset
18 typedef struct {} _Lldiv_t;
anatofuz
parents:
diff changeset
19
anatofuz
parents:
diff changeset
20 class CBdVfs {
anatofuz
parents:
diff changeset
21 public:
anatofuz
parents:
diff changeset
22 virtual ~CBdVfs( ) {}
anatofuz
parents:
diff changeset
23 };
anatofuz
parents:
diff changeset
24
anatofuz
parents:
diff changeset
25 class CBdVfsImpl : public CBdVfs, public CFs {
anatofuz
parents:
diff changeset
26 BOOL ReqCacheHint( CMsgAgent* p_ma, CACHE_HINT hint, ... );
anatofuz
parents:
diff changeset
27 };
anatofuz
parents:
diff changeset
28
anatofuz
parents:
diff changeset
29 BOOL CBdVfsImpl::ReqCacheHint( CMsgAgent* p_ma, CACHE_HINT hint, ... ) {
anatofuz
parents:
diff changeset
30 return true;
anatofuz
parents:
diff changeset
31 }
anatofuz
parents:
diff changeset
32
anatofuz
parents:
diff changeset
33 // CHECK: define {{.*}} @_ZThn{{[48]}}_N10CBdVfsImpl12ReqCacheHintEP9CMsgAgentN3CFs10CACHE_HINTEz(