[all-commits] [llvm/llvm-project] e53494: [mlir] Fix 0 values passed to the wrong parameters.
Adrian Kuegel via All-commits
all-commits at lists.llvm.org
Fri Jan 3 05:12:00 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e53494c750246118c313b3cbf7479edb682f2208
https://github.com/llvm/llvm-project/commit/e53494c750246118c313b3cbf7479edb682f2208
Author: Adrian Kuegel <akuegel at google.com>
Date: 2025-01-03 (Fri, 03 Jan 2025)
Changed paths:
M mlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp
Log Message:
-----------
[mlir] Fix 0 values passed to the wrong parameters.
This was found by modernize-use-nullptr ClangTidy check, which suggested
to pass nullptr instead of 0 to DIFileAttr.
However it looks like the intention was to pass the two 0 values for
line and scopeLine, and we should pass {} to DIFileAttr. Do that change.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list