[all-commits] [llvm/llvm-project] b67536: [Clang][NFCI] Make unchanged global state const (#...

Steffen Larsen via All-commits all-commits at lists.llvm.org
Tue Mar 3 00:07:30 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b67536954eb1ce439b203073ba297f557a153eaa
      https://github.com/llvm/llvm-project/commit/b67536954eb1ce439b203073ba297f557a153eaa
  Author: Steffen Larsen <sholstla at amd.com>
  Date:   2026-03-03 (Tue, 03 Mar 2026)

  Changed paths:
    M clang/include/clang/Basic/TargetCXXABI.h
    M clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h
    M clang/lib/AST/TypePrinter.cpp
    M clang/lib/Basic/Targets/AVR.cpp
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/ModuleBuilder.cpp
    M clang/lib/Driver/Distro.cpp
    M clang/lib/Options/DriverOptions.cpp
    M clang/lib/Sema/SemaOpenACCClauseAppertainment.cpp
    M clang/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp
    M clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp

  Log Message:
  -----------
  [Clang][NFCI] Make unchanged global state const (#183478)

To avoid modifications to global state that does not currently need to
be modified, this patch makes a selection of trivial cases const. This
aims to help preserve the intention of these variables and reduce the
potential mutable global state surface of clang.

---------

Signed-off-by: Steffen Holst Larsen <sholstla at amd.com>



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