eandrews added a comment. In https://reviews.llvm.org/D36712#843414, @kparzysz wrote:
> The problem is that the mismatch between sections does not have to lead to > any undesirable behavior. Whether it does or not depends on a particular > case. I think we should be consistent though---if we decide that a mismatch > between the section for a declaration and the section for a definition leads > to an undefined behavior, then it should be so regardless of whether the > sections were given explicitly or inferred. Ok. That makes sense. I've updated the documentation to reflect this. Please let me know if it needs to be more detailed. https://reviews.llvm.org/D36712 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits