[all-commits] [llvm/llvm-project] efcf19: Changed Checks from TriviallyCopyable to Trivially...

Bhuminjay Soni via All-commits all-commits at lists.llvm.org
Tue Jan 9 23:28:12 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: efcf192a0a5993165f837ce71250fb6df689634b
      https://github.com/llvm/llvm-project/commit/efcf192a0a5993165f837ce71250fb6df689634b
  Author: Bhuminjay Soni <76656712+11happy at users.noreply.github.com>
  Date:   2024-01-10 (Wed, 10 Jan 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/DeclCXX.h
    M clang/include/clang/AST/Type.h
    M clang/lib/AST/DeclCXX.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/Sema/SemaStmt.cpp
    M clang/test/SemaCXX/warn-range-loop-analysis-trivially-copyable.cpp

  Log Message:
  -----------
  Changed Checks from TriviallyCopyable to TriviallyCopyConstructible  (#77194)

**Overview:**
Fix a bug where Clang's range-loop-analysis incorrectly checks for trivial copyability instead
of trivial copy constructibility, leading to erroneous warnings.

Fixes #47355




More information about the All-commits mailing list