diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2023-04-04 17:20:05 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-04 17:20:05 -0400 |
| commit | 7bb2de1bc40e535fae93940113db97b5ea44a6f2 (patch) | |
| tree | a70dcd1c4f97387ba7df482fefcd576c04543606 /source/slang/slang-compiler.h | |
| parent | 34a2fd593dd5a5d7b597b9d2fe20e39cc24b8e6c (diff) | |
Simplification around ArtifactRepresentation and unique identity (#2771)
* #include an absolute path didn't work - because paths were taken to always be relative.
* WIP in handling artifacts/SourceFiles.
* Add getUniqueIdentity to IPathArtifactRepresentation
* Simplification because around using the representation to provide the uniqueIdentity.
Diffstat (limited to 'source/slang/slang-compiler.h')
| -rwxr-xr-x | source/slang/slang-compiler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/slang/slang-compiler.h b/source/slang/slang-compiler.h index b49ce4fc3..895834312 100755 --- a/source/slang/slang-compiler.h +++ b/source/slang/slang-compiler.h @@ -1495,6 +1495,9 @@ namespace Slang protected: void _addSourceFile(SourceFile* sourceFile); + /* Given an artifact, find a PathInfo. + If no PathInfo can be found will return an unknown PathInfo */ + PathInfo _findSourcePathInfo(IArtifact* artifact); List<ComPtr<IArtifact>> m_sourceArtifacts; // The source file(s) that will be compiled to form this translation unit |
