[all-commits] [llvm/llvm-project] e66ff2: [flang] Supply missing source location for a message

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Oct 6 14:45:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e66ff2a284de9067e63f89f056d8075def139b0b
      https://github.com/llvm/llvm-project/commit/e66ff2a284de9067e63f89f056d8075def139b0b
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

  Changed paths:
    M flang/lib/Semantics/check-select-type.cpp
    M flang/test/Semantics/selecttype01.f90

  Log Message:
  -----------
  [flang] Supply missing source location for a message

An error message in semantic analysis of SELECT TYPE type guards
doesn't allow for the possibility of failure from FindSourceLocation(),
and that can happen when the type guard is just an intrinsic type
name like "type is (character)".  Deal with it.

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




More information about the All-commits mailing list