[all-commits] [llvm/llvm-project] 66890c: [OpenMP][NFC] Cleanup clause boilerplate

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Mon Dec 19 14:33:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66890ce0b3d384225302d8c95817a51954102891
      https://github.com/llvm/llvm-project/commit/66890ce0b3d384225302d8c95817a51954102891
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M clang/include/clang/AST/OpenMPClause.h
    M clang/lib/AST/OpenMPClause.cpp

  Log Message:
  -----------
  [OpenMP][NFC] Cleanup clause boilerplate

- Add helper classes to avoid duplicated boilerplate.
- Add `final` for classes inheriting from those helpers.
- Fix a `struct` vs `class` mismatch.

Differential Revision: https://reviews.llvm.org/D140336




More information about the All-commits mailing list