[all-commits] [llvm/llvm-project] aace1e: [flang] Improve error message with declaration (#8...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Apr 8 11:55:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aace1e1719a1610ce9fa93c7dae38a4272d7b6bf
      https://github.com/llvm/llvm-project/commit/aace1e1719a1610ce9fa93c7dae38a4272d7b6bf
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-04-08 (Mon, 08 Apr 2024)

  Changed paths:
    M flang/include/flang/Parser/char-block.h
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/resolve21.f90

  Log Message:
  -----------
  [flang] Improve error message with declaration (#87294)

When a program attempts to use a non-object entity as the base of a
component reference or type parameter inquiry, the message is somewhat
uninformative and the position of the entity's declaration will not
reflect any updates made to the symbol during name resolution.

Includes some NFC C++17 style clean-up on some code noticed while
debugging (missing mandatory braces).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list