[PATCH] D73044: {tablegen] Emit string literals instead of char arrays

Luke Drummond via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 23 09:40:13 PST 2020


ldrumm updated this revision to Diff 239925.
ldrumm added a comment.

- only pass the `--long-string-literals` flags to *LLVM* tablegen (fixes clang-tablegen problem)
- suppress overlenth-string-literals warning seen in the wild: this behaviour is intended and shouldn't be warned against


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

https://reviews.llvm.org/D73044

Files:
  llvm/cmake/modules/HandleLLVMOptions.cmake
  llvm/cmake/modules/TableGen.cmake
  llvm/utils/TableGen/AsmWriterEmitter.cpp
  llvm/utils/TableGen/InstrInfoEmitter.cpp
  llvm/utils/TableGen/RegisterInfoEmitter.cpp
  llvm/utils/TableGen/SequenceToOffsetTable.h
  llvm/utils/TableGen/TableGen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73044.239925.patch
Type: text/x-patch
Size: 9555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200123/bfa201ff/attachment.bin>


More information about the llvm-commits mailing list