[all-commits] [llvm/llvm-project] f349ab: [mlir] Add `const` qualifiers to `AffineMap` methods
Vladislav Vinogradov via All-commits
all-commits at lists.llvm.org
Fri Feb 5 04:22:38 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f349abc265ebbd2acdc6b6332f475f81aca49d48
https://github.com/llvm/llvm-project/commit/f349abc265ebbd2acdc6b6332f475f81aca49d48
Author: Vladislav Vinogradov <vlad.vinogradov at intel.com>
Date: 2021-02-05 (Fri, 05 Feb 2021)
Changed paths:
M mlir/include/mlir/IR/AffineMap.h
M mlir/lib/IR/AffineMap.cpp
Log Message:
-----------
[mlir] Add `const` qualifiers to `AffineMap` methods
The `AffineMap` class follows the same semantic as Type and Attribute.
It is immutable object, so it make sence to mark its methods as const.
Also part of its API is already marked as const, this change just make the API consistent.
Reviewed By: ftynse, bondhugula
Differential Revision: https://reviews.llvm.org/D96026
More information about the All-commits
mailing list