.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.10. .TH CASTXML "1" "April 2019" "castxml version 0.2.0" "User Commands" .SH NAME castxml \- Create an XML representation of C++ declarations .SH SYNOPSIS .B castxml \fI\,( | | )\/\fR... .SH DESCRIPTION .IP Options interpreted by castxml are listed below. Remaining options are given to the internal Clang compiler. .SH OPTIONS .HP \fB\-\-castxml\-cc\-\fR .HP \fB\-\-castxml\-cc\-\fR "(" ... ")" .IP Configure the internal Clang preprocessor and target platform to match that of the given compiler command. The must be "gnu", "msvc", "gnu\-c", or "msvc\-c". names a compiler (e.g. "gcc") and ... specifies options that may affect its target (e.g. "\-m32"). .HP \fB\-\-castxml\-output=\fR .IP Write castxml\-format output to .xml or file named by '\-o' The specifies the "epic" format version number to generate, and must be '1'. .HP \fB\-\-castxml\-gccxml\fR .IP Write gccxml\-format output to .xml or file named by '\-o' Use this option if you need an output similar to the one generated by the legacy gccxml tool. .HP \fB\-\-castxml\-start\fR [,]... .IP Start AST traversal at declaration(s) with the given (qualified) name(s). Multiple names may be specified as a comma\-separated list or by repeating the option. .HP \fB\-help\fR, \fB\-\-help\fR .IP Print castxml and internal Clang compiler usage information .HP \fB\-o\fR .IP Write output to .HP \fB\-\-version\fR .IP Print castxml and internal Clang compiler version information .PP Help for the internal Clang compiler appears below. .PP \fB\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\fR .PP OVERVIEW: clang LLVM compiler .PP USAGE: clang [options] .SS "OPTIONS:" .TP \-### Print (but do not run) the commands to run for this compilation .TP \fB\-\-analyzer\-output\fR Static analyzer report output format (html|plist|plist\-multi\-file|plist\-html|text). .TP \fB\-\-analyze\fR Run the static analyzer .TP \fB\-arcmt\-migrate\-emit\-errors\fR Emit ARC errors even if the migrator can fix them .TP \fB\-arcmt\-migrate\-report\-output\fR Output path for the plist report .TP \fB\-B\fR Add to search path for binaries and object files used implicitly .TP \fB\-CC\fR Include comments from within macros in preprocessed output .TP \fB\-cfguard\fR Emit tables required for Windows Control Flow Guard. .TP \fB\-cl\-denorms\-are\-zero\fR OpenCL only. Allow denormals to be flushed to zero. .TP \fB\-cl\-fast\-relaxed\-math\fR OpenCL only. Sets \fB\-cl\-finite\-math\-only\fR and \fB\-cl\-unsafe\-math\-optimizations\fR, and defines __FAST_RELAXED_MATH__. .TP \fB\-cl\-finite\-math\-only\fR OpenCL only. Allow floating\-point optimizations that assume arguments and results are not NaNs or +\-Inf. .TP \fB\-cl\-fp32\-correctly\-rounded\-divide\-sqrt\fR OpenCL only. Specify that single precision floating\-point divide and sqrt used in the program source are correctly rounded. .TP \fB\-cl\-kernel\-arg\-info\fR OpenCL only. Generate kernel argument metadata. .TP \fB\-cl\-mad\-enable\fR OpenCL only. Allow use of less precise MAD computations in the generated binary. .TP \fB\-cl\-no\-signed\-zeros\fR OpenCL only. Allow use of less precise no signed zeros computations in the generated binary. .TP \fB\-cl\-opt\-disable\fR OpenCL only. This option disables all optimizations. By default optimizations are enabled. .TP \fB\-cl\-single\-precision\-constant\fR OpenCL only. Treat double precision floating\-point constant as single precision constant. .TP \fB\-cl\-std=\fR OpenCL language standard to compile for. .TP \fB\-cl\-strict\-aliasing\fR OpenCL only. This option is added for compatibility with OpenCL 1.0. .TP \fB\-cl\-uniform\-work\-group\-size\fR OpenCL only. Defines that the global work\-size be a multiple of the work\-group size specified to clEnqueueNDRangeKernel .TP \fB\-cl\-unsafe\-math\-optimizations\fR OpenCL only. Allow unsafe floating\-point optimizations. Also implies \fB\-cl\-no\-signed\-zeros\fR and \fB\-cl\-mad\-enable\fR. .TP \fB\-\-config\fR Specifies configuration file .TP \fB\-\-cuda\-compile\-host\-device\fR Compile CUDA code for both host and device (default). Has no effect on non\-CUDA compilations. .TP \fB\-\-cuda\-device\-only\fR Compile CUDA code for device only .TP \fB\-\-cuda\-gpu\-arch=\fR CUDA GPU architecture (e.g. sm_35). May be specified more than once. .TP \fB\-\-cuda\-host\-only\fR Compile CUDA code for host only. Has no effect on non\-CUDA compilations. .TP \fB\-\-cuda\-include\-ptx=\fR Include PTX for the follwing GPU architecture (e.g. sm_35) or 'all'. May be specified more than once. .TP \fB\-\-cuda\-noopt\-device\-debug\fR Enable device\-side debug info generation. Disables ptxas optimizations. .TP \fB\-\-cuda\-path\-ignore\-env\fR Ignore environment variables to detect CUDA installation .TP \fB\-\-cuda\-path=\fR CUDA installation path .TP \fB\-cxx\-isystem\fR Add directory to the C++ SYSTEM include search path .TP \fB\-C\fR Include comments in preprocessed output .TP \fB\-c\fR Only run preprocess, compile, and assemble steps .TP \fB\-dD\fR Print macro definitions in \fB\-E\fR mode in addition to normal output .HP \fB\-dependency\-dot\fR Filename to write DOT\-formatted header dependencies to .TP \fB\-dependency\-file\fR Filename (or \-) to write dependency output to .TP \fB\-dI\fR Print include directives in \fB\-E\fR mode in addition to normal output .TP \fB\-dM\fR Print macro definitions in \fB\-E\fR mode instead of normal output .TP \fB\-D\fR = Define to (or 1 if omitted) .TP \fB\-emit\-ast\fR Emit Clang AST files for source inputs .TP \fB\-emit\-llvm\fR Use the LLVM representation for assembler and object files .TP \fB\-E\fR Only run the preprocessor .TP \fB\-faddrsig\fR Emit an address\-significance table .TP \fB\-faligned\-allocation\fR Enable C++17 aligned allocation functions .TP \fB\-fallow\-editor\-placeholders\fR Treat editor placeholders as valid source code .TP \fB\-fansi\-escape\-codes\fR Use ANSI escape codes for diagnostics .TP \fB\-fapple\-kext\fR Use Apple's kernel extensions ABI .TP \fB\-fapple\-pragma\-pack\fR Enable Apple gcc\-compatible #pragma pack handling .HP \fB\-fapplication\-extension\fR Restrict code to those available for App Extensions .TP \fB\-fblocks\fR Enable the 'blocks' language feature .TP \fB\-fborland\-extensions\fR Accept non\-standard constructs supported by the Borland compiler .TP \fB\-fbuild\-session\-file=\fR Use the last modification time of as the build session timestamp .TP \fB\-fbuild\-session\-timestamp=\fR