summaryrefslogtreecommitdiff
path: root/source/slang/slang-ast-support-types.cpp
blob: 7133f2a65902d28651f8026733b2c67ede9218e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "slang-ast-support-types.h"
#include "slang-ast-base.h"
#include "slang-ast-type.h"

namespace Slang
{
QualType::QualType(Type* type)
    : type(type)
    , isLeftValue(false)
{
    if (as<RefType>(type))
    {
        isLeftValue = true;
    }
}

}