[all-commits] [llvm/llvm-project] 196e6f: Replace TableGen range piece punctuator with '...'

Paul C. Anagnostopoulos via All-commits all-commits at lists.llvm.org
Fri Aug 21 14:34:17 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 196e6f9f18933ed33eee39a1c9350ccce6b18e2c
      https://github.com/llvm/llvm-project/commit/196e6f9f18933ed33eee39a1c9350ccce6b18e2c
  Author: Paul C. Anagnostopoulos <paul at windfall.com>
  Date:   2020-08-21 (Fri, 21 Aug 2020)

  Changed paths:
    M llvm/docs/ReleaseNotes.rst
    M llvm/docs/TableGen/ProgRef.rst
    M llvm/lib/TableGen/TGLexer.cpp
    M llvm/lib/TableGen/TGLexer.h
    M llvm/lib/TableGen/TGParser.cpp
    A llvm/test/TableGen/range-lists.td

  Log Message:
  -----------
  Replace TableGen range piece punctuator with '...'

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.

Differential Revision: https://reviews.llvm.org/D85585

Change-Id: I3d53d14e23f878b142d8f84590dd465a0fb6c09c




More information about the All-commits mailing list