reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lldb/source/Symbol/ClangASTContext.cpp
 1029   assert(ast != nullptr);
 1030   if (ast) {
 1036       if (QualTypeMatchesBitSize(bit_size, ast, ast->VoidPtrTy))
 1036       if (QualTypeMatchesBitSize(bit_size, ast, ast->VoidPtrTy))
 1037         return CompilerType(this, ast->VoidPtrTy.getAsOpaquePtr());
 1041       if (QualTypeMatchesBitSize(bit_size, ast, ast->BoolTy))
 1041       if (QualTypeMatchesBitSize(bit_size, ast, ast->BoolTy))
 1042         return CompilerType(this, ast->BoolTy.getAsOpaquePtr());
 1043       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedCharTy))
 1043       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedCharTy))
 1044         return CompilerType(this, ast->UnsignedCharTy.getAsOpaquePtr());
 1045       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedShortTy))
 1045       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedShortTy))
 1046         return CompilerType(this, ast->UnsignedShortTy.getAsOpaquePtr());
 1047       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedIntTy))
 1047       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedIntTy))
 1048         return CompilerType(this, ast->UnsignedIntTy.getAsOpaquePtr());
 1059               this, ast->getComplexType(
 1067       if (QualTypeMatchesBitSize(bit_size, ast, ast->FloatComplexTy))
 1067       if (QualTypeMatchesBitSize(bit_size, ast, ast->FloatComplexTy))
 1068         return CompilerType(this, ast->FloatComplexTy.getAsOpaquePtr());
 1069       else if (QualTypeMatchesBitSize(bit_size, ast, ast->DoubleComplexTy))
 1069       else if (QualTypeMatchesBitSize(bit_size, ast, ast->DoubleComplexTy))
 1070         return CompilerType(this, ast->DoubleComplexTy.getAsOpaquePtr());
 1071       else if (QualTypeMatchesBitSize(bit_size, ast, ast->LongDoubleComplexTy))
 1071       else if (QualTypeMatchesBitSize(bit_size, ast, ast->LongDoubleComplexTy))
 1072         return CompilerType(this, ast->LongDoubleComplexTy.getAsOpaquePtr());
 1078             this, ast->getComplexType(
 1086           QualTypeMatchesBitSize(bit_size, ast, ast->FloatTy))
 1086           QualTypeMatchesBitSize(bit_size, ast, ast->FloatTy))
 1087         return CompilerType(this, ast->FloatTy.getAsOpaquePtr());
 1089           QualTypeMatchesBitSize(bit_size, ast, ast->DoubleTy))
 1089           QualTypeMatchesBitSize(bit_size, ast, ast->DoubleTy))
 1090         return CompilerType(this, ast->DoubleTy.getAsOpaquePtr());
 1092           QualTypeMatchesBitSize(bit_size, ast, ast->LongDoubleTy))
 1092           QualTypeMatchesBitSize(bit_size, ast, ast->LongDoubleTy))
 1093         return CompilerType(this, ast->LongDoubleTy.getAsOpaquePtr());
 1095       if (QualTypeMatchesBitSize(bit_size, ast, ast->FloatTy))
 1095       if (QualTypeMatchesBitSize(bit_size, ast, ast->FloatTy))
 1096         return CompilerType(this, ast->FloatTy.getAsOpaquePtr());
 1097       if (QualTypeMatchesBitSize(bit_size, ast, ast->DoubleTy))
 1097       if (QualTypeMatchesBitSize(bit_size, ast, ast->DoubleTy))
 1098         return CompilerType(this, ast->DoubleTy.getAsOpaquePtr());
 1099       if (QualTypeMatchesBitSize(bit_size, ast, ast->LongDoubleTy))
 1099       if (QualTypeMatchesBitSize(bit_size, ast, ast->LongDoubleTy))
 1100         return CompilerType(this, ast->LongDoubleTy.getAsOpaquePtr());
 1101       if (QualTypeMatchesBitSize(bit_size, ast, ast->HalfTy))
 1101       if (QualTypeMatchesBitSize(bit_size, ast, ast->HalfTy))
 1102         return CompilerType(this, ast->HalfTy.getAsOpaquePtr());
 1108             QualTypeMatchesBitSize(bit_size, ast, ast->WCharTy) &&
 1108             QualTypeMatchesBitSize(bit_size, ast, ast->WCharTy) &&
 1111           return CompilerType(this, ast->WCharTy.getAsOpaquePtr());
 1113             QualTypeMatchesBitSize(bit_size, ast, ast->VoidTy))
 1113             QualTypeMatchesBitSize(bit_size, ast, ast->VoidTy))
 1114           return CompilerType(this, ast->VoidTy.getAsOpaquePtr());
 1116             QualTypeMatchesBitSize(bit_size, ast, ast->LongLongTy))
 1116             QualTypeMatchesBitSize(bit_size, ast, ast->LongLongTy))
 1117           return CompilerType(this, ast->LongLongTy.getAsOpaquePtr());
 1119             QualTypeMatchesBitSize(bit_size, ast, ast->LongTy))
 1119             QualTypeMatchesBitSize(bit_size, ast, ast->LongTy))
 1120           return CompilerType(this, ast->LongTy.getAsOpaquePtr());
 1122             QualTypeMatchesBitSize(bit_size, ast, ast->ShortTy))
 1122             QualTypeMatchesBitSize(bit_size, ast, ast->ShortTy))
 1123           return CompilerType(this, ast->ShortTy.getAsOpaquePtr());
 1125           if (QualTypeMatchesBitSize(bit_size, ast, ast->CharTy))
 1125           if (QualTypeMatchesBitSize(bit_size, ast, ast->CharTy))
 1126             return CompilerType(this, ast->CharTy.getAsOpaquePtr());
 1127           if (QualTypeMatchesBitSize(bit_size, ast, ast->SignedCharTy))
 1127           if (QualTypeMatchesBitSize(bit_size, ast, ast->SignedCharTy))
 1128             return CompilerType(this, ast->SignedCharTy.getAsOpaquePtr());
 1131           if (QualTypeMatchesBitSize(bit_size, ast, ast->IntTy))
 1131           if (QualTypeMatchesBitSize(bit_size, ast, ast->IntTy))
 1132             return CompilerType(this, ast->IntTy.getAsOpaquePtr());
 1133           if (QualTypeMatchesBitSize(bit_size, ast, ast->Int128Ty))
 1133           if (QualTypeMatchesBitSize(bit_size, ast, ast->Int128Ty))
 1134             return CompilerType(this, ast->Int128Ty.getAsOpaquePtr());
 1138       if (QualTypeMatchesBitSize(bit_size, ast, ast->CharTy))
 1138       if (QualTypeMatchesBitSize(bit_size, ast, ast->CharTy))
 1139         return CompilerType(this, ast->CharTy.getAsOpaquePtr());
 1140       if (QualTypeMatchesBitSize(bit_size, ast, ast->ShortTy))
 1140       if (QualTypeMatchesBitSize(bit_size, ast, ast->ShortTy))
 1141         return CompilerType(this, ast->ShortTy.getAsOpaquePtr());
 1142       if (QualTypeMatchesBitSize(bit_size, ast, ast->IntTy))
 1142       if (QualTypeMatchesBitSize(bit_size, ast, ast->IntTy))
 1143         return CompilerType(this, ast->IntTy.getAsOpaquePtr());
 1144       if (QualTypeMatchesBitSize(bit_size, ast, ast->LongTy))
 1144       if (QualTypeMatchesBitSize(bit_size, ast, ast->LongTy))
 1145         return CompilerType(this, ast->LongTy.getAsOpaquePtr());
 1146       if (QualTypeMatchesBitSize(bit_size, ast, ast->LongLongTy))
 1146       if (QualTypeMatchesBitSize(bit_size, ast, ast->LongLongTy))
 1147         return CompilerType(this, ast->LongLongTy.getAsOpaquePtr());
 1148       if (QualTypeMatchesBitSize(bit_size, ast, ast->Int128Ty))
 1148       if (QualTypeMatchesBitSize(bit_size, ast, ast->Int128Ty))
 1149         return CompilerType(this, ast->Int128Ty.getAsOpaquePtr());
 1153       if (ast->getLangOpts().CharIsSigned && type_name &&
 1155         if (QualTypeMatchesBitSize(bit_size, ast, ast->CharTy))
 1155         if (QualTypeMatchesBitSize(bit_size, ast, ast->CharTy))
 1156           return CompilerType(this, ast->CharTy.getAsOpaquePtr());
 1158       if (QualTypeMatchesBitSize(bit_size, ast, ast->SignedCharTy))
 1158       if (QualTypeMatchesBitSize(bit_size, ast, ast->SignedCharTy))
 1159         return CompilerType(this, ast->SignedCharTy.getAsOpaquePtr());
 1165           if (QualTypeMatchesBitSize(bit_size, ast, ast->WCharTy)) {
 1165           if (QualTypeMatchesBitSize(bit_size, ast, ast->WCharTy)) {
 1168               return CompilerType(this, ast->WCharTy.getAsOpaquePtr());
 1172           if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedLongLongTy))
 1172           if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedLongLongTy))
 1173             return CompilerType(this, ast->UnsignedLongLongTy.getAsOpaquePtr());
 1175           if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedLongTy))
 1175           if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedLongTy))
 1176             return CompilerType(this, ast->UnsignedLongTy.getAsOpaquePtr());
 1178           if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedShortTy))
 1178           if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedShortTy))
 1179             return CompilerType(this, ast->UnsignedShortTy.getAsOpaquePtr());
 1181           if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedCharTy))
 1181           if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedCharTy))
 1182             return CompilerType(this, ast->UnsignedCharTy.getAsOpaquePtr());
 1184           if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedIntTy))
 1184           if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedIntTy))
 1185             return CompilerType(this, ast->UnsignedIntTy.getAsOpaquePtr());
 1186           if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedInt128Ty))
 1186           if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedInt128Ty))
 1187             return CompilerType(this, ast->UnsignedInt128Ty.getAsOpaquePtr());
 1191       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedCharTy))
 1191       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedCharTy))
 1192         return CompilerType(this, ast->UnsignedCharTy.getAsOpaquePtr());
 1193       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedShortTy))
 1193       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedShortTy))
 1194         return CompilerType(this, ast->UnsignedShortTy.getAsOpaquePtr());
 1195       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedIntTy))
 1195       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedIntTy))
 1196         return CompilerType(this, ast->UnsignedIntTy.getAsOpaquePtr());
 1197       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedLongTy))
 1197       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedLongTy))
 1198         return CompilerType(this, ast->UnsignedLongTy.getAsOpaquePtr());
 1199       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedLongLongTy))
 1199       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedLongLongTy))
 1200         return CompilerType(this, ast->UnsignedLongLongTy.getAsOpaquePtr());
 1201       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedInt128Ty))
 1201       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedInt128Ty))
 1202         return CompilerType(this, ast->UnsignedInt128Ty.getAsOpaquePtr());
 1206       if (!ast->getLangOpts().CharIsSigned && type_name &&
 1208         if (QualTypeMatchesBitSize(bit_size, ast, ast->CharTy))
 1208         if (QualTypeMatchesBitSize(bit_size, ast, ast->CharTy))
 1209           return CompilerType(this, ast->CharTy.getAsOpaquePtr());
 1211       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedCharTy))
 1211       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedCharTy))
 1212         return CompilerType(this, ast->UnsignedCharTy.getAsOpaquePtr());
 1213       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedShortTy))
 1213       if (QualTypeMatchesBitSize(bit_size, ast, ast->UnsignedShortTy))
 1214         return CompilerType(this, ast->UnsignedShortTy.getAsOpaquePtr());
 1223           return CompilerType(this, ast->Char16Ty.getAsOpaquePtr());
 1225           return CompilerType(this, ast->Char32Ty.getAsOpaquePtr());
 1227           return CompilerType(this, ast->Char8Ty.getAsOpaquePtr());