[clang] [clang] add transformer range selector for spelled ranges (PR #177442)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 23 08:29:49 PST 2026


github-actions[bot] wrote:

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

* 85897 tests passed
* 1217 tests skipped
* 1 test failed

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

### Clang-Unit
<details>
<summary>Clang-Unit._/AllClangUnitTests/RangeSelectorTest/SpelledPartiallyInMacro</summary>

```
Script:
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/./AllClangUnitTests --gtest_filter=RangeSelectorTest.SpelledPartiallyInMacro
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Tooling/RangeSelectorTest.cpp:954
Value of: llvm::detail::TakeExpected(select(spelled(node(ID)), Match))
Expected: failed with Error of given type and the error is an object whose given property has substring "spelled: range crosses file/macro boundaries"
  Actual: succeeded with value ""


```
</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/177442


More information about the cfe-commits mailing list