joerg added inline comments.
================ Comment at: llvm/include/llvm/Support/YAMLTraits.h:477 + if (ParseOct && std::find(std::begin(OctalChars), std::end(OctalChars), + Char) == std::end(OctalChars)) + return false; ---------------- Can you use strchr here? I would expect the compiler to fold the string constants into bit tests, creating both more compact and faster code. https://reviews.llvm.org/D50839 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits