[all-commits] [llvm/llvm-project] 0a5692: [LLDB][NFC] Fix LLDB_WATCH_TYPE_IS_VALID macro

fixathon via All-commits all-commits at lists.llvm.org
Tue Aug 2 13:05:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a569274cb3b10401593ebd6eef01b74abbf4504
      https://github.com/llvm/llvm-project/commit/0a569274cb3b10401593ebd6eef01b74abbf4504
  Author: Slava Gurevich <sgurevich at gmail.com>
  Date:   2022-08-02 (Tue, 02 Aug 2022)

  Changed paths:
    M lldb/include/lldb/lldb-defines.h

  Log Message:
  -----------
  [LLDB][NFC] Fix LLDB_WATCH_TYPE_IS_VALID macro

LLDB_WATCH_TYPE_IS_VALID would always return true when validating watchpoint type
by using bitwise-or instead of bitwise-and to apply validation flags.

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




More information about the All-commits mailing list