[all-commits] [llvm/llvm-project] 3ac37e: Silence compiler warnings

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Mon Feb 24 02:47:39 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ac37eb9a93a4009f58c29497aa141fc103f4c45
      https://github.com/llvm/llvm-project/commit/3ac37eb9a93a4009f58c29497aa141fc103f4c45
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2020-02-24 (Mon, 24 Feb 2020)

  Changed paths:
    M mlir/lib/Parser/Parser.cpp

  Log Message:
  -----------
  Silence compiler warnings

mlir/lib/Parser/Parser.cpp:4484:15: warning: 'parseAssignmentList' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  ParseResult parseAssignmentList(SmallVectorImpl<OperandType> &lhs,
              ^
mlir/include/mlir/IR/OpImplementation.h:662:3: note: overridden virtual function is here
  parseAssignmentList(SmallVectorImpl<OperandType> &lhs,
  ^
mlir/lib/Parser/Parser.cpp:4488:12: warning: unused variable 'type' [-Wunused-variable]
      Type type;
           ^




More information about the All-commits mailing list