cpip.cpp – Preprocess the file or the files in the directory.
Simple visitor that collects parent/child links for plotting the graph with dot.
.
Simple visitor that walks the tree and finds the largest common file name prefix.
Capture the file name.
MainJobSpec(incHandler, preDefMacros, preIncFiles, diagnostic, pragmaHandler, keepGoing, conditionalLevel, dumpList, helpMap, includeDOT, cmdLine, gccExtensions)
Alias for field number 10
Alias for field number 6
Alias for field number 3
Alias for field number 7
Alias for field number 11
Alias for field number 8
Alias for field number 0
Alias for field number 9
Alias for field number 5
Alias for field number 4
Alias for field number 1
Alias for field number 2
PpProcessResult(ituPath, indexPath, tuIndexFileName)
Alias for field number 1
Alias for field number 0
Alias for field number 2
Processes command line to preprocess a file or a directory.
Multiprocessing code to preprocess directories. Returns a count of ITUs processed.
Pre-process all the files in a directory. Returns a count of the TUs. This uses multiprocessing where possible.
Preprocess a single file. May raise ExceptionCpip (or worse!). Returns a PpProcessResult(ituPath, indexPath, tuIndexFileName(ituPath)).
Preprocess a single file and catch all ExceptionCpip exceptions and log them.
Returns map of {opt_name : (value, help), ...} from the current options.
Writes the top level index.html page for a pre-processed file.
theOutDir - The output directory.
theTuS - The list of translation units processed.
theCmdLine - The command line as a string.
theOptMap is a map of {opt_name : (value, help), ...} from the command line options. TODO: This is fine but has too many levels of indent.