[all-commits] [llvm/llvm-project] 67960e: [OpenACC] Ensure decl OpenACC constructs don't crash
Erich Keane via All-commits
all-commits at lists.llvm.org
Fri Mar 7 08:05:42 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 67960e5c08629bb78c147bd0a86764967448b33c
https://github.com/llvm/llvm-project/commit/67960e5c08629bb78c147bd0a86764967448b33c
Author: erichkeane <ekeane at nvidia.com>
Date: 2025-03-07 (Fri, 07 Mar 2025)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/CodeGenModule.h
A clang/test/CodeGen/openacc-noop-decl.c
Log Message:
-----------
[OpenACC] Ensure decl OpenACC constructs don't crash
I initially implemented codegen to be a 'no-op' for these declarations,
which I thought was properly implemented. However, when they are a
top-level decl, we have a separate switch. This patch makes sure they
are properly emitted at top-level as a no-op, and adds a test for both
top-level and not top-level.
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