From fe4a6360cdac283a48a6251583c507fbe760a61e Mon Sep 17 00:00:00 2001 From: Vaibhav Thakkar Date: Fri, 31 May 2024 14:20:23 +0200 Subject: [PATCH] try --- .github/workflows/arch.yml | 2 +- .github/workflows/ci.yml | 1 - .github/workflows/clang-format.yml | 1 - .github/workflows/clang-tidy-review.yml | 4 ++-- lib/Differentiator/DiffPlanner.cpp | 2 +- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/arch.yml b/.github/workflows/arch.yml index be57c9488..ecbbd4ad6 100644 --- a/.github/workflows/arch.yml +++ b/.github/workflows/arch.yml @@ -6,7 +6,7 @@ on: - master pull_request: branches: - - master + - test jobs: architecture: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 468062be6..2c1caa728 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,6 @@ on: - coverity_scan pull_request: branches: - - master - tape-push - coverity_scan diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index e63a60aba..c2e3c61c0 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -4,7 +4,6 @@ on: pull_request: paths: - '**.h' - - '**.cpp' concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number }} diff --git a/.github/workflows/clang-tidy-review.yml b/.github/workflows/clang-tidy-review.yml index b307ccf21..1ecd081d7 100644 --- a/.github/workflows/clang-tidy-review.yml +++ b/.github/workflows/clang-tidy-review.yml @@ -18,9 +18,9 @@ jobs: uses: actions/checkout@v4 - name: Install LLVM and Clang - uses: KyleMayes/install-llvm-action@v2.0.2 + uses: KyleMayes/install-llvm-action@v2.0.3 with: - version: "16.0.0" + version: "18.1.4" - name: install lit run: pip install lit diff --git a/lib/Differentiator/DiffPlanner.cpp b/lib/Differentiator/DiffPlanner.cpp index 07a7993c1..c406528c1 100644 --- a/lib/Differentiator/DiffPlanner.cpp +++ b/lib/Differentiator/DiffPlanner.cpp @@ -685,7 +685,7 @@ namespace clad { llvm::SaveAndRestore saveTopMost = m_TopMostFD; m_TopMostFD = FD; TraverseDecl(derivedFD); - m_DiffRequestGraph.addNode(request, /*isSource=*/true); + m_DiffRequestGraph.addNode(request, true); } /*else if (m_TopMostFD) { // If another function is called inside differentiated function,