Skip to content

Commit

Permalink
Remove llvm::enumerate call
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Symalla committed Dec 3, 2024
1 parent 23b2983 commit 1d31116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/TableGen/Operations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void OperationBase::emitArgumentAccessorDeclarations(llvm::raw_ostream &out,
if (m_superclass)
numSuperclassArgs = m_superclass->getNumFullArguments();

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

Expand Down

0 comments on commit 1d31116

Please sign in to comment.