diff options
Diffstat (limited to 'source/slang/slang-ast-support-types.cpp')
| -rw-r--r-- | source/slang/slang-ast-support-types.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source/slang/slang-ast-support-types.cpp b/source/slang/slang-ast-support-types.cpp new file mode 100644 index 000000000..badb524bb --- /dev/null +++ b/source/slang/slang-ast-support-types.cpp @@ -0,0 +1,13 @@ +#include "slang-ast-support-types.h" +#include "slang-ast-base.h" +#include "slang-ast-type.h" + +Slang::QualType::QualType(Type* type) + : type(type) + , isLeftValue(false) +{ + if (as<RefType>(type)) + { + isLeftValue = true; + } +} |
