MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / processFiles

Method processFiles

other_src/astyle/src/astyle_main.cpp:1652–1672  ·  view source on GitHub ↗

* Process files in the fileNameVector. */

Source from the content-addressed store, hash-verified

1650 * Process files in the fileNameVector.
1651 */
1652void ASConsole::processFiles()
1653{
1654 if (isVerbose)
1655 printVerboseHeader();
1656
1657 clock_t startTime = clock(); // start time of file formatting
1658
1659 // loop thru input fileNameVector and process the files
1660 for (size_t i = 0; i < fileNameVector.size(); i++)
1661 {
1662 getFilePaths(fileNameVector[i]);
1663
1664 // loop thru fileName vector formatting the files
1665 for (size_t j = 0; j < fileName.size(); j++)
1666 formatFile(fileName[j]);
1667 }
1668
1669 // files are processed, display stats
1670 if (isVerbose)
1671 printVerboseStats(startTime);
1672}
1673
1674// process options from the command line and options file
1675// build the vectors fileNameVector, excludeVector, optionsVector, and fileOptionsVector

Callers 1

mainFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected