[all-commits] [llvm/llvm-project] cd387e: [pseudo] Squash some warnings. NFC

Sam McCall via All-commits all-commits at lists.llvm.org
Wed May 18 23:20:39 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd387e43bf89438a83352d47e3d33bc34b697761
      https://github.com/llvm/llvm-project/commit/cd387e43bf89438a83352d47e3d33bc34b697761
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2022-05-19 (Thu, 19 May 2022)

  Changed paths:
    M clang-tools-extra/pseudo/include/clang-pseudo/Forest.h
    M clang-tools-extra/pseudo/lib/LRTable.cpp

  Log Message:
  -----------
  [pseudo] Squash some warnings. NFC

Explicitly sizing Kind enum suggests that too-large values are allowed,
and that putting it in a bitfield is dangerous.

GCC doesn't like condition ? integer : enum.




More information about the All-commits mailing list