[all-commits] [llvm/llvm-project] 4de66e: [clang] __is_trivially_equality_comparable should ...
philnik777 via All-commits
all-commits at lists.llvm.org
Mon Jun 26 09:37:14 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4de66e8c44348fb1e85268b10a7f862381e695c7
https://github.com/llvm/llvm-project/commit/4de66e8c44348fb1e85268b10a7f862381e695c7
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2023-06-26 (Mon, 26 Jun 2023)
Changed paths:
M clang/lib/AST/Type.cpp
M clang/test/SemaCXX/type-traits.cpp
Log Message:
-----------
[clang] __is_trivially_equality_comparable should return false for arrays
When comparing two arrays, their pointers are compared instead of their elements, which means that they are not trivially equality comparable
Fixes #63371
Reviewed By: cor3ntin
Spies: cor3ntin, cfe-commits
Differential Revision: https://reviews.llvm.org/D153737
More information about the All-commits
mailing list