[all-commits] [llvm/llvm-project] 15375d: [flang][openacc] change option feature flag names ...

Andre Kuhlenschmidt via All-commits all-commits at lists.llvm.org
Wed Jun 3 09:18:05 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15375d84799ec260d101aa35670f61fa456b6a4e
      https://github.com/llvm/llvm-project/commit/15375d84799ec260d101aa35670f61fa456b6a4e
  Author: Andre Kuhlenschmidt <andre.kuhlenschmidt at gmail.com>
  Date:   2026-06-03 (Wed, 03 Jun 2026)

  Changed paths:
    M clang/include/clang/Options/FlangOptions.td
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/docs/OpenACC-extensions.md
    M flang/include/flang/Support/Fortran-features.h
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/lib/Support/Fortran-features.cpp
    A flang/test/Semantics/OpenACC/acc-default-none-scalars-strict.f90
    M flang/test/Semantics/OpenACC/acc-default-none-scalars.f90

  Log Message:
  -----------
  [flang][openacc] change option feature flag names to address comments. (#200037)

- Fixes FeatureFlags and CLI flags to use OpenACC instead of ACC.
- Offline comments further refined the name to be
OpenACCDefaultNoneScalarsStrict
- Which changes the semantics requiring the user to opt out of the
default behavior, instead of opt-in to an extension.
- Also makes the CLI flag OptOut instead of OptIn to match the cli
behavior.
- Gets rid of the unneeded warning flag since FeatureFlags have both a
disabled bit and a warning bit.
- Updates old test for these changes and adds a new test to document all
the different cli configurations.



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