[all-commits] [llvm/llvm-project] 9244be: [TableGen] Avoid generating switch with just default

David Stuttard via All-commits all-commits at lists.llvm.org
Tue Jun 2 11:51:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9244be7b0514c41e0fa8a2880595fa663cc2f85f
      https://github.com/llvm/llvm-project/commit/9244be7b0514c41e0fa8a2880595fa663cc2f85f
  Author: dstuttar <david.stuttard at amd.com>
  Date:   2020-06-02 (Tue, 02 Jun 2020)

  Changed paths:
    M llvm/utils/TableGen/GlobalISel/GIMatchTree.cpp

  Log Message:
  -----------
  [TableGen] Avoid generating switch with just default

Summary:
Switch with just default causes an MSVC warning (warning C4065: switch statement
contains 'default' but no 'case' labels).

Change-Id: I9ddeccdef93666256b5454b164b567b73b488461

Subscribers: llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list