[all-commits] [llvm/llvm-project] 51797a: [clang][OpenMP] Unindent `checkNestingOfRegions`, NFC

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Mon Jul 1 08:47:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51797a7c55c42a2a49b9210b150e0eb63c7975f0
      https://github.com/llvm/llvm-project/commit/51797a7c55c42a2a49b9210b150e0eb63c7975f0
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

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

  Log Message:
  -----------
  [clang][OpenMP] Unindent `checkNestingOfRegions`, NFC

The entire body of the function is inside of an if-statement, followed
by a "return false". Invert the condition and return early, unindent
and clang-format the function.



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