[all-commits] [llvm/llvm-project] 50264f: Adding missing filter check to SourceMgrDiagnostic...

paynecl via All-commits all-commits at lists.llvm.org
Wed Aug 4 16:54:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50264ff88ab1ed40119f13d482b0cc8326c1e95d
      https://github.com/llvm/llvm-project/commit/50264ff88ab1ed40119f13d482b0cc8326c1e95d
  Author: Catherine Payne <paynecl at google.com>
  Date:   2021-08-04 (Wed, 04 Aug 2021)

  Changed paths:
    M mlir/lib/IR/Diagnostics.cpp

  Log Message:
  -----------
  Adding missing filter check to SourceMgrDiagnosticHandler::EmitDiagnostics

There is a case in EmitDiagnostics where the filter check is bypassed (when locationStack is empty).   Filter might also be bypassed when loc instead of showableLoc is added to the locationStack.

Reviewed By: rriddle

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




More information about the All-commits mailing list