[all-commits] [llvm/llvm-project] 8fc805: [OpenACC] Fix crash on error recovery of variable ...

Erich Keane via All-commits all-commits at lists.llvm.org
Mon Aug 18 07:38:09 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fc80519cdb97c7ad762c750e3e59c622b181599
      https://github.com/llvm/llvm-project/commit/8fc80519cdb97c7ad762c750e3e59c622b181599
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2025-08-18 (Mon, 18 Aug 2025)

  Changed paths:
    M clang/lib/Sema/SemaOpenACC.cpp
    A clang/test/SemaOpenACC/gh154008.cpp

  Log Message:
  -----------
  [OpenACC] Fix crash on error recovery of variable in OpenACC mode

As reported, OpenACC's variable declaration handling was assuming some
semblence of legality in the example, so it didn't properly handle an
error case.  This patch fixes its assumptions so that we don't crash.

Fixes #154008



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