[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: Windows-->
# :window: Windows x64 Test Results

* 52291 tests passed
* 915 tests skipped
* 1 test failed

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

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

```
Script:
--
C:\_work\llvm-project\llvm-project\build\tools\clang\unittests\.\AllClangUnitTests.exe --gtest_filter=RangeSelectorTest.SpelledPartiallyInMacro
--
C:\_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