shafik added inline comments.

================
Comment at: clang/docs/LanguageExtensions.rst:1555
+  on the indirect branch may result in undefined behavior and should be
+  avoided.
 
----------------
void wrote:
> shafik wrote:
> > It would be helpful to provide an example of what is not supported. If you 
> > can provide an example that actually results in undefined behavior that 
> > would be even better.
> I added an example, but it's hard to determine whether a given piece of code 
> will have undefined behavior as it sometimes occurs only on a specific 
> optimization level.
Understood, I think what you have is good. Thank you.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135818/new/

https://reviews.llvm.org/D135818

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to