Skip to content

Commit 1d31116

Browse files
author
Thomas Symalla
committed
Remove llvm::enumerate call
1 parent 23b2983 commit 1d31116

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/TableGen/Operations.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ void OperationBase::emitArgumentAccessorDeclarations(llvm::raw_ostream &out,
165165
if (m_superclass)
166166
numSuperclassArgs = m_superclass->getNumFullArguments();
167167

168-
for (const auto &[index, arg] : llvm::enumerate(m_arguments)) {
168+
for (const auto &arg : m_arguments) {
169169
const std::string capitalizedArgName =
170170
convertToCamelFromSnakeCase(arg.name, true);
171171

0 commit comments

Comments
 (0)