<commit_before>#!/bin/bash
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# This script will check out llvm and clang into third_party/llvm and build it.

CLANG_REVISION=125007

THIS_DIR=$(dirname $0)
LLVM_DIR=$THIS_DIR/../../../third_party/llvm
CLANG_DIR=$LLVM_DIR/tools/clang

# Die if any command dies.
set -e

# Echo all commands.
set -x

# Check out.
svn co --force http://llvm.org/svn/llvm-project/llvm/trunk@$CLANG_REVISION $LLVM_DIR
svn co --force http://llvm.org/svn/llvm-project/cfe/trunk@$CLANG_REVISION $CLANG_DIR

# Build (in a separate directory).
# The clang bots have /usr/local/clang be a symbolic link into this hardcoded
# directory, so if you change it you also need to change these links.<commit_msg>Roll Clang 125007:125186.<commit_after>#!/bin/bash
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# This script will check out llvm and clang into third_party/llvm and build it.

CLANG_REVISION=125186

THIS_DIR=$(dirname $0)
LLVM_DIR=$THIS_DIR/../../../third_party/llvm
CLANG_DIR=$LLVM_DIR/tools/clang

# Die if any command dies.
set -e

# Echo all commands.
set -x

# Check out.
svn co --force http://llvm.org/svn/llvm-project/llvm/trunk@$CLANG_REVISION $LLVM_DIR
svn co --force http://llvm.org/svn/llvm-project/cfe/trunk@$CLANG_REVISION $CLANG_DIR

# Build (in a separate directory).
# The clang bots have /usr/local/clang be a symbolic link into this hardcoded
# directory, so if you change it you also need to change these links.
{'fraction_non_alphanumeric': 0.10625737898465171, 'fraction_numerical': 0.020070838252656435, 'mean_word_length': 3.985294117647059, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3925745', 'n_tokens_mistral': 614, 'n_tokens_neox': 575, 'n_words': 203}