[all-commits] [llvm/llvm-project] 1c602c: [libc] Define away __restrict in C++ without GNU e...
Roland McGrath via All-commits
all-commits at lists.llvm.org
Mon Nov 4 11:23:49 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1c602c5fe5d0a22e9accc08fda4ea50f49938476
https://github.com/llvm/llvm-project/commit/1c602c5fe5d0a22e9accc08fda4ea50f49938476
Author: Roland McGrath <mcgrathr at google.com>
Date: 2024-11-04 (Mon, 04 Nov 2024)
Changed paths:
M libc/include/__llvm-libc-common.h
Log Message:
-----------
[libc] Define away __restrict in C++ without GNU extensions (#114655)
The C99 restrict keyword is spelled __restrict in the libc
headers so it can be parsed by C++ compilers with GNU extensions
that recognize it. When GNU extensions are not available in C++
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