[all-commits] [llvm/llvm-project] 6f57b6: [flang][semantics] Clean up -frelaxed-c-loc-checks...
Andre Kuhlenschmidt via All-commits
all-commits at lists.llvm.org
Wed Jun 10 12:48:25 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6f57b648974fb90cc6c495c83596e3022a42c146
https://github.com/llvm/llvm-project/commit/6f57b648974fb90cc6c495c83596e3022a42c146
Author: Andre Kuhlenschmidt <andre.kuhlenschmidt at gmail.com>
Date: 2026-06-10 (Wed, 10 Jun 2026)
Changed paths:
M flang/docs/Extensions.md
M flang/include/flang/Support/Fortran-features.h
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Support/Fortran-features.cpp
M flang/test/Semantics/c_loc01-relaxed.f90
Log Message:
-----------
[flang][semantics] Clean up -frelaxed-c-loc-checks warning flag handling (#203071)
When I originally implemented this I was confused about how
LanguageFeature warning flags work. Drop the separate UsageWarning::CLoc
in favour of using LanguageFeature::RelaxedCLocChecks (renamed from
RelaxedCLoc to match the feature flag) as the warning flag directly. The
warning is off by default since the user has already opted into this
extension using the feature flag; use -Wrelaxed-c-loc-checks alongside
-frelaxed-c-loc-checks to opt in. Update the test and docs accordingly.
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