[all-commits] [llvm/llvm-project] 690bf6: [clang] Support `__is_trivially_copyable(int()&)==...
Amirreza Ashouri via All-commits
all-commits at lists.llvm.org
Tue Mar 5 01:07:13 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 690bf64f077a281d434537b0907c9fc170123dcc
https://github.com/llvm/llvm-project/commit/690bf64f077a281d434537b0907c9fc170123dcc
Author: Amirreza Ashouri <ar.ashouri999 at gmail.com>
Date: 2024-03-05 (Tue, 05 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Parse/ParseExprCXX.cpp
M clang/test/Sema/static-assert.c
M clang/test/SemaCXX/type-traits-nonobject.cpp
Log Message:
-----------
[clang] Support `__is_trivially_copyable(int()&)==false` (#81298)
IMHO it would be productive to make a similar change for `typeid`, in
`ParseCXXTypeid`, in order to improve Clang's error message for
https://godbolt.org/z/oKKWxeYra
But that might be better done by adding a new DeclaratorContext
specifically for TypeidArg, instead of pretending that the argument to
`typeid` is a template argument, because I don't know what else that
change might affect.
Fixes #77585
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