ΒΆCXTranslationUnit clang_createTranslationUnit(
CXIndex CIdx,
const char* ast_filename)
CXTranslationUnit clang_createTranslationUnit(
CXIndex CIdx,
const char* ast_filename)
Description
Same as \c clang_createTranslationUnit2, 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:1178
Parameters
- CXIndex CIdx
- const char* ast_filename