[all-commits] [llvm/llvm-project] c649d3: [flang][warnings] systematically guard warnings (#...
Andre Kuhlenschmidt via All-commits
all-commits at lists.llvm.org
Wed Aug 27 10:08:47 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c649d31c596e6ca4a19103abba6499ff904ed9cc
https://github.com/llvm/llvm-project/commit/c649d31c596e6ca4a19103abba6499ff904ed9cc
Author: Andre Kuhlenschmidt <andre.kuhlenschmidt at gmail.com>
Date: 2025-08-27 (Wed, 27 Aug 2025)
Changed paths:
M flang/include/flang/Evaluate/common.h
M flang/include/flang/Evaluate/tools.h
M flang/include/flang/Parser/message.h
M flang/include/flang/Semantics/semantics.h
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Evaluate/common.cpp
M flang/lib/Evaluate/fold-character.cpp
M flang/lib/Evaluate/fold-complex.cpp
M flang/lib/Evaluate/fold-implementation.h
M flang/lib/Evaluate/fold-integer.cpp
M flang/lib/Evaluate/fold-logical.cpp
M flang/lib/Evaluate/fold-matmul.h
M flang/lib/Evaluate/fold-real.cpp
M flang/lib/Evaluate/fold-reduction.h
M flang/lib/Evaluate/fold.cpp
M flang/lib/Evaluate/host.cpp
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Evaluate/variable.cpp
M flang/lib/Parser/preprocessor.cpp
M flang/lib/Parser/prescan.h
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/test/Semantics/spec-expr.f90
Log Message:
-----------
[flang][warnings] systematically guard warnings (#154234)
This change modifies the messages API to make it impossible to forget to
call ShouldWarn by moving the call inside of the API. The low level API
should be avoided and developers should call Warn on a SemanticContext
or FoldingContext.
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