[all-commits] [llvm/llvm-project] 7445f1: [NFC] Mark Expected<T>::assertIsChecked() as const

xndcn via All-commits all-commits at lists.llvm.org
Thu Jul 8 06:32:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7445f1e4dcd4525ab1f04f3cebfda341ec2eb716
      https://github.com/llvm/llvm-project/commit/7445f1e4dcd4525ab1f04f3cebfda341ec2eb716
  Author: xndcn <xndchn at gmail.com>
  Date:   2021-07-08 (Thu, 08 Jul 2021)

  Changed paths:
    M llvm/include/llvm/Support/Error.h
    M llvm/unittests/Support/ErrorTest.cpp

  Log Message:
  -----------
  [NFC] Mark Expected<T>::assertIsChecked() as const

Some const methods of Expected<T> invoke assertIsChecked(),
so we should mark it as const too.

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




More information about the All-commits mailing list