slang_rs_export_var.cpp revision 462aefd62cc646d2ff753c1d003ef3cd7bbea262
1#include "slang_rs_export_var.hpp"
2#include "slang_rs_export_type.hpp" /* for macro GET_CANONICAL_TYPE() */
3
4#include "clang/AST/Type.h"         /* for clang::Type and clang::QualType */
5
6namespace slang {
7
8RSExportVar::RSExportVar(RSContext* Context, const VarDecl* VD, const RSExportType* ET) :
9    mContext(Context),
10    mName(VD->getName().data(), VD->getName().size()),
11    mET(ET)
12{
13    return;
14}
15
16}   /* namespace slang */
17