summaryrefslogtreecommitdiff
path: root/source/slang/slang-ast-support-types.cpp
blob: badb524bb0a99c9bf53ec58516bd33bf9dabc41f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
    }
}