Shih-wei Liao | 462aefd | 2010-06-04 15:32:04 -0700 | [diff] [blame^] | 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 | |||||
6 | namespace slang { | ||||
7 | |||||
8 | RSExportVar::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 */ |