This is an archive of the discontinued LLVM Phabricator instance.

[mlir][affineexpr] Changing `AsmParser::parseAffineExpr` API to use ArrayRef
ClosedPublic

Authored by wrengr on Jul 7 2023, 2:44 PM.

Details

Summary

The methods added by D154177 don't require the symbolSet parameter to be mutable nor to have the SmallVectorImpl type, so this commit changes them to accept ArrayRef instead: both for generality, and to make the non-mutation an explicit part of the API.

Diff Detail

Event Timeline

wrengr created this revision.Jul 7 2023, 2:44 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 7 2023, 2:44 PM
wrengr requested review of this revision.Jul 7 2023, 2:44 PM
Peiming accepted this revision.Jul 7 2023, 2:46 PM
This revision is now accepted and ready to land.Jul 7 2023, 2:46 PM
wrengr updated this revision to Diff 538275.Jul 7 2023, 2:48 PM

git-clang-format

aartbik accepted this revision.Jul 7 2023, 2:58 PM