[all-commits] [llvm/llvm-project] 7ca7bc: [clang-repl] Ensure clang-repl accepts all C keywo...
Anutosh Bhat via All-commits
all-commits at lists.llvm.org
Wed Jun 4 22:54:12 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7ca7bcb7d8dcf26fc0281697fe47aa6cdb3884c0
https://github.com/llvm/llvm-project/commit/7ca7bcb7d8dcf26fc0281697fe47aa6cdb3884c0
Author: Anutosh Bhat <andersonbhat491 at gmail.com>
Date: 2025-06-05 (Thu, 05 Jun 2025)
Changed paths:
M clang/lib/Parse/ParseTentative.cpp
M clang/test/Interpreter/disambiguate-decl-stmt.cpp
Log Message:
-----------
[clang-repl] Ensure clang-repl accepts all C keywords supported in all language models (#142749)
As can be seen through the docs
(https://github.com/llvm/llvm-project/blob/7e1fa09ce2a228c949ce4490c98f2c73ed8ada00/clang/docs/LanguageExtensions.rst#c-keywords-supported-in-all-language-modes),
Clang supports certain C keywords in all language modes — this patch
ensures clang-repl handles them consistently.
Here's an example testing all the above keywords. We have everything in
place except `_Imaginary` (_Complex works but _Imaginary doesn't which
was weird) and `_Noreturn`
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