-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
变量是个端口或者对应寄存器的话只写入是没问题的 #25
Comments
这种情况对象应该声明为 Lines 10740 to 10746 in d06e2da
Lines 6502 to 6510 in d06e2da
|
也是,那我先关了,我们有一段代码是这样的 while (1) {
port = 0;
port = 1;
} 不过port是个对象等号是重载的 |
嗯嗯,可以强调一下“存在写入数据之外的副作用时,可不受本规则约束” |
brotherbeer
added a commit
that referenced
this issue
Feb 14, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
safe-rules/c-cpp-rules.md
Lines 10740 to 10744 in d06e2da
我的建议是补充说明一下
The text was updated successfully, but these errors were encountered: