[all-commits] [llvm/llvm-project] 32150a: [Clang][OpenMP] NFC: Eliminate `Create/CreateEmpty...

Amit Tiwari via All-commits all-commits at lists.llvm.org
Sun Sep 20 23:34:10 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32150a848d65af432361296bd4a2d7b7de6f01e1
      https://github.com/llvm/llvm-project/commit/32150a848d65af432361296bd4a2d7b7de6f01e1
  Author: Amit Tiwari <Amit.Tiwari at amd.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M clang/include/clang/AST/OpenMPClause.h
    M clang/lib/AST/OpenMPClause.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/lib/Serialization/ASTReader.cpp

  Log Message:
  -----------
  [Clang][OpenMP] NFC: Eliminate `Create/CreateEmpty` for scalar clause (#224935)

Use a normal constructor when the clause has a fixed size.
Keep `Create/CreateEmpty` only when the object needs extra tail storage.

Covers: `looprange, full, partial, bind, depobj, align`



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