Update Eq so that it uses NAME just like B does. NFC.

llvm-svn: 324154
This commit is contained in:
Rui Ueyama 2018-02-02 22:45:47 +00:00
parent bfbafa541a
commit edd4ec54d6
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ class J<string name>: Joined<["--", "-"], name>;
class S<string name>: Separate<["--", "-"], name>;
multiclass Eq<string name> {
def "": Separate<["--", "-"], name>;
def _eq: Joined<["--", "-"], name # "=">, Alias<!cast<Separate>(NAME)>;
def NAME: Separate<["--", "-"], name>;
def NAME # _eq: Joined<["--", "-"], name # "=">, Alias<!cast<Separate>(NAME)>;
}
multiclass B<string name, string help1, string help2> {