Removing an obsolete comment

This commit is contained in:
Strahinja Val Markovic 2013-02-09 15:49:08 -08:00
parent 4c4da18cea
commit 41854ded3a

View File

@ -346,7 +346,7 @@ void ClangCompleter::CreateClangTask(
}
boost::shared_ptr< TranslationUnit > ClangCompleter::GetTranslationUnitForFile(
shared_ptr< TranslationUnit > ClangCompleter::GetTranslationUnitForFile(
const std::string &filename,
const std::vector< UnsavedFile > &unsaved_files,
const std::vector< std::string > &flags ) {
@ -355,11 +355,6 @@ boost::shared_ptr< TranslationUnit > ClangCompleter::GetTranslationUnitForFile(
}
// WARNING: It should not be possible to call this function from two separate
// threads at the same time. Currently only one thread (the clang thread) ever
// calls this function so there is no need for a mutex, but if that changes in
// the future a mutex will be needed to make sure that two threads don't try to
// create the same translation unit.
shared_ptr< TranslationUnit > ClangCompleter::GetTranslationUnitForFile(
const std::string &filename,
const std::vector< UnsavedFile > &unsaved_files,