diff options
Diffstat (limited to 'source/slang/ir.h')
| -rw-r--r-- | source/slang/ir.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/ir.h b/source/slang/ir.h index a6f5b30a1..8ca4508ff 100644 --- a/source/slang/ir.h +++ b/source/slang/ir.h @@ -9,6 +9,8 @@ #include "../core/basic.h" +#include "source-loc.h" + namespace Slang { class Decl; @@ -136,6 +138,9 @@ struct IRValue Type* getType() { return type; } + // Source location information for this value, if any + SourceLoc sourceLoc; + // The linked list of decorations attached to this value IRDecoration* firstDecoration = nullptr; |
