<commit_before># Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
 'targets': [
    {
      'target_name': 'test_eh_off',
      'product_name': 'test_eh_off',
      'type': 'executable',
      'msvs_settings': {
        'VCCLCompilerTool': {
          'ExceptionHandling': '0',
          'WarnAsError': 'true'
        }
      },
      'sources': [
        'exception-handling-on.cc'
      ]
    },
    {
      'target_name': 'test_eh_s',
      'product_name': 'test_eh_s',
      'type': 'executable',
      'msvs_settings': {
        'VCCLCompilerTool': {
          'ExceptionHandling': '1',
          'WarnAsError': 'true'
        }
      },
      'sources': [
        'exception-handling-on.cc'
      ]
    },
    {
      'target_name': 'test_eh_a',
      'product_name': 'test_eh_a',
      'type': 'executable',
      'msvs_settings': {
        'VCCLCompilerTool': {
          'ExceptionHandling': '2',
          'WarnAsError': 'true'
        }
      },
      'sources': [
        'exception-handling-on.cc'
      ]
    },
  ]
}
<commit_msg>Fix exception handling test on vs2010<commit_after># Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
 'targets': [
    # Optimization disabled so that the exception-causing code is not removed
    # (divide by zero was getting optimized away in VS2010).
    {
      'target_name': 'test_eh_off',
      'product_name': 'test_eh_off',
      'type': 'executable',
      'msvs_settings': {
        'VCCLCompilerTool': {
          'ExceptionHandling': '0',
          'WarnAsError': 'true',
          'Optimization': '0',
        }
      },
      'sources': [
        'exception-handling-on.cc'
      ]
    },
    {
      'target_name': 'test_eh_s',
      'product_name': 'test_eh_s',
      'type': 'executable',
      'msvs_settings': {
        'VCCLCompilerTool': {
          'ExceptionHandling': '1',
          'WarnAsError': 'true',
          'Optimization': '0',
        }
      },
      'sources': [
        'exception-handling-on.cc'
      ]
    },
    {
      'target_name': 'test_eh_a',
      'product_name': 'test_eh_a',
      'type': 'executable',
      'msvs_settings': {
        'VCCLCompilerTool': {
          'ExceptionHandling': '2',
          'WarnAsError': 'true',
          'Optimization': '0',
        }
      },
      'sources': [
        'exception-handling-on.cc'
      ]
    },
  ]
}

{'fraction_non_alphanumeric': 0.14943425673039407, 'fraction_numerical': 0.009754194303550527, 'mean_word_length': 1.9369988545246277, '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': '6638628', 'n_tokens_mistral': 859, 'n_tokens_neox': 842, 'n_words': 172}