Files
TorchNPU/test/cpp/api
thickhair f52c73946f [master][Fix] Fix static check errors detected by clang-format
Co-authored-by: thickhair<zp2165064878@163.com>



# message auto-generated for no-merge-commit merge:
!44399 merge clang-format-0812 into master

[master][Fix] Fix static check errors detected by clang-format

Created-by: thickhair
Commit-by: thickhair
Merged-by: ascend-robot
Description: <!--
PR描述模板更新日期:20260203
-->

# 【合入来源】
> <font color="red">**如有社区issue,请关联issue链接**</font>\
> <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font>

- [ ] 需求
- [ ] 问题单
- [x] issue/工单
https://gitcode.com/Ascend/pytorch/issues/3340
- [ ] 重构优化
- [ ] 资料更新

# 【修改方案】
修复clang-format错误

# 【资料变更】
> 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及”

# 【接口变更】
> 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及”

# 【功能验证】
![image.png](https://raw.gitcode.com/user-images/assets/7404318/d49b5a1a-eb00-4ede-bb11-206c1060cd75/image.png 'image.png')

# 【CheckList】
> PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x]

- [x] 代码注释完备,正确记录错误日志
- [x] 代码实现进行了返回值、空指针等校验
- [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等
- [x] PR持续集成流水线(CI)执行通过,代码检查无异常


See merge request: Ascend/pytorch!44399
2026-08-13 19:45:00 +08:00
..