[all-commits] [llvm/llvm-project] 99e6ef: [clang][NFC] Add missing placement-new after Alloc...

Vlad Serebrennikov via All-commits all-commits at lists.llvm.org
Fri Oct 6 04:50:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99e6ef3e7c6e342beb2ad6b5e64d1e5fd2f24d2b
      https://github.com/llvm/llvm-project/commit/99e6ef3e7c6e342beb2ad6b5e64d1e5fd2f24d2b
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M clang/lib/AST/DeclCXX.cpp
    M clang/lib/AST/DeclObjC.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp

  Log Message:
  -----------
  [clang][NFC] Add missing placement-new after Allocate() calls (#68382)

While working on #68377 inspecting `Allocate()` calls, I found out that
there are couple of places where we forget to use placement-new to
create objects in the allocated memory.




More information about the All-commits mailing list