<commit_before>/*
 *  Copyright (c) 2015, Facebook, Inc.
 *  All rights reserved.
 *
 *  This source code is licensed under the BSD-style license found in the
 *  LICENSE file in the root directory of this source tree. An additional grant
 *  of patent rights can be found in the PATENTS file in the same directory.
 */

#ifndef FATAL_INCLUDE_fatal_preprocessor_h
#define FATAL_INCLUDE_fatal_preprocessor_h

namespace fatal {

/////////////////
// FATAL_EMPTY //
/////////////////

/**
 * TODO: DOCUMENT
 *
 * @author: <NAME> <<EMAIL>>
 */
#define FATAL_EMPTY()

//////////////////
// FATAL_IGNORE //
//////////////////

/**
 * TODO: DOCUMENT
 *
 * @author: <NAME> <<EMAIL>>
 */
#define FATAL_IGNORE(...)

////////////////////
// FATAL_IDENTITY //
////////////////////
<commit_msg>- adding source_info<commit_after>/*
 *  Copyright (c) 2015, Facebook, Inc.
 *  All rights reserved.
 *
 *  This source code is licensed under the BSD-style license found in the
 *  LICENSE file in the root directory of this source tree. An additional grant
 *  of patent rights can be found in the PATENTS file in the same directory.
 */

#ifndef FATAL_INCLUDE_fatal_preprocessor_h
#define FATAL_INCLUDE_fatal_preprocessor_h

namespace fatal {

/////////////////
// source_info //
/////////////////

#define FATAL_SOURCE_INFO() \
  ::fatal::source_info(__FILE__, __LINE__)

struct source_info {
  source_info(char const *file, unsigned long line):
    file_(file),
    line_(line)
  {}

  char const *file() const { return file_; }
  unsigned long line() const { return line_; }

private:
  char const *const file_;
  unsigned long const line_;
};

/////////////////
// FATAL_EMPTY //
/////////////////

/**
 * TODO: DOCUMENT
 *
 * @author: <NAME> <<EMAIL>>
 */
#define FATAL_EMPTY()

//////////////////
// FATAL_IGNORE //
//////////////////

/**
 * TODO: DOCUMENT
 *
 * @author: <NAME> <<EMAIL>>
 */
#define FATAL_IGNORE(...)

////////////////////
// FATAL_IDENTITY //
////////////////////

{'fraction_non_alphanumeric': 0.23314749113025848, 'fraction_numerical': 0.0040547389761784085, 'mean_word_length': 2.0557275541795668, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '877857', 'n_tokens_mistral': 628, 'n_tokens_neox': 581, 'n_words': 180}