1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-21 14:40:48 +08:00

bindexplib: Revise coding style of CMake-specific methods

We exclude this source from `clang-format` due to use of third-party
code.  However, we can manually format the CMake-specific part of the
code using our current style.
This commit is contained in:
Brad King
2016-12-14 09:25:11 -05:00
parent f36eaf6a6e
commit 4f90e79314

View File

@@ -426,24 +426,18 @@ DumpFile(const char* filename,
bool bindexplib::AddObjectFile(const char* filename)
{
if(!DumpFile(filename, this->Symbols, this->DataSymbols))
{
return false;
}
return true;
return DumpFile(filename, this->Symbols, this->DataSymbols);
}
void bindexplib::WriteFile(FILE* file)
{
fprintf(file,"EXPORTS \n");
for(std::set<std::string>::const_iterator i = this->DataSymbols.begin();
i!= this->DataSymbols.end(); ++i)
{
for (std::set<std::string>::const_iterator i = this->DataSymbols.begin();
i != this->DataSymbols.end(); ++i) {
fprintf(file, "\t%s \t DATA\n", i->c_str());
}
for(std::set<std::string>::const_iterator i = this->Symbols.begin();
i!= this->Symbols.end(); ++i)
{
}
for (std::set<std::string>::const_iterator i = this->Symbols.begin();
i != this->Symbols.end(); ++i) {
fprintf(file, "\t%s\n", i->c_str());
}
}
}