Merge pull request #60139 from artemcm/AddConstValueExtractionPathHandling

Add supplementary output path handling for extracted compile-time-known values
This commit is contained in:
Artem Chikin
2022-07-21 13:19:42 -07:00
committed by GitHub
21 changed files with 171 additions and 0 deletions

View File

@@ -105,6 +105,11 @@ std::string CompilerInvocation::getReferenceDependenciesFilePathForPrimary(
return getPrimarySpecificPathsForPrimary(filename)
.SupplementaryOutputs.ReferenceDependenciesFilePath;
}
std::string CompilerInvocation::getConstValuesFilePathForPrimary(
StringRef filename) const {
return getPrimarySpecificPathsForPrimary(filename)
.SupplementaryOutputs.ConstValuesOutputPath;
}
std::string
CompilerInvocation::getSerializedDiagnosticsPathForAtMostOnePrimary() const {
return getPrimarySpecificPathsForAtMostOnePrimary()