<commit_before>class LlvmAT11 < Formula
  desc "Next-gen compiler infrastructure"
  homepage "https://llvm.org/"
  url "https://github.com/llvm/llvm-project/releases/download/llvmorg-11.1.0/llvm-project-11.1.0.src.tar.xz"
  sha256 "74d2529159fd118c3eac6f90107b5611bccc6f647fdea104024183e8d5e25831"
  # The LLVM Project is under the Apache License v2.0 with LLVM Exceptions
  license "Apache-2.0" => { with: "LLVM-exception" }
  revision 4

  # This should be removed when LLVM 13 is released, so we only check the
  # current version (the `llvm` formula) and one major version before it
  # (to catch any patch version that may appear, however uncommon).
  livecheck do
    url "https://releases.llvm.org/"
    regex(/["'](11(?:\.\d+)+)["']/i)
  end

  bottle do
    sha256 cellar: :any,                 arm64_monterey: "a0eef7340eed1570d0585eb89935f92cb9c30dc1bbee28c24750267784ddbb9c"
    sha256 cellar: :any,                 arm64_big_sur:  "0441f32a33dc14393118ff9d047af44d8fa7b87648b09c1e2ffa5c69d3d0c032"
    sha256 cellar: :any,                 monterey:       "2e2df0f2643ff97e9b3f7d87c610cf76b116d1b82d31e307473e1e8347ecacb6"
    sha256 cellar: :any,                 big_sur:        "8b9e7e448f801daad56d3180cccf190486bd785c551aeb37300a5296f1d9e81b"
    sha256 cellar: :any,                 catalina:       "47e26656712ba5efa159d2f42334972bf8c510ffa48f0c6ff35d8e55af1b9d94"
    sha256 cellar: :any,                 mojave:         "c7cd19b7849a499acd3d68648fadf9c8283ce47bd1706931c2f3223e8c97d8ac"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "0fefecb000c832d751022756e68888df5bacce3dcd442515573b080c46859834"
  end

  # Clang cannot find system headers if Xcode CLT is not installed
  pour_bottle? only_if: :clt_installed

  keg_only :versioned_formula

  # https://llvm.org/docs/GettingStarted.html#requirement
  # We intentionally use Make instead of Ninja.
  # See: Homebrew/homebrew-core/issues/35513
  depends_on "cmake" => :build
  depends_on "swig" => :build
  depends_on "python@3.10"

  uses_from_macos "libedit"
  uses_from_macos "libffi", since: :catalina
  uses_from_macos "libxml2"
  uses_from_macos "ncurses"
  uses_from_macos "zlib"

  on_linux do
    depends_on "glibc" if Formula["glibc"].any_version_installed?<commit_msg>llvm@11: update 11.1.0_4 bottle.<commit_after>class LlvmAT11 < Formula
  desc "Next-gen compiler infrastructure"
  homepage "https://llvm.org/"
  url "https://github.com/llvm/llvm-project/releases/download/llvmorg-11.1.0/llvm-project-11.1.0.src.tar.xz"
  sha256 "74d2529159fd118c3eac6f90107b5611bccc6f647fdea104024183e8d5e25831"
  # The LLVM Project is under the Apache License v2.0 with LLVM Exceptions
  license "Apache-2.0" => { with: "LLVM-exception" }
  revision 4

  # This should be removed when LLVM 13 is released, so we only check the
  # current version (the `llvm` formula) and one major version before it
  # (to catch any patch version that may appear, however uncommon).
  livecheck do
    url "https://releases.llvm.org/"
    regex(/["'](11(?:\.\d+)+)["']/i)
  end

  bottle do
    sha256 cellar: :any,                 arm64_monterey: "1f9a2e81762d314611a01ac17cafa7cd8b0c2fc92d697a5cec9555e9e1598497"
    sha256 cellar: :any,                 arm64_big_sur:  "64552a671357b02596313def4711086027b3e49079d65588dcca75572b87108d"
    sha256 cellar: :any,                 monterey:       "4a368a132b47fa0b3c9678927d59b5bb4fee1538d4fab9f049fc80cf83464830"
    sha256 cellar: :any,                 big_sur:        "375a61e449b4d1bbb9b3633a4b55d1676df0eb3943b6fcef3dc3355ad50d5539"
    sha256 cellar: :any,                 catalina:       "00b2c6b12d4603e8e7fa472aa3c16ed7283d3feae15f0799e90632d1bcf192ab"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "46be09876c5a0c71d98f0d63e7eaaa323c3af97207670a691138ef743f6344de"
  end

  # Clang cannot find system headers if Xcode CLT is not installed
  pour_bottle? only_if: :clt_installed

  keg_only :versioned_formula

  # https://llvm.org/docs/GettingStarted.html#requirement
  # We intentionally use Make instead of Ninja.
  # See: Homebrew/homebrew-core/issues/35513
  depends_on "cmake" => :build
  depends_on "swig" => :build
  depends_on "python@3.10"

  uses_from_macos "libedit"
  uses_from_macos "libffi", since: :catalina
  uses_from_macos "libxml2"
  uses_from_macos "ncurses"
  uses_from_macos "zlib"

  on_linux do
    depends_on "glibc" if Formula["glibc"].any_version_installed?
{'fraction_non_alphanumeric': 0.08802896582937317, 'fraction_numerical': 0.16745870106358904, 'mean_word_length': 3.9551569506726456, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5855810', 'n_tokens_mistral': 2165, 'n_tokens_neox': 1760, 'n_words': 323}