New TODO to check TU creation success
This commit is contained in:
parent
0903d5151b
commit
f74ddbcec5
@ -48,6 +48,8 @@ TranslationUnit::TranslationUnit(
|
||||
std::vector< CXUnsavedFile > cxunsaved_files = ToCXUnsavedFiles(
|
||||
unsaved_files );
|
||||
|
||||
// TODO: check return value of the parse* and reparse* functions! Throw an
|
||||
// exception on problems.
|
||||
clang_translation_unit_ = clang_parseTranslationUnit(
|
||||
clang_index,
|
||||
filename.c_str(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user