@@ -464,117 +464,8 @@ bool FrontendInputsAndOutputs::hasSupplementaryOutputPath(
464464 });
465465}
466466
467- bool FrontendInputsAndOutputs::hasDependenciesPath () const {
468- return hasSupplementaryOutputPath (
469- [](const SupplementaryOutputPaths &outs) -> const std::string & {
470- return outs.DependenciesFilePath ;
471- });
472- }
473- bool FrontendInputsAndOutputs::hasReferenceDependenciesPath () const {
474- return hasSupplementaryOutputPath (
475- [](const SupplementaryOutputPaths &outs) -> const std::string & {
476- return outs.ReferenceDependenciesFilePath ;
477- });
478- }
479- bool FrontendInputsAndOutputs::hasClangHeaderOutputPath () const {
480- return hasSupplementaryOutputPath (
481- [](const SupplementaryOutputPaths &outs) -> const std::string & {
482- return outs.ClangHeaderOutputPath ;
483- });
484- }
485- bool FrontendInputsAndOutputs::hasLoadedModuleTracePath () const {
486- return hasSupplementaryOutputPath (
487- [](const SupplementaryOutputPaths &outs) -> const std::string & {
488- return outs.LoadedModuleTracePath ;
489- });
490- }
491- bool FrontendInputsAndOutputs::hasModuleOutputPath () const {
492- return hasSupplementaryOutputPath (
493- [](const SupplementaryOutputPaths &outs) -> const std::string & {
494- return outs.ModuleOutputPath ;
495- });
496- }
497- bool FrontendInputsAndOutputs::hasModuleDocOutputPath () const {
498- return hasSupplementaryOutputPath (
499- [](const SupplementaryOutputPaths &outs) -> const std::string & {
500- return outs.ModuleDocOutputPath ;
501- });
502- }
503- bool FrontendInputsAndOutputs::hasModuleSourceInfoOutputPath () const {
504- return hasSupplementaryOutputPath (
505- [](const SupplementaryOutputPaths &outs) -> const std::string & {
506- return outs.ModuleSourceInfoOutputPath ;
507- });
508- }
509- bool FrontendInputsAndOutputs::hasModuleInterfaceOutputPath () const {
510- return hasSupplementaryOutputPath (
511- [](const SupplementaryOutputPaths &outs) -> const std::string & {
512- return outs.ModuleInterfaceOutputPath ;
513- });
514- }
515- bool FrontendInputsAndOutputs::hasPrivateModuleInterfaceOutputPath () const {
516- return hasSupplementaryOutputPath (
517- [](const SupplementaryOutputPaths &outs) -> const std::string & {
518- return outs.PrivateModuleInterfaceOutputPath ;
519- });
520- }
521- bool FrontendInputsAndOutputs::hasPackageModuleInterfaceOutputPath () const {
522- return hasSupplementaryOutputPath (
523- [](const SupplementaryOutputPaths &outs) -> const std::string & {
524- return outs.PackageModuleInterfaceOutputPath ;
525- });
526- }
527- bool FrontendInputsAndOutputs::hasABIDescriptorOutputPath () const {
528- return hasSupplementaryOutputPath (
529- [](const SupplementaryOutputPaths &outs) -> const std::string & {
530- return outs.ABIDescriptorOutputPath ;
531- });
532- }
533- bool FrontendInputsAndOutputs::hasAPIDescriptorOutputPath () const {
534- return hasSupplementaryOutputPath (
535- [](const SupplementaryOutputPaths &outs) -> const std::string & {
536- return outs.APIDescriptorOutputPath ;
537- });
538- }
539- bool FrontendInputsAndOutputs::hasConstValuesOutputPath () const {
540- return hasSupplementaryOutputPath (
541- [](const SupplementaryOutputPaths &outs) -> const std::string & {
542- return outs.ConstValuesOutputPath ;
543- });
544- }
545- bool FrontendInputsAndOutputs::hasModuleSemanticInfoOutputPath () const {
546- return hasSupplementaryOutputPath (
547- [](const SupplementaryOutputPaths &outs) -> const std::string & {
548- return outs.ModuleSemanticInfoOutputPath ;
549- });
550- }
551- bool FrontendInputsAndOutputs::hasModuleSummaryOutputPath () const {
552- return hasSupplementaryOutputPath (
553- [](const SupplementaryOutputPaths &outs) -> const std::string & {
554- return outs.ModuleSummaryOutputPath ;
555- });
556- }
557- bool FrontendInputsAndOutputs::hasTBDPath () const {
558- return hasSupplementaryOutputPath (
559- [](const SupplementaryOutputPaths &outs) -> const std::string & {
560- return outs.TBDPath ;
561- });
562- }
563- bool FrontendInputsAndOutputs::hasYAMLOptRecordPath () const {
564- return hasSupplementaryOutputPath (
565- [](const SupplementaryOutputPaths &outs) -> const std::string & {
566- return outs.YAMLOptRecordPath ;
567- });
568- }
569- bool FrontendInputsAndOutputs::hasBitstreamOptRecordPath () const {
570- return hasSupplementaryOutputPath (
571- [](const SupplementaryOutputPaths &outs) -> const std::string & {
572- return outs.BitstreamOptRecordPath ;
573- });
574- }
575-
576467bool FrontendInputsAndOutputs::hasDependencyTrackerPath () const {
577- return hasDependenciesPath () || hasReferenceDependenciesPath () ||
468+ return hasDependenciesFilePath () || hasReferenceDependenciesFilePath () ||
578469 hasLoadedModuleTracePath ();
579470}
580471
0 commit comments