[all-commits] [llvm/llvm-project] 18066b: [mlir] Update Location to use new casting infra

Nick Kreeger via All-commits all-commits at lists.llvm.org
Mon Oct 24 12:32:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18066b52c2e2676438676cb069cf882e609288fe
      https://github.com/llvm/llvm-project/commit/18066b52c2e2676438676cb069cf882e609288fe
  Author: Nick Kreeger <nick.kreeger at gmail.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M mlir/include/mlir/IR/Location.h
    M mlir/lib/AsmParser/Parser.cpp
    M mlir/lib/IR/Diagnostics.cpp
    M mlir/lib/IR/Location.cpp

  Log Message:
  -----------
  [mlir] Update Location to use new casting infra

This allows for using the llvm namespace cast methods instead of the ones on the Location class. The Location class method are kept for now, but we'll want to remove these eventually (with a really long lead time).

Related change: https://reviews.llvm.org/D135870

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




More information about the All-commits mailing list