[PATCH] D85585: Replace TableGen range piece punctuator with '..'

Paul C. Anagnostopoulos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 8 11:43:48 PDT 2020


Paul-C-Anagnostopoulos created this revision.
Paul-C-Anagnostopoulos added reviewers: nhaehnle, dblaikie.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a reviewer: jdoerfert.
Herald added a project: LLVM.
Paul-C-Anagnostopoulos requested review of this revision.

The TableGen range piece punctuator is currently '-' (e.g., {0-9}), which interacts oddly with the fact that an integer literal's sign is part of the literal. This patch replaces the '-' with the new punctuator '..'. The '-' punctuator is deprecated.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85585

Files:
  llvm/docs/ReleaseNotes.rst
  llvm/docs/TableGen/LangRef.rst
  llvm/lib/TableGen/TGLexer.cpp
  llvm/lib/TableGen/TGLexer.h
  llvm/lib/TableGen/TGParser.cpp
  llvm/test/TableGen/range-lists.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85585.284140.patch
Type: text/x-patch
Size: 6260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200808/cdc7fbec/attachment.bin>


More information about the llvm-commits mailing list