[AST][SVE] Treat built-in SVE types as trivially copyable
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 5 Mar 2020 20:12:27 +0000 (20:12 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Fri, 27 Mar 2020 17:32:55 +0000 (17:32 +0000)
commit35392660e6d5cb8d47e1fd33995d660576eff5de
tree3034e50ee53670bd14bde5c97d7ab7a043e1204b
parent763c87309da149ec7984d7d75c98749b6e05d060
[AST][SVE] Treat built-in SVE types as trivially copyable

SVE types are trivially copyable: they can be copied simply
by reproducing the byte representation of the source object.

Differential Revision: https://reviews.llvm.org/D76691
clang/lib/AST/Type.cpp
clang/test/SemaCXX/sizeless-1.cpp