HomePhabricator

[NFC] Use SmallString instead of std::string for the AttrBuilder

Authored by serge-sans-paille on Mar 8 2021, 8:46 AM.

Description

[NFC] Use SmallString instead of std::string for the AttrBuilder

This avoids a few unnecessary conversion from StringRef to std::string, and a
bunch of extra allocation thanks to the SmallString.

Differential Revision: https://reviews.llvm.org/D98190