[all-commits] [llvm/llvm-project] 4eed80: [NFC] Fix the signature and definition of findByPr...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Fri Sep 11 04:39:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4eed800b18abaeba3082bf950fbe5c3020c4b592
      https://github.com/llvm/llvm-project/commit/4eed800b18abaeba3082bf950fbe5c3020c4b592
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2020-09-11 (Fri, 11 Sep 2020)

  Changed paths:
    M llvm/include/llvm/Option/OptTable.h
    M llvm/lib/Option/OptTable.cpp

  Log Message:
  -----------
  [NFC] Fix the signature and definition of findByPrefix

In https://reviews.llvm.org/rG257b29715bb27b7d9f6c3c40c481b6a4af0b37e5,
the definition of OptTable::Info::Flags was changed from `unsigned
short` to `unsigned int`, but the definition/declaration of
OptTable::findByPrefix wasn't updated to reflect that.

This patch updates findByPrefix accordingly.




More information about the All-commits mailing list