ΒΆCXTranslationUnit clang_parseTranslationUnit(
CXIndex CIdx,
const char* source_filename,
const char* const* command_line_args,
int num_command_line_args,
struct CXUnsavedFile* unsaved_files,
unsigned int num_unsaved_files,
unsigned int options)
CXTranslationUnit clang_parseTranslationUnit(
CXIndex CIdx,
const char* source_filename,
const char* const* command_line_args,
int num_command_line_args,
struct CXUnsavedFile* unsaved_files,
unsigned int num_unsaved_files,
unsigned int options)
Description
Same as \c clang_parseTranslationUnit2, but returns the \c CXTranslationUnit instead of an error code. In case of an error this routine returns a \c NULL \c CXTranslationUnit, without further detailed error codes.
Declared at: clang/include/clang-c/Index.h:1368
Parameters
- CXIndex CIdx
- const char* source_filename
- const char* const* command_line_args
- int num_command_line_args
- struct CXUnsavedFile* unsaved_files
- unsigned int num_unsaved_files
- unsigned int options