Sign in
ara-mdk
/
platform
/
external
/
llvm
/
b6f4872d29136637a3a5dfdf185f5afcbcdd3b2a
/
.
/
test
/
TableGen
/
MultiClassDefName.td
blob: 75d6af5b42b966f1f374cf00091e403c49a61f16 [
file
] [
log
] [
blame
]
// RUN: llvm-tblgen %s | grep WorldHelloCC | count 1
class
C
<
string
n
>
{
string
name
=
n
;
}
multiclass
Names
<
string
n
,
string
m
>
{
def
CC
:
C
<n>
;
def
World
#NAME#CC : C<m>;
}
defm
Hello
:
Names
<
"hello"
,
"world"
>;