[PATCH] AsmParser: Require null terminator in the created memory buffer.

Matthias Braun matze at braunis.de
Wed May 20 11:11:10 PDT 2015


That's unfortunate. It's probably better to change LLLexer to not require a 0 at the end. From what I can see the interface takes a StringRef which has a length and is not necessarily 0-terminated anyway.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9883

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list