<commit_before>class Ccls < Formula
  desc "C/C++/ObjC language server"
  homepage "https://github.com/MaskRay/ccls"
  url "https://github.com/MaskRay/ccls/archive/0.20220729.tar.gz"
  sha256 "af19be36597c2a38b526ce7138c72a64c7fb63827830c4cff92256151fc7a6f4"
  license "Apache-2.0"
  revision 1
  head "https://github.com/MaskRay/ccls.git", branch: "master"

  bottle do
    sha256                               arm64_monterey: "7761300607dbe0555d4057810a65a4f7c2f40e8a89e2e4ca585660f7af7c3f63"
    sha256                               arm64_big_sur:  "56f294fe7f59eb5c066be9fcf1f1ffed5aa857e8fe238c2243c0b0cba67dc9e4"
    sha256                               monterey:       "6ebd4515c46909ca5af95f1594950fd5c96dbe6dc675ac02355b3f761f8dea7c"
    sha256                               big_sur:        "3f898bba48428ef990d2dc6d95e6237eab3b899b97d7aae02efb2dad2059199a"
    sha256                               catalina:       "e80db8885695a569a37648148df1c996835523697ed7cc7798609e589181e3d2"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "ff6772ae6732d5a0ddd63d46d5ed510b03d37db5df5829bd33ea90fcda299431"
  end

  depends_on "cmake" => :build
  depends_on "rapidjson" => :build
  depends_on "llvm"
  depends_on macos: :high_sierra # C++ 17 is required

  fails_with gcc: "5"

  def llvm
    deps.reject { |d| d.build? || d.test? }<commit_msg>ccls: revision bump (llvm 15.0.1)<commit_after>class Ccls < Formula
  desc "C/C++/ObjC language server"
  homepage "https://github.com/MaskRay/ccls"
  # NOTE: Upstream often does not mark the latest release on GitHub, so
  #       this can be updated with the new tag.
  #       https://github.com/Homebrew/homebrew-core/pull/106939
  #       https://github.com/MaskRay/ccls/issues/786
  #       https://github.com/MaskRay/ccls/issues/895
  url "https://github.com/MaskRay/ccls/archive/0.20220729.tar.gz"
  sha256 "af19be36597c2a38b526ce7138c72a64c7fb63827830c4cff92256151fc7a6f4"
  license "Apache-2.0"
  revision 2
  head "https://github.com/MaskRay/ccls.git", branch: "master"

  bottle do
    sha256                               arm64_monterey: "7761300607dbe0555d4057810a65a4f7c2f40e8a89e2e4ca585660f7af7c3f63"
    sha256                               arm64_big_sur:  "56f294fe7f59eb5c066be9fcf1f1ffed5aa857e8fe238c2243c0b0cba67dc9e4"
    sha256                               monterey:       "6ebd4515c46909ca5af95f1594950fd5c96dbe6dc675ac02355b3f761f8dea7c"
    sha256                               big_sur:        "3f898bba48428ef990d2dc6d95e6237eab3b899b97d7aae02efb2dad2059199a"
    sha256                               catalina:       "e80db8885695a569a37648148df1c996835523697ed7cc7798609e589181e3d2"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "ff6772ae6732d5a0ddd63d46d5ed510b03d37db5df5829bd33ea90fcda299431"
  end

  depends_on "cmake" => :build
  depends_on "rapidjson" => :build
  depends_on "llvm"
  depends_on macos: :high_sierra # C++ 17 is required

  fails_with gcc: "5"

  def llvm
    deps.reject { |d| d.build? || d.test? }
{'fraction_non_alphanumeric': 0.08029197080291971, 'fraction_numerical': 0.22030524220305242, 'mean_word_length': 2.946335078534031, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 9, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2588757', 'n_tokens_mistral': 1583, 'n_tokens_neox': 1259, 'n_words': 163}