[clang] [clang][NFC] Copy `CharUnits` instances in `APValue` (PR #226115)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 24 04:03:25 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
<details>
<summary>Changes</summary>
`CharUnits` is just an `int64_t`, but passed around by const reference in `APValue` for some reason.
---
Full diff: https://github.com/llvm/llvm-project/pull/226115.diff
2 Files Affected:
- (modified) clang/include/clang/AST/APValue.h (+13-15)
- (modified) clang/lib/AST/APValue.cpp (+3-4)
``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````
</details>
https://github.com/llvm/llvm-project/pull/226115
More information about the cfe-commits
mailing list