@@ -386,21 +386,6 @@ class FileSpec {
386
386
// / The triple which is used to set the Path style.
387
387
void SetFile (llvm::StringRef path, const llvm::Triple &triple);
388
388
389
- bool IsResolved () const { return m_is_resolved; }
390
-
391
- // / Set if the file path has been resolved or not.
392
- // /
393
- // / If you know a file path is already resolved and avoided passing a \b
394
- // / true parameter for any functions that take a "bool resolve_path"
395
- // / parameter, you can set the value manually using this call to make sure
396
- // / we don't try and resolve it later, or try and resolve a path that has
397
- // / already been resolved.
398
- // /
399
- // / \param[in] is_resolved
400
- // / A boolean value that will replace the current value that
401
- // / indicates if the paths in this object have been resolved.
402
- void SetIsResolved (bool is_resolved) { m_is_resolved = is_resolved; }
403
-
404
389
FileSpec CopyByAppendingPathComponent (llvm::StringRef component) const ;
405
390
FileSpec CopyByRemovingLastPathComponent () const ;
406
391
@@ -440,7 +425,6 @@ class FileSpec {
440
425
// / state in this object.
441
426
void PathWasModified () {
442
427
m_checksum = Checksum ();
443
- m_is_resolved = false ;
444
428
m_absolute = Absolute::Calculate;
445
429
}
446
430
@@ -459,9 +443,6 @@ class FileSpec {
459
443
// / The optional MD5 checksum of the file.
460
444
Checksum m_checksum;
461
445
462
- // / True if this path has been resolved.
463
- mutable bool m_is_resolved = false ;
464
-
465
446
// / Cache whether this path is absolute.
466
447
mutable Absolute m_absolute = Absolute::Calculate;
467
448
0 commit comments