Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit af5d72a

Browse files
committed
Update check-cppcheck-llpc.yml
1 parent 1873e38 commit af5d72a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/check-cppcheck-llpc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ jobs:
1919
git submodule update --init
2020
- name: Run cppcheck
2121
run: |
22-
cppcheck -q -j$(( $(nproc) * 4 )) --error-exitcode=1 --std=c++17 --inline-suppr . -i llpc/tool/amdllpc.cpp \
23-
-I imported/llvm-dialects/include
22+
cppcheck -q -j$(( $(nproc) * 4 )) --error-exitcode=1 --std=c++17 --inline-suppr . \
23+
-I imported/llvm-dialects/include -i imported -i llpc/unittests -i llvmraytracing

llpc/context/llpcCompiler.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2589,8 +2589,7 @@ Result Compiler::BuildComputePipeline(const ComputePipelineBuildInfo *pipelineIn
25892589
ElfPackage candidateElf;
25902590
if (!cacheAccessor || !cacheAccessor->isInCache()) {
25912591
LLPC_OUTS("Cache miss for compute pipeline.\n");
2592-
ComputeContext *computeContext =
2593-
new ComputeContext(m_gfxIp, m_apiName, pipelineInfo, &pipelineHash, &cacheHash);
2592+
ComputeContext *computeContext = new ComputeContext(m_gfxIp, m_apiName, pipelineInfo, &pipelineHash, &cacheHash);
25942593
result = buildComputePipelineInternal(computeContext, pipelineInfo, buildUsingRelocatableElf, &candidateElf,
25952594
&pipelineOut->stageCacheAccess);
25962595
delete computeContext;

0 commit comments

Comments
 (0)