[all-commits] [llvm/llvm-project] 50dec5: [clang][NFC] Refactor `OMPDeclareReductionDecl::In...

Vlad Serebrennikov via All-commits all-commits at lists.llvm.org
Wed Nov 1 02:40:52 PDT 2023


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

  Changed paths:
    M clang/include/clang/AST/DeclBase.h
    M clang/include/clang/AST/DeclOpenMP.h
    M clang/lib/AST/DeclOpenMP.cpp
    M clang/lib/AST/DeclPrinter.cpp
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp

  Log Message:
  -----------
  [clang][NFC] Refactor `OMPDeclareReductionDecl::InitKind`

This patch moves `OMPDeclareReductionDecl::InitKind` to DeclBase.h, so that it's complete at the point where corresponding bit-field is declared. This patch also converts it to scoped enum named `OMPDeclareReductionInitKind`




More information about the All-commits mailing list