Incorperate advice from review.

Change “have” routines to “has”.
Use more consistent casing.
Remove spurious “DelayedFunctionParsing” option.
Move debugFail routines to top lexical level.
Rename and reorder declaration of functions in FrontendArgsToOptionsConverter.
Move, reword, and doxygenate comments for some of those functions.
Fix casing on some more setUp* functions.
Return NoneAction instead of existing RequestedAction in FrontendArgsToOptionsConverter::determineRequestedAction.
Remove test names and put in FIXME’s.
Remove “Jordan” from comments & reword.
Reorder if-then arms of FrontendArgsToOptionsConverter::computeOutputFilenames for readability.
Test for empty string instead of equality with “”.
Use hasUnusedModuleDocOutputPath.
Remove optionality from return type of getOutputFilenamesFromCommandLineOrFilelist.
Rename isPrimaryInputAFileAt to isThereAPrimaryInputWithAFilenameAt.
Added a FIXME in doesActionProduceOutput to reflect that some actions actually do not produce output.
This commit is contained in:
David Ungar
2017-11-27 20:54:30 -08:00
parent 6d2e3f51e7
commit 04c16cdebd
9 changed files with 195 additions and 197 deletions

View File

@@ -279,7 +279,7 @@ void SwiftLangSupport::indexSource(StringRef InputFile,
return;
}
if (!Invocation.getFrontendOptions().Inputs.haveInputFilenames()) {
if (!Invocation.getFrontendOptions().Inputs.hasInputFilenames()) {
IdxConsumer.failed("no input filenames specified");
return;
}