[all-commits] [llvm/llvm-project] 191d48: [flang] Finer control over warnings

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue May 16 13:56:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 191d48723f8b853a6ad65532c173c67155cbe606
      https://github.com/llvm/llvm-project/commit/191d48723f8b853a6ad65532c173c67155cbe606
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-05-16 (Tue, 16 May 2023)

  Changed paths:
    M flang/include/flang/Common/Fortran-features.h
    M flang/include/flang/Frontend/CompilerInvocation.h
    M flang/include/flang/Semantics/semantics.h
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Semantics/assignment.cpp
    M flang/lib/Semantics/check-call.cpp
    M flang/lib/Semantics/check-call.h
    M flang/lib/Semantics/check-declarations.cpp
    M flang/lib/Semantics/check-do-forall.cpp
    M flang/lib/Semantics/check-io.cpp
    M flang/lib/Semantics/data-to-inits.cpp
    M flang/lib/Semantics/expression.cpp
    M flang/lib/Semantics/pointer-assignment.cpp
    M flang/lib/Semantics/pointer-assignment.h
    M flang/lib/Semantics/resolve-labels.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/assign09.f90
    M flang/test/Semantics/associate01.f90
    M flang/test/Semantics/bindings03.f90
    M flang/test/Semantics/call03.f90
    M flang/test/Semantics/call07.f90
    M flang/test/Semantics/call21.f90
    M flang/test/Semantics/call30.f90
    M flang/test/Semantics/call33.f90
    M flang/test/Semantics/call34.f90
    M flang/test/Semantics/resolve31.f90
    M flang/test/Semantics/resolve59.f90
    M flang/test/Semantics/structconst03.f90
    M flang/test/Semantics/structconst04.f90
    M flang/test/Semantics/transfer01.f90
    M flang/tools/f18-parse-demo/f18-parse-demo.cpp

  Log Message:
  -----------
  [flang] Finer control over warnings

Establish a set of optional usage warnings, and enable some
only in "-pedantic" mode that, in our subjective experience
with application codes, seem to issue frequently without
indicating usage that really needs to be corrected.  By default,
with this patch the compiler should appear to be somewhat less
persnickety but not less informative.

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




More information about the All-commits mailing list