[all-commits] [llvm/llvm-project] a5f479: [SmallString] Use data() instead of begin() (NFC)
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Thu Jan 30 21:04:48 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a5f479473b228605c067128f884894f8bef48e48
https://github.com/llvm/llvm-project/commit/a5f479473b228605c067128f884894f8bef48e48
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2020-01-30 (Thu, 30 Jan 2020)
Changed paths:
M llvm/include/llvm/ADT/SmallString.h
Log Message:
-----------
[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
More information about the All-commits
mailing list