diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-01-30 20:15:35 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-01-30 20:15:38 -0800 |
commit | a5f479473b228605c067128f884894f8bef48e48 (patch) | |
tree | 3dd172b5dc5af3e2a91e5c038b78149106c040ad /llvm/lib/IR/Module.cpp | |
parent | cfebd7774229885e7ec88ae9ef1f4ae819cce1d2 (diff) | |
download | llvm-a5f479473b228605c067128f884894f8bef48e48.zip llvm-a5f479473b228605c067128f884894f8bef48e48.tar.gz llvm-a5f479473b228605c067128f884894f8bef48e48.tar.bz2 |
[SmallString] Use data() instead of begin() (NFC)
Both begin() and data() do the same thing for the SmallString case, but
the std::string and llvm::StringRef constructors that are being called
are defined as taking a pointer and size.
Addresses Craig Topper's feedback in https://reviews.llvm.org/D73640
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions