aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2020-01-30 20:15:35 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2020-01-30 20:15:38 -0800
commita5f479473b228605c067128f884894f8bef48e48 (patch)
tree3dd172b5dc5af3e2a91e5c038b78149106c040ad /llvm/lib/IR/Module.cpp
parentcfebd7774229885e7ec88ae9ef1f4ae819cce1d2 (diff)
downloadllvm-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