[all-commits] [llvm/llvm-project] f7cd61: [IR] IntrinsicInst.cpp - use StringRef::starts_wit...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri Nov 3 11:19:55 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f7cd6194a2320429b1569172b868b21947c37efa
https://github.com/llvm/llvm-project/commit/f7cd6194a2320429b1569172b868b21947c37efa
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2023-11-03 (Fri, 03 Nov 2023)
Changed paths:
M llvm/lib/IR/IntrinsicInst.cpp
Log Message:
-----------
[IR] IntrinsicInst.cpp - use StringRef::starts_with/ends_with instead of startswith/endswith. NFC.
startswith/endswith wrap starts_with/ends_with and will eventually go away (to more closely match string_view)
Also add missing assert message
Commit: bcb685e11945946335c2dc6265779f0226491b49
https://github.com/llvm/llvm-project/commit/bcb685e11945946335c2dc6265779f0226491b49
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2023-11-03 (Fri, 03 Nov 2023)
Changed paths:
M llvm/include/llvm/Support/TypeName.h
M llvm/include/llvm/Support/YAMLTraits.h
M llvm/lib/Support/APFloat.cpp
M llvm/lib/Support/CachePruning.cpp
M llvm/lib/Support/DebugCounter.cpp
M llvm/lib/Support/ELFAttributes.cpp
M llvm/lib/Support/Path.cpp
M llvm/lib/Support/RISCVISAInfo.cpp
M llvm/lib/Support/Signals.cpp
M llvm/lib/Support/SpecialCaseList.cpp
M llvm/lib/Support/StringRef.cpp
M llvm/lib/Support/UnicodeNameToCodepoint.cpp
M llvm/lib/Support/VirtualFileSystem.cpp
M llvm/lib/Support/Windows/Path.inc
M llvm/lib/Support/Windows/Process.inc
M llvm/lib/Support/YAMLParser.cpp
Log Message:
-----------
[Support] Use StringRef::starts_with/ends_with instead of startswith/endswith. NFC.
startswith/endswith wrap starts_with/ends_with and will eventually go away (to more closely match string_view)
Compare: https://github.com/llvm/llvm-project/compare/5adf6ab7ff9c...bcb685e11945
More information about the All-commits
mailing list