This unblocks using StringLiteral::size() for a SmallVector size in
another patch.
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
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
Unit TestsFailed 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 392920 llvm/include/llvm/ADT/StringRef.h
llvm/unittests/ADT/StringRefTest.cpp
|
clang-format: please reformat the code