[PATCH] D56571: [RFC prototype] Implementation of asm-goto support in clang

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 14 23:31:52 PST 2019


efriedma added a comment.

I think this is in good shape.



================
Comment at: lib/Sema/JumpDiagnostics.cpp:675
+  // asm-goto.
+  //if (!IsAsmGoto && IndirectJumpTargets.empty()) {
+  if (JumpTargets.empty()) {
----------------
Commented-out code?

We probably don't need a diagnostic for an asm goto which doesn't have any labels.  If we do, it shouldn't be here.


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

https://reviews.llvm.org/D56571





More information about the cfe-commits mailing list