[all-commits] [llvm/llvm-project] ed1d90: [clang][NFC] simplify the unset check in `ParseLab...

Congcong Cai via All-commits all-commits at lists.llvm.org
Sat Nov 23 19:00:02 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed1d90ca11b1834e667e17255ba2ecf6fe305e8c
      https://github.com/llvm/llvm-project/commit/ed1d90ca11b1834e667e17255ba2ecf6fe305e8c
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2024-11-24 (Sun, 24 Nov 2024)

  Changed paths:
    M clang/lib/Parse/ParseStmt.cpp

  Log Message:
  -----------
  [clang][NFC] simplify the unset check in `ParseLabeledStatement` (#117430)

`!isInvalid && !isUsable -> !isInvalid && !(!isInvalid && !isUnset) ->
isUnset`
It is more simple to understand.



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