(何处)clang是否记录了实现定义的行为? [英] (Where) Does clang document implementation-defined behavior?
问题描述
C中的实现定义的行为是未指定的行为,每个符合的实现都必须记录其选择.
我很容易在此处 或Microsoft C 此处,但找不到有关clang的任何此类文档.>
我搜索错误还是没有这种东西?
此票证 https://bugs.llvm.org/show_bug.cgi?id = 11272 仍然打开(已经有很多年了),所以似乎clang并没有明确指定实现定义的行为.
在大多数情况下,我敢打赌它与GCC相同.
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?
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.
这篇关于(何处)clang是否记录了实现定义的行为?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!