llvm.org GIT mirror llvm / release_27 test / TableGen / MultiClassDefName.td
release_27

Tree @release_27 (Download .tar.gz)

MultiClassDefName.td @release_27raw · history · blame

// RUN: 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">;