Skip to content

Commit e2f8b80

Browse files
committed
Apply clang-tidy fixes for readability-identifier-naming in TosaValidation.cpp (NFC)
1 parent e836c07 commit e2f8b80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ struct TosaValidation : public tosa::impl::TosaValidationBase<TosaValidation> {
4646
private:
4747
void runOnOperation() override;
4848

49-
llvm::Optional<TosaProfileEnum> profile_type;
49+
llvm::Optional<TosaProfileEnum> profileType;
5050
};
5151

5252
void TosaValidation::runOnOperation() {
53-
profile_type = symbolizeEnum<TosaProfileEnum>(profileName);
53+
profileType = symbolizeEnum<TosaProfileEnum>(profileName);
5454

5555
getOperation().walk([&](Operation *op) {
5656
for (Value operand : op->getOperands()) {
57-
if ((profile_type == TosaProfileEnum::BaseInference) &&
57+
if ((profileType == TosaProfileEnum::BaseInference) &&
5858
getElementTypeOrSelf(operand).isa<FloatType>()) {
5959
return signalPassFailure();
6060
}

0 commit comments

Comments
 (0)