[all-commits] [llvm/llvm-project] ace448: [clang][NFC] Refactor `CXXNewExpr::InitializationS...

Vlad Serebrennikov via All-commits all-commits at lists.llvm.org
Mon Nov 6 05:34:35 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ace4489397d17abfb20d36de1404cfbe102401a7
      https://github.com/llvm/llvm-project/commit/ace4489397d17abfb20d36de1404cfbe102401a7
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2023-11-06 (Mon, 06 Nov 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp
    M clang/include/clang/AST/ExprCXX.h
    M clang/lib/AST/ExprCXX.cpp
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/AST/JSONNodeDumper.cpp
    M clang/lib/AST/StmtPrinter.cpp
    M clang/lib/AST/StmtProfile.cpp
    M clang/lib/Sema/SemaExprCXX.cpp

  Log Message:
  -----------
  [clang][NFC] Refactor `CXXNewExpr::InitializationStyle` (#71322)

This patch converts `CXXNewExpr::InitializationStyle` into a scoped enum at namespace scope. It also affirms the status quo by adding a new enumerator to represent implicit initializer.




More information about the All-commits mailing list