[PATCH] D139449: [ObjYAML] Pass 10 instead of 16 for strncmp

Alf via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 16:29:47 PST 2022


gAlfonso-bit added a comment.

OK, but you are comparing it to a string literal, so why not strcmp? strcmp will leave after the 11th anyway?

I don't know anymore.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139449/new/

https://reviews.llvm.org/D139449



More information about the llvm-commits mailing list