[all-commits] [llvm/llvm-project] 327d96: clang-format: [JS] test case for numeric separators.

Martin Probst via All-commits all-commits at lists.llvm.org
Mon Dec 6 10:01:46 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 327d966365d7b34abd25a920e1f7b5aecfa5c70f
      https://github.com/llvm/llvm-project/commit/327d966365d7b34abd25a920e1f7b5aecfa5c70f
  Author: Martin Probst <martin at probst.io>
  Date:   2021-12-06 (Mon, 06 Dec 2021)

  Changed paths:
    M clang/unittests/Format/FormatTestJS.cpp

  Log Message:
  -----------
  clang-format: [JS] test case for numeric separators.

ES2021 allows numeric literals using `_` as a separator. This already
works, but had no test.

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




More information about the All-commits mailing list