Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Pull Requests

on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
tests:
name: Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and Test
uses: llvm/actions/build-test-llvm-project@main
with:
cmake_args: '-GNinja -DLLVM_ENABLE_PROJECTS="llvm" -DCMAKE_BUILD_TYPE=Release -DLLDB_INCLUDE_TESTS=OFF -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache'
build_target: 'check-all'

2 changes: 1 addition & 1 deletion clang/lib/Edit/EditedSource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ void EditedSource::applyRewrites(EditsReceiver &receiver,
if (offs == CurEnd) {
StrVec += act.Text;
CurLen += act.RemoveLen;
CurEnd.getWithOffset(act.RemoveLen);
CurEnd = CurEnd.getWithOffset(act.RemoveLen);
continue;
}

Expand Down
2 changes: 2 additions & 0 deletions utils/ci/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
test file
2