예제 #1
0
파일: TypeDumper.cpp 프로젝트: zhmz90/llvm
void CVTypeDumperImpl::printMemberAttributes(MemberAttributes Attrs) {
  W.printEnum("AccessSpecifier", uint8_t(Attrs.getAccess()),
              makeArrayRef(MemberAccessNames));
  auto MK = Attrs.getMethodKind();
  // Data members will be vanilla. Don't try to print a method kind for them.
  if (MK != MethodKind::Vanilla)
    W.printEnum("MethodKind", unsigned(MK), makeArrayRef(MemberKindNames));
  if (Attrs.getFlags() != MethodOptions::None) {
    W.printFlags("MethodOptions", unsigned(Attrs.getFlags()),
                 makeArrayRef(MethodOptionNames));
  }
}
예제 #2
0
void CVTypeDumperImpl::printMemberAttributes(MemberAttributes Attrs) {
    return printMemberAttributes(Attrs.getAccess(), Attrs.getMethodKind(),
                                 Attrs.getFlags());
}
예제 #3
0
void TypeDumpVisitor::printMemberAttributes(MemberAttributes Attrs) {
  return printMemberAttributes(Attrs.getAccess(), Attrs.getMethodKind(),
                               Attrs.getFlags());
}