[llvm] [LLVM][ADT] Add some more `starts_with`, `ends_with`, and `contains` overloads to `SmallString` (PR #182692)

via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 21 15:50:38 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 169947 tests passed
* 3067 tests skipped
* 3 tests failed

## Failed Tests
(click on a test name to see its output)

### LLVM-Unit
<details>
<summary>LLVM-Unit.ADT/_/ADTTests/SmallStringTest/Contains</summary>

```
Script:
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/ADT/./ADTTests --gtest_filter=SmallStringTest.Contains
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2537
Failed
All tests in the same test suite must use the same test fixture
class, so mixing TEST_F and TEST in the same test suite is
illegal.  In test suite SmallStringTest,
test EmptyStringTest is defined using TEST_F but
test Contains is defined using TEST.  You probably
want to change the TEST to TEST_F or move it to another test
case.


```
</details>
<details>
<summary>LLVM-Unit.ADT/_/ADTTests/SmallStringTest/EndsWith</summary>

```
Script:
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/ADT/./ADTTests --gtest_filter=SmallStringTest.EndsWith
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2537
Failed
All tests in the same test suite must use the same test fixture
class, so mixing TEST_F and TEST in the same test suite is
illegal.  In test suite SmallStringTest,
test EmptyStringTest is defined using TEST_F but
test EndsWith is defined using TEST.  You probably
want to change the TEST to TEST_F or move it to another test
case.


```
</details>
<details>
<summary>LLVM-Unit.ADT/_/ADTTests/SmallStringTest/StartsWith</summary>

```
Script:
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/ADT/./ADTTests --gtest_filter=SmallStringTest.StartsWith
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2537
Failed
All tests in the same test suite must use the same test fixture
class, so mixing TEST_F and TEST in the same test suite is
illegal.  In test suite SmallStringTest,
test EmptyStringTest is defined using TEST_F but
test StartsWith is defined using TEST.  You probably
want to change the TEST to TEST_F or move it to another test
case.


```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/182692


More information about the llvm-commits mailing list