[all-commits] [llvm/llvm-project] dc56a8: [clang] Fix 71315698c9 in presence of incomplete t...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Wed Oct 30 00:32:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc56a86b96d77a93f761995d50f7b2f112856311
      https://github.com/llvm/llvm-project/commit/dc56a86b96d77a93f761995d50f7b2f112856311
  Author: serge-sans-paille <sguelton at mozilla.com>
  Date:   2024-10-30 (Wed, 30 Oct 2024)

  Changed paths:
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/SemaCXX/constexpr-string.cpp
    M clang/test/SemaCXX/warn-memaccess.cpp

  Log Message:
  -----------
  [clang] Fix 71315698c9 in presence of incomplete types (#114095)

Incomplete types are not considered trivially copyable by clang but we
don't want to warn about invalid argument for memcpy / memset in that
case because we cannot prove they are not Trivially Copyable.



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