Loading .clang-format +15 −3 Original line number Diff line number Diff line --- # This configuration requires clang-format 3.8 or higher. # This configuration requires clang-format version 6.0 exactly. BasedOnStyle: Mozilla AlignOperands: false AlwaysBreakAfterReturnType: None AllowShortFunctionsOnASingleLine: InlineOnly AlwaysBreakAfterDefinitionReturnType: None AlwaysBreakAfterReturnType: None BinPackArguments: true BinPackParameters: true BraceWrapping: AfterClass: true AfterEnum: true AfterFunction: true AfterStruct: true AfterUnion: true BreakBeforeBraces: Custom ColumnLimit: 79 Standard: Cpp11 IndentPPDirectives: AfterHash SortUsingDeclarations: false SpaceAfterTemplateKeyword: true ... CMakeLists.txt +1 −5 Original line number Diff line number Diff line Loading @@ -33,11 +33,7 @@ if(NOT CastXML_INSTALL_DATA_DIR) set(CastXML_INSTALL_DATA_DIR share/castxml) endif() if(NOT CastXML_INSTALL_DOC_DIR) if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") set(CastXML_INSTALL_DOC_DIR share/doc/castxml) else() set(CastXML_INSTALL_DOC_DIR doc/castxml) endif() endif() if(NOT CastXML_INSTALL_MAN_DIR) set(CastXML_INSTALL_MAN_DIR man) Loading README.rst +4 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,10 @@ To build CastXML from source, first obtain the prerequisites: * `LLVM/Clang`_ compiler SDK install tree built using the C++ compiler. This version of CastXML has been tested with LLVM/Clang - SVN revision ``319768`` (trunk) - SVN revision ``356914`` (trunk) - Release ``8.0`` - Release ``7.0`` - Release ``6.0`` - Release ``5.0`` - Release ``4.0`` - Release ``3.9`` Loading doc/conf.py.in +21 −1 Original line number Diff line number Diff line Loading @@ -52,11 +52,31 @@ for fpath in castxml_manuals: name, desc, [], int(sec))) else: sys.stderr.write("ERROR: No castxml-manual-description in '%s'\n" % fpath) except Exception, e: except Exception as e: sys.stderr.write("ERROR: %s\n" % str(e)) man_show_urls = False html_show_sourcelink = True html_theme = 'default' html_theme_options = { 'footerbgcolor': '#00182d', 'footertextcolor': '#ffffff', 'sidebarbgcolor': '#e4ece8', 'sidebarbtncolor': '#00a94f', 'sidebartextcolor': '#333333', 'sidebarlinkcolor': '#00a94f', 'relbarbgcolor': '#00529b', 'relbartextcolor': '#ffffff', 'relbarlinkcolor': '#ffffff', 'bgcolor': '#ffffff', 'textcolor': '#444444', 'headbgcolor': '#f2f2f2', 'headtextcolor': '#003564', 'headlinkcolor': '#3d8ff2', 'linkcolor': '#2b63a8', 'visitedlinkcolor': '#2b63a8', 'codebgcolor': '#eeeeee', 'codetextcolor': '#333333', } html_title = 'CastXML %s Documentation' % release html_short_title = '%s Documentation' % release doc/manual/castxml.1.rst +31 −2 Original line number Diff line number Diff line Loading @@ -79,6 +79,21 @@ Remaining options are given to the internal Clang compiler. ``--version`` Print ``castxml`` and internal Clang compiler version information. Release versions of CastXML use the format:: <major>.<minor>.<patch>[-rc<n>][-<id>] where the ``<patch>`` component is less than ``20000000``, ``<n>`` is an optional release candidate number, and ``<id>`` may contain arbitrary text (in case of development between patch versions). Development versions of CastXML use the format:: <major>.<minor>.<date>[-<id>] where the ``<date>`` component is of format ``CCYYMMDD`` and ``<id>`` may contain arbitrary text. This represents development as of a particular date following the ``<major>.<minor>`` feature release. Output Format Versions ====================== Loading Loading @@ -125,9 +140,23 @@ The ``--castxml-cc-<id>`` option switches the predefined macros to match those detected from the given compiler command. In either case, CastXML always adds the following predefined macros: ``__castxml_major__`` Defined to the CastXML major version number in decimal. ``__castxml_minor__`` Defined to the CastXML minor version number in decimal. ``__castxml_patch__`` Defined to the CastXML patch version number in decimal. ``__castxml_check(major,minor,patch)`` Defined to a constant expression encoding the three version components for comparison with ``__castxml__``. The actual encoding is unspecified. ``__castxml__`` Defined to an integer encoding the CastXML version number as ``printf("%d%03d%03d",major,minor,patch)``. Defined to a constant expression encoding the CastXML version components:: __castxml_check(__castxml_major__,__castxml_minor__,__castxml_patch__) ``__castxml_clang_major__`` Defined to the value of ``__clang_major__`` from the internal Clang. Loading Loading
.clang-format +15 −3 Original line number Diff line number Diff line --- # This configuration requires clang-format 3.8 or higher. # This configuration requires clang-format version 6.0 exactly. BasedOnStyle: Mozilla AlignOperands: false AlwaysBreakAfterReturnType: None AllowShortFunctionsOnASingleLine: InlineOnly AlwaysBreakAfterDefinitionReturnType: None AlwaysBreakAfterReturnType: None BinPackArguments: true BinPackParameters: true BraceWrapping: AfterClass: true AfterEnum: true AfterFunction: true AfterStruct: true AfterUnion: true BreakBeforeBraces: Custom ColumnLimit: 79 Standard: Cpp11 IndentPPDirectives: AfterHash SortUsingDeclarations: false SpaceAfterTemplateKeyword: true ...
CMakeLists.txt +1 −5 Original line number Diff line number Diff line Loading @@ -33,11 +33,7 @@ if(NOT CastXML_INSTALL_DATA_DIR) set(CastXML_INSTALL_DATA_DIR share/castxml) endif() if(NOT CastXML_INSTALL_DOC_DIR) if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") set(CastXML_INSTALL_DOC_DIR share/doc/castxml) else() set(CastXML_INSTALL_DOC_DIR doc/castxml) endif() endif() if(NOT CastXML_INSTALL_MAN_DIR) set(CastXML_INSTALL_MAN_DIR man) Loading
README.rst +4 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,10 @@ To build CastXML from source, first obtain the prerequisites: * `LLVM/Clang`_ compiler SDK install tree built using the C++ compiler. This version of CastXML has been tested with LLVM/Clang - SVN revision ``319768`` (trunk) - SVN revision ``356914`` (trunk) - Release ``8.0`` - Release ``7.0`` - Release ``6.0`` - Release ``5.0`` - Release ``4.0`` - Release ``3.9`` Loading
doc/conf.py.in +21 −1 Original line number Diff line number Diff line Loading @@ -52,11 +52,31 @@ for fpath in castxml_manuals: name, desc, [], int(sec))) else: sys.stderr.write("ERROR: No castxml-manual-description in '%s'\n" % fpath) except Exception, e: except Exception as e: sys.stderr.write("ERROR: %s\n" % str(e)) man_show_urls = False html_show_sourcelink = True html_theme = 'default' html_theme_options = { 'footerbgcolor': '#00182d', 'footertextcolor': '#ffffff', 'sidebarbgcolor': '#e4ece8', 'sidebarbtncolor': '#00a94f', 'sidebartextcolor': '#333333', 'sidebarlinkcolor': '#00a94f', 'relbarbgcolor': '#00529b', 'relbartextcolor': '#ffffff', 'relbarlinkcolor': '#ffffff', 'bgcolor': '#ffffff', 'textcolor': '#444444', 'headbgcolor': '#f2f2f2', 'headtextcolor': '#003564', 'headlinkcolor': '#3d8ff2', 'linkcolor': '#2b63a8', 'visitedlinkcolor': '#2b63a8', 'codebgcolor': '#eeeeee', 'codetextcolor': '#333333', } html_title = 'CastXML %s Documentation' % release html_short_title = '%s Documentation' % release
doc/manual/castxml.1.rst +31 −2 Original line number Diff line number Diff line Loading @@ -79,6 +79,21 @@ Remaining options are given to the internal Clang compiler. ``--version`` Print ``castxml`` and internal Clang compiler version information. Release versions of CastXML use the format:: <major>.<minor>.<patch>[-rc<n>][-<id>] where the ``<patch>`` component is less than ``20000000``, ``<n>`` is an optional release candidate number, and ``<id>`` may contain arbitrary text (in case of development between patch versions). Development versions of CastXML use the format:: <major>.<minor>.<date>[-<id>] where the ``<date>`` component is of format ``CCYYMMDD`` and ``<id>`` may contain arbitrary text. This represents development as of a particular date following the ``<major>.<minor>`` feature release. Output Format Versions ====================== Loading Loading @@ -125,9 +140,23 @@ The ``--castxml-cc-<id>`` option switches the predefined macros to match those detected from the given compiler command. In either case, CastXML always adds the following predefined macros: ``__castxml_major__`` Defined to the CastXML major version number in decimal. ``__castxml_minor__`` Defined to the CastXML minor version number in decimal. ``__castxml_patch__`` Defined to the CastXML patch version number in decimal. ``__castxml_check(major,minor,patch)`` Defined to a constant expression encoding the three version components for comparison with ``__castxml__``. The actual encoding is unspecified. ``__castxml__`` Defined to an integer encoding the CastXML version number as ``printf("%d%03d%03d",major,minor,patch)``. Defined to a constant expression encoding the CastXML version components:: __castxml_check(__castxml_major__,__castxml_minor__,__castxml_patch__) ``__castxml_clang_major__`` Defined to the value of ``__clang_major__`` from the internal Clang. Loading