[all-commits] [llvm/llvm-project] ef6172: [clang] Apply lvalue conversions to __builtin_clas...
keinflue via All-commits
all-commits at lists.llvm.org
Tue Mar 24 07:20:08 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef6172f32757aff6e4c4bb237ed3132d7ef24c12
https://github.com/llvm/llvm-project/commit/ef6172f32757aff6e4c4bb237ed3132d7ef24c12
Author: keinflue <keinflue at posteo.de>
Date: 2026-03-24 (Tue, 24 Mar 2026)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaChecking.cpp
M clang/test/SemaCXX/builtin-classify-type.cpp
Log Message:
-----------
[clang] Apply lvalue conversions to __builtin_classify_type argument (#175627)
According to GCC documentation default argument promotion is applied to
the argument, which includes the function-to-pointer and
array-to-pointer lvalue conversions.
This also implies checking of the argument for placeholder types.
Fixes #175589.
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