[all-commits] [llvm/llvm-project] cd6022: [clang][NFC] Refactor `ConstantExpr::ResultStorage...

Vlad Serebrennikov via All-commits all-commits at lists.llvm.org
Sat Nov 4 03:28:46 PDT 2023


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

  Changed paths:
    M clang-tools-extra/clangd/refactor/tweaks/PopulateSwitch.cpp
    M clang/include/clang/AST/Expr.h
    M clang/include/clang/AST/Stmt.h
    M clang/lib/AST/Expr.cpp
    M clang/lib/Serialization/ASTReaderStmt.cpp
    M clang/lib/Serialization/ASTWriterStmt.cpp

  Log Message:
  -----------
  [clang][NFC] Refactor `ConstantExpr::ResultStorageKind`

This patch converts `ConstantExpr::ResultStorageKind` to a scoped enum in namespace scoped `ConstantResultStorageKind`. This patch makes it possible to forward-declare this enum where it's necessery, e.g. for `preferred_type` annotation for bit-fields.




More information about the All-commits mailing list