[all-commits] [llvm/llvm-project] c41a8f: [Clang][OpenMP] Refactor checking for mutually exc...

Michael Kruse via All-commits all-commits at lists.llvm.org
Sun Jun 6 07:50:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c41a8fbfbb096995367947e5ef7d36501b04d493
      https://github.com/llvm/llvm-project/commit/c41a8fbfbb096995367947e5ef7d36501b04d493
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2021-06-06 (Sun, 06 Jun 2021)

  Changed paths:
    M clang/lib/Sema/SemaOpenMP.cpp

  Log Message:
  -----------
  [Clang][OpenMP] Refactor checking for mutually exclusive clauses. NFC.

Multiple clauses are mutually exclusive. This patch refactors the functions that check for pairs of mutually exclusive clauses into a generalized function which also also accepts a list of clause types if which at most one can appear.

NFC patch extracted out of D99459 by request.

Reviewed By: ABataev

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




More information about the All-commits mailing list