コード例 #1
0
ファイル: clang_gen.go プロジェクト: go-clang/v3.4
/*
	Retrieve the set of display options most similar to the
	default behavior of the clang compiler.

	Returns A set of display options suitable for use with \c
	clang_formatDiagnostic().
*/
func DefaultDiagnosticDisplayOptions() uint32 {
	return uint32(C.clang_defaultDiagnosticDisplayOptions())
}
コード例 #2
0
ファイル: diagnostics.go プロジェクト: zimmski/go-clang
/**
 * \brief Retrieve the set of display options most similar to the
 * default behavior of the clang compiler.
 *
 * \returns A set of display options suitable for use with \c
 * clang_displayDiagnostic().
 */
func DefaultDiagnosticDisplayOptions() DiagnosticDisplayOptions {
	return DiagnosticDisplayOptions(C.clang_defaultDiagnosticDisplayOptions())
}