ΒΆCXFile clang_getFile(CXTranslationUnit tu,
const char* file_name)
CXFile clang_getFile(CXTranslationUnit tu,
const char* file_name)
Description
Retrieve a file handle within the given translation unit.
Declared at: clang/include/clang-c/Index.h:401
Parameters
- CXTranslationUnit tu
- the translation unit
- const char* file_name
- the name of the file.
Returns
the file handle for the named file in the translation unit \p tu, or a NULL file handle if the file was not a part of this translation unit.