예제 #1
0
파일: clang++.cpp 프로젝트: mythagel/cxxide
long long cursor::type::offset_of(const char* s)
{
    return clang_Type_getOffsetOf(ctype, s);
}
예제 #2
0
파일: Type.cpp 프로젝트: eparayre/blueprint
 size_t Type::GetOffsetOf(const std::string& fieldName) const
 {
     return clang_Type_getOffsetOf(type_, fieldName.c_str());
 }