[all-commits] [llvm/llvm-project] ccbba2: [OpenACC] Fix assert when parsing 'bind' clause
Erich Keane via All-commits
all-commits at lists.llvm.org
Mon May 12 08:51:38 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ccbba2cdb96c3814863a7746b81c744d2a6d65d5
https://github.com/llvm/llvm-project/commit/ccbba2cdb96c3814863a7746b81c744d2a6d65d5
Author: erichkeane <ekeane at nvidia.com>
Date: 2025-05-12 (Mon, 12 May 2025)
Changed paths:
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/lib/Parse/ParseOpenACC.cpp
M clang/test/ParserOpenACC/parse-clauses.c
Log Message:
-----------
[OpenACC] Fix assert when parsing 'bind' clause
I'd misunderstood how the ParseStringLiteralExpression function worked,
so I assumed it would catch non-string literals, however it instead
asserted. This patch now checks for that case and diagnoses.
Fixes: #139346
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