[all-commits] [llvm/llvm-project] 3d8d73: [NFC] Fix the unreachable 'return' in OpenACC Stmt...

Erich Keane via All-commits all-commits at lists.llvm.org
Thu Feb 12 07:05:11 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d8d73a7f98aabd23b02e8ebe1a2bcf9dce3752e
      https://github.com/llvm/llvm-project/commit/3d8d73a7f98aabd23b02e8ebe1a2bcf9dce3752e
  Author: Erich Keane <ekeane at nvidia.com>
  Date:   2026-02-12 (Thu, 12 Feb 2026)

  Changed paths:
    M clang/lib/AST/StmtOpenACC.cpp

  Log Message:
  -----------
  [NFC] Fix the unreachable 'return' in OpenACC Stmt handling (#181153)

A result of various cleanups, reimplementations/etc, I ended up with a
return after an if/else branch where each returned in #168422.

This patch removes the 'else' after a return, and removes the
unreachable return.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list