llvm.org GIT mirror llvm / c2d18f8
Fix Typo Compare the entire keyword string. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141295 91177308-0d34-0410-b5e6-96231b3b80d8 David Greene 8 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
227227
228228 if (Len == 5 && !memcmp(IdentStart, "class", 5)) return tgtok::Class;
229229 if (Len == 3 && !memcmp(IdentStart, "def", 3)) return tgtok::Def;
230 if (Len == 8 && !memcmp(IdentStart, "multidef", 3)) return tgtok::MultiDef;
230 if (Len == 8 && !memcmp(IdentStart, "multidef", 8)) return tgtok::MultiDef;
231231 if (Len == 4 && !memcmp(IdentStart, "defm", 4)) return tgtok::Defm;
232232 if (Len == 10 && !memcmp(IdentStart, "multiclass", 10))
233233 return tgtok::MultiClass;