[all-commits] [llvm/llvm-project] 511146: [mlir][NFC] Split Parser into several different fi...

River Riddle via All-commits all-commits at lists.llvm.org
Wed Jun 10 17:18:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 51114686d51225e26b13c6870ecb8b6795413ba4
      https://github.com/llvm/llvm-project/commit/51114686d51225e26b13c6870ecb8b6795413ba4
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

  Changed paths:
    A mlir/lib/Parser/AffineParser.cpp
    A mlir/lib/Parser/AttributeParser.cpp
    M mlir/lib/Parser/CMakeLists.txt
    A mlir/lib/Parser/DialectSymbolParser.cpp
    A mlir/lib/Parser/LocationParser.cpp
    M mlir/lib/Parser/Parser.cpp
    A mlir/lib/Parser/Parser.h
    A mlir/lib/Parser/ParserState.h
    M mlir/lib/Parser/Token.cpp
    M mlir/lib/Parser/Token.h
    A mlir/lib/Parser/TypeParser.cpp

  Log Message:
  -----------
  [mlir][NFC] Split Parser into several different files.

Summary: At this point Parser has grown to be over 5000 lines and can be very difficult to navigate/update/etc. This commit splits Parser.cpp into several sub files focused on parsing specific types of entities; e.g., Attributes, Types, etc.

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




More information about the All-commits mailing list