[all-commits] [llvm/llvm-project] 9ca50e: [libTooling] Add parser for string representation ...

Yitzhak Mandelbaum via All-commits all-commits at lists.llvm.org
Thu Jun 18 18:12:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ca50e887db7f903c04a90593d2beed8a96794f1
      https://github.com/llvm/llvm-project/commit/9ca50e887db7f903c04a90593d2beed8a96794f1
  Author: Yitzhak Mandelbaum <yhmandelbaum at gmail.com>
  Date:   2020-06-19 (Fri, 19 Jun 2020)

  Changed paths:
    A clang/include/clang/Tooling/Transformer/Parsing.h
    M clang/lib/Tooling/Transformer/CMakeLists.txt
    A clang/lib/Tooling/Transformer/Parsing.cpp
    M clang/unittests/Tooling/RangeSelectorTest.cpp

  Log Message:
  -----------
  [libTooling] Add parser for string representation of `RangeSelector`.

This patch adds a parser for a `RangeSelector` written as a string. The format
is closely based on the way one would right the selector in C++. This should
enable use of `RangeSelector`s from tools like clang-query and web UIs.




More information about the All-commits mailing list