llvm-project/mlir/lib/IR/ValueRange.cpp
Han-Chung Wang 66b0b0466b
[MLIR][NFC] Fix incomplete boundary comments. (#133516)
I observed that we have the boundary comments in the codebase like:

```
//===----------------------------------------------------------------------===//
// ...
//===----------------------------------------------------------------------===//
```

I also observed that there are incomplete boundary comments. The
revision is generated by a script that completes the boundary comments.

```
//===----------------------------------------------------------------------===//
// ...

...
```

Signed-off-by: hanhanW <hanhan0912@gmail.com>
2025-03-31 09:29:54 -07:00

51 lines
1.8 KiB
C++

//===- ValueRange.cpp - Indexed Value-Iterators Range Classes -------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#include "mlir/IR/ValueRange.h"
#include "mlir/IR/TypeRange.h"
using namespace mlir;
//===----------------------------------------------------------------------===//
// TypeRangeRange
//===----------------------------------------------------------------------===//
TypeRangeRange OperandRangeRange::getTypes() const {
return TypeRangeRange(*this);
}
TypeRangeRange OperandRangeRange::getType() const { return getTypes(); }
//===----------------------------------------------------------------------===//
// OperandRange
//===----------------------------------------------------------------------===//
OperandRange::type_range OperandRange::getTypes() const {
return {begin(), end()};
}
OperandRange::type_range OperandRange::getType() const { return getTypes(); }
//===----------------------------------------------------------------------===//
// ResultRange
//===----------------------------------------------------------------------===//
ResultRange::type_range ResultRange::getTypes() const {
return {begin(), end()};
}
ResultRange::type_range ResultRange::getType() const { return getTypes(); }
//===----------------------------------------------------------------------===//
// ValueRange
//===----------------------------------------------------------------------===//
ValueRange::type_range ValueRange::getTypes() const { return {begin(), end()}; }
ValueRange::type_range ValueRange::getType() const { return getTypes(); }