From 4ad799bdf25ba6741d52593b017b5f42cac6c77f Mon Sep 17 00:00:00 2001 From: Mikhail Goncharov Date: Wed, 23 Aug 2023 08:48:51 +0200 Subject: [PATCH 1/4] testing buildkite trigger --- utils/ci/README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 utils/ci/README.md diff --git a/utils/ci/README.md b/utils/ci/README.md new file mode 100644 index 0000000000000..16b14f5da9e2f --- /dev/null +++ b/utils/ci/README.md @@ -0,0 +1 @@ +test file From 88e934048a22419cc120df9cf746f2119e1cac0f Mon Sep 17 00:00:00 2001 From: Mikhail Goncharov Date: Wed, 23 Aug 2023 08:50:53 +0200 Subject: [PATCH 2/4] 2 --- utils/ci/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/ci/README.md b/utils/ci/README.md index 16b14f5da9e2f..20f3a52f10c97 100644 --- a/utils/ci/README.md +++ b/utils/ci/README.md @@ -1 +1,2 @@ test file +2 From b0e037630f8041b8b531d93d01fdb0ac56b6a1ea Mon Sep 17 00:00:00 2001 From: Mikhail Goncharov Date: Thu, 24 Aug 2023 14:11:08 +0200 Subject: [PATCH 3/4] sample workflow --- .github/workflows/pull-request.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/pull-request.yml diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml new file mode 100644 index 0000000000000..65cbdc5969218 --- /dev/null +++ b/.github/workflows/pull-request.yml @@ -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' + From 855dd6b4c924532afb42d58111e06d974945e133 Mon Sep 17 00:00:00 2001 From: Mikhail Goncharov Date: Mon, 21 Aug 2023 16:38:41 +0200 Subject: [PATCH 4/4] [clang] EditedSource::applyRewrites - useless call --- clang/lib/Edit/EditedSource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Edit/EditedSource.cpp b/clang/lib/Edit/EditedSource.cpp index a3386b2489b07..5e77b0141e8a0 100644 --- a/clang/lib/Edit/EditedSource.cpp +++ b/clang/lib/Edit/EditedSource.cpp @@ -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; }