MCPcopy Create free account
hub / github.com/dirkvranckaert/AndroidDecompiler / processFiles

Method processFiles

astyle/src/astyle_main.cpp:1710–1730  ·  view source on GitHub ↗

* Process files in the fileNameVector. */

Source from the content-addressed store, hash-verified

1708 * Process files in the fileNameVector.
1709 */
1710void ASConsole::processFiles()
1711{
1712 if (isVerbose)
1713 printVerboseHeader();
1714
1715 clock_t startTime = clock(); // start time of file formatting
1716
1717 // loop thru input fileNameVector and process the files
1718 for (size_t i = 0; i < fileNameVector.size(); i++)
1719 {
1720 getFilePaths(fileNameVector[i]);
1721
1722 // loop thru fileName vector formatting the files
1723 for (size_t j = 0; j < fileName.size(); j++)
1724 formatFile(fileName[j]);
1725 }
1726
1727 // files are processed, display stats
1728 if (isVerbose)
1729 printVerboseStats(startTime);
1730}
1731
1732// process options from the command line and options file
1733// build the vectors fileNameVector, excludeVector, optionsVector, and fileOptionsVector

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected