<commit_before>#pragma once

/// @file
/// Provides a macro for marking a method as being deprecated. It works with
/// C++14, VC++, gcc, and clang.

#ifdef DRAKE_DOXYGEN_CXX

/// @p DEPRECATED_14(MSG) is a macro that can be applied to a method. If the
/// method is called, a warning will be printed during compile-time. A macro
/// is needed since there is no single standard way to do this across different
/// compilers.
#ifndef SWIG
  #if __cplusplus >= 201402L
    /* C++14 */
    #define DEPRECATED_14(MSG) [[deprecated(MSG)]]
  #elif _MSC_VER
    /* VC++ just says warning C4996 so add "DEPRECATED" to the message. */
    #define DEPRECATED_14(MSG) __declspec(deprecated("DEPRECATED: " MSG))
  #else /* gcc or clang */
    #define DEPRECATED_14(MSG) __attribute__((deprecated(MSG)))
  #endif
#else /* Swigging */
  #define DEPRECATED_14(MSG)
#endif

#endif  // DRAKE_DOXYGEN_CXX
<commit_msg>Fixed bug in #define directives.<commit_after>#pragma once

/// @file
/// Provides a macro for marking a method as being deprecated. It works with
/// C++14, VC++, gcc, and clang.

#ifdef DRAKE_DOXYGEN_CXX

/// @p DEPRECATED_14(MSG) is a macro that applies a deprecate attribute to a
/// method. If the method is called, a warning will be printed at compile-time.
/// A macro is needed since there is no standard way to do this across different
/// compilers.
#define DEPRECATED_14(MSG)
#warning "doxygen version of DEPRECATED_14"

#else  // DRAKE_DOXYGEN_CXX

#ifndef SWIG
  #if __cplusplus >= 201402L
    /* C++14 */
    #warning "c++14 version of DEPRECATED_14"
    #define DEPRECATED_14(MSG) [[deprecated(MSG)]]
  #elif _MSC_VER
    /* VC++ just says warning C4996 so add "DEPRECATED" to the message. */
    #warning "VC version of DEPRECATED_14"
    #define DEPRECATED_14(MSG) __declspec(deprecated("DEPRECATED: " MSG))
  #else /* gcc or clang */
    #warning "gcc/clang version of DEPRECATED_14"
    #define DEPRECATED_14(MSG) __attribute__((deprecated(MSG)))
  #endif
#else  // SWIG
  #warning "swig version of DEPRECATED_14"
  #define DEPRECATED_14(MSG)
#endif  // SWIG

#endif  // DRAKE_DOXYGEN_CXX

{'fraction_non_alphanumeric': 0.11675367821547224, 'fraction_numerical': 0.029425723777883245, 'mean_word_length': 3.6534216335540837, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3275650', 'n_tokens_mistral': 787, 'n_tokens_neox': 732, 'n_words': 244}