(Where) Does clang document implementation-defined behavior?

笑着哭i 提交于 2021-01-27 01:41:14

问题


Implementation-defined behaviors in C are unspecified behaviors for which each conforming implementation must document its choice.

I found such documentations easily for gcc here or Microsoft C here, but I can't find any such documentation for clang.

Am I searching wrong or is there no such thing?


回答1:


This ticket https://bugs.llvm.org/show_bug.cgi?id=11272 is still opened (for many years now) so it seems that clang doesn't explicitly specify implementation defined behaviour.

For most cases I would bet that it's the same as GCC, though.



来源:https://stackoverflow.com/questions/36335071/where-does-clang-document-implementation-defined-behavior

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!