[all-commits] [llvm/llvm-project] 051c49: [clang][test] Remove an uninitialized read in a te...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sat Sep 12 22:51:09 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 051c49202368a8478661548b5b8de03549d9d183
      https://github.com/llvm/llvm-project/commit/051c49202368a8478661548b5b8de03549d9d183
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2026-09-13 (Sun, 13 Sep 2026)

  Changed paths:
    M clang/test/SemaCXX/ms-ctor-closure.cpp

  Log Message:
  -----------
  [clang][test] Remove an uninitialized read in a test case (#223120)

This test case was added in
https://github.com/llvm/llvm-project/pull/222212. Its purpose is to
check that explicit constructor calls work at compile time.

However, the test case left var.a uninitialized and the copy constructor
reads an unitialized value. MSVC diagnoses this, but clang currently
fails to do so.

Change the test case to remove the unrelated problem of an uninitialized
read.



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