|
@@ -706,16 +706,18 @@ public:
|
|
|
/// Retrieve a uniqued framework name.
|
|
|
StringRef getUniqueFrameworkName(StringRef Framework);
|
|
|
|
|
|
- /// Suggest a path by which the specified file could be found, for
|
|
|
- /// use in diagnostics to suggest a #include.
|
|
|
+ /// Suggest a path by which the specified file could be found, for use in
|
|
|
+ /// diagnostics to suggest a #include. Returned path will only contain forward
|
|
|
+ /// slashes as separators.
|
|
|
///
|
|
|
/// \param IsSystem If non-null, filled in to indicate whether the suggested
|
|
|
/// path is relative to a system header directory.
|
|
|
std::string suggestPathToFileForDiagnostics(const FileEntry *File,
|
|
|
bool *IsSystem = nullptr);
|
|
|
|
|
|
- /// Suggest a path by which the specified file could be found, for
|
|
|
- /// use in diagnostics to suggest a #include.
|
|
|
+ /// Suggest a path by which the specified file could be found, for use in
|
|
|
+ /// diagnostics to suggest a #include. Returned path will only contain forward
|
|
|
+ /// slashes as separators.
|
|
|
///
|
|
|
/// \param WorkingDir If non-empty, this will be prepended to search directory
|
|
|
/// paths that are relative.
|