This unblocks using StringLiteral::size() for a SmallVector size in
another patch.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D115395
ADT: Make StringRef::size() and StringRef::empty() constexpr ClosedPublic Authored by dexonsmith on Dec 8 2021, 1:43 PM.
Details Summary This unblocks using StringLiteral::size() for a SmallVector size in
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 8 2021, 1:52 PM This revision was landed with ongoing or failed builds.Dec 8 2021, 4:15 PM Closed by commit rG9911589f5d4a: ADT: Make StringRef::size() and StringRef::empty() constexpr (authored by dexonsmith). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 392968 llvm/include/llvm/ADT/StringRef.h
llvm/unittests/ADT/StringRefTest.cpp
|