[all-commits] [llvm/llvm-project] 9be863: Add a missing override keyword. NFC.

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Thu Aug 25 05:51:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9be8630ca9445b3370385bdbce9b7919f267e38a
      https://github.com/llvm/llvm-project/commit/9be8630ca9445b3370385bdbce9b7919f267e38a
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2022-08-25 (Thu, 25 Aug 2022)

  Changed paths:
    M clang/lib/Basic/Targets/X86.h

  Log Message:
  -----------
  Add a missing override keyword. NFC.

clang/lib/Basic/Targets/X86.h:293:8: warning: 'shouldEmitFloat16WithExcessPrecision' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  bool shouldEmitFloat16WithExcessPrecision() const {
       ^
clang/include/clang/Basic/TargetInfo.h:915:16: note: overridden virtual function is here
  virtual bool shouldEmitFloat16WithExcessPrecision() const { return false; }
               ^




More information about the All-commits mailing list