Closed
[Bug-Report|缺陷反馈]: atvoss库中存在constexpr调用非constexpr的现象,需要整改 #352
SuneeAdd on  Sep 4Closed at  Sep 19
Sunee
SuneeCollaborators
Sep 4 Create

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

atvoss库中存在constexpr调用非constexpr的现象,当前规则是constexpr的只能调用constexpr/callee的函数,需要整改

Environment / 环境信息 (Mandatory / 必填)

Ascend950

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

constexpr调用的子函数如果没有标记为constexpr,会校验报错,当前阶段一是warning,阶段二会讲warning转error的拦截放开

Describe the expected behavior / 预期结果 (Mandatory / 必填)

编译日志种不存在该类校验的warning

4DFD0F96-1E6A-41EE-D529-BF2660077BCD.png

Special notes for this issue/备注 (Optional / 选填)

likedislike
songkai111songkai111Collaborators
Sep 4 Assign Sunee as responsible person
songkai111songkai111Collaborators
Sep 19 changed custom state from 进行中 to 已完成
songkai111songkai111Collaborators
Sep 19 Close issue
点月♡点月♡
Sep 20 Associated pull request
点月♡点月♡
Sep 22 Associated pull request