[Mlir-commits] [mlir] af72641 - Apply clang-tidy fixes for readability-identifier-naming in OpenMPDialect.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Tue Sep 6 03:03:01 PDT 2022
Author: Mehdi Amini
Date: 2022-09-06T09:59:30Z
New Revision: af72641d2908d1587dabf21e86a44be2ca33b592
URL: https://github.com/llvm/llvm-project/commit/af72641d2908d1587dabf21e86a44be2ca33b592
DIFF: https://github.com/llvm/llvm-project/commit/af72641d2908d1587dabf21e86a44be2ca33b592.diff
LOG: Apply clang-tidy fixes for readability-identifier-naming in OpenMPDialect.cpp (NFC)
Added:
Modified:
mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
index 46f1ed36366a0..32dbe1da016af 100644
--- a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+++ b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
@@ -691,11 +691,11 @@ LogicalResult TaskGroupOp::verify() {
// TaskLoopOp
//===----------------------------------------------------------------------===//
SmallVector<Value> TaskLoopOp::getReductionVars() {
- SmallVector<Value> all_reduction_nvars(in_reduction_vars().begin(),
- in_reduction_vars().end());
- all_reduction_nvars.insert(all_reduction_nvars.end(),
- reduction_vars().begin(), reduction_vars().end());
- return all_reduction_nvars;
+ SmallVector<Value> allReductionNvars(in_reduction_vars().begin(),
+ in_reduction_vars().end());
+ allReductionNvars.insert(allReductionNvars.end(), reduction_vars().begin(),
+ reduction_vars().end());
+ return allReductionNvars;
}
LogicalResult TaskLoopOp::verify() {
More information about the Mlir-commits
mailing list