This is an archive of the discontinued LLVM Phabricator instance.

[Clang Tablegen] Fix build when std::string::end() is not assignable
Needs ReviewPublic

Authored by orivej on Aug 8 2019, 5:49 PM.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

This fixes Clang error: expression is not assignable:

Result.erase(--Result.end());                                                        
             ^ ~~~~~~~~~~~~

Diff Detail

Event Timeline

orivej created this revision.Aug 8 2019, 5:49 PM