Adding a few run-time asserts
This commit is contained in:
parent
fc3bc60fae
commit
909450ec13
@ -35,7 +35,9 @@ std::vector< CXUnsavedFile > ToCXUnsavedFiles(
|
||||
std::vector< CXUnsavedFile > clang_unsaved_files( unsaved_files.size() );
|
||||
for ( uint i = 0; i < unsaved_files.size(); ++i )
|
||||
{
|
||||
// TODO: assert non-null
|
||||
X_VERIFY( unsaved_files[ i ].filename_ );
|
||||
X_VERIFY( unsaved_files[ i ].contents_ );
|
||||
X_VERIFY( unsaved_files[ i ].length_ );
|
||||
clang_unsaved_files[ i ].Filename = unsaved_files[ i ].filename_;
|
||||
clang_unsaved_files[ i ].Contents = unsaved_files[ i ].contents_;
|
||||
clang_unsaved_files[ i ].Length = unsaved_files[ i ].length_;
|
||||
|
Loading…
Reference in New Issue
Block a user