https://github.com/Kitware/CMake
Revision 12fed3edb107c949671043196fa94c542b45452a authored by Brad King on 01 June 2018, 13:52:13 UTC, committed by Brad King on 01 June 2018, 13:52:13 UTC
This is an empty commit that precedes an automatic application of
clang-format-6.0 to update the C++ style of our entire source tree.
This may be helpful to rebase a topic branch that was originally
based on a commit preceding the transition.  One may first rebase
the topic on this commit.  Then use one of the following approaches.

*   Rewrite the topic, including this commit, using `git filter-branch`
    `--tree-filter` with `clang-format.bash` to update the style in
    every commit.  Rebase the revised topic, excluding the rewrite of
    this commit, on the style transition commit.

OR

*   Add a `.git/info/grafts` entry to change the parent of the first
    commit in the topic from this commit to the style transition commit.
    Rewrite the topic using `git filter-branch --tree-filter` with
    `clang-format.bash` to update the style in every commit.  Then
    remove the graft, which was resolved by the filter.

See `git help filter-branch` and `git help repository-layout` for
details.
1 parent 523c443
Raw File
Tip revision: 12fed3edb107c949671043196fa94c542b45452a authored by Brad King on 01 June 2018, 13:52:13 UTC
Empty commit at end of history preceding clang-format-6.0 style transition
Tip revision: 12fed3e
exportheader.cmake.in

#ifndef @INCLUDE_GUARD_NAME@
#define @INCLUDE_GUARD_NAME@

#ifdef @STATIC_DEFINE@
#  define @EXPORT_MACRO_NAME@
#  define @NO_EXPORT_MACRO_NAME@
#else
#  ifndef @EXPORT_MACRO_NAME@
#    ifdef @EXPORT_IMPORT_CONDITION@
        /* We are building this library */
#      define @EXPORT_MACRO_NAME@ @DEFINE_EXPORT@
#    else
        /* We are using this library */
#      define @EXPORT_MACRO_NAME@ @DEFINE_IMPORT@
#    endif
#  endif

#  ifndef @NO_EXPORT_MACRO_NAME@
#    define @NO_EXPORT_MACRO_NAME@ @DEFINE_NO_EXPORT@
#  endif
#endif

#ifndef @DEPRECATED_MACRO_NAME@
#  define @DEPRECATED_MACRO_NAME@ @DEFINE_DEPRECATED@
#endif

#ifndef @DEPRECATED_MACRO_NAME@_EXPORT
#  define @DEPRECATED_MACRO_NAME@_EXPORT @EXPORT_MACRO_NAME@ @DEPRECATED_MACRO_NAME@
#endif

#ifndef @DEPRECATED_MACRO_NAME@_NO_EXPORT
#  define @DEPRECATED_MACRO_NAME@_NO_EXPORT @NO_EXPORT_MACRO_NAME@ @DEPRECATED_MACRO_NAME@
#endif

#if @DEFINE_NO_DEPRECATED@ /* DEFINE_NO_DEPRECATED */
#  ifndef @NO_DEPRECATED_MACRO_NAME@
#    define @NO_DEPRECATED_MACRO_NAME@
#  endif
#endif
@CUSTOM_CONTENT@
#endif /* @INCLUDE_GUARD_NAME@ */
back to top