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

References

tools/lldb/unittests/Symbol/TestClangASTContext.cpp
   61       context->hasSameType(GetBasicQualType(eBasicTypeBool), context->BoolTy));
   63       context->hasSameType(GetBasicQualType(eBasicTypeChar), context->CharTy));
   64   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeChar16),
   66   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeChar32),
   68   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeDouble),
   70   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeDoubleComplex),
   72   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeFloat),
   74   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeFloatComplex),
   77       context->hasSameType(GetBasicQualType(eBasicTypeHalf), context->HalfTy));
   79       context->hasSameType(GetBasicQualType(eBasicTypeInt), context->IntTy));
   80   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeInt128),
   83       context->hasSameType(GetBasicQualType(eBasicTypeLong), context->LongTy));
   84   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeLongDouble),
   87       context->hasSameType(GetBasicQualType(eBasicTypeLongDoubleComplex),
   89   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeLongLong),
   91   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeNullPtr),
   93   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeObjCClass),
   95   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeObjCID),
   97   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeObjCSel),
   99   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeShort),
  101   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeSignedChar),
  103   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeUnsignedChar),
  105   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeUnsignedInt),
  107   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeUnsignedInt128),
  109   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeUnsignedLong),
  111   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeUnsignedLongLong),
  113   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeUnsignedShort),
  116       context->hasSameType(GetBasicQualType(eBasicTypeVoid), context->VoidTy));
  117   EXPECT_TRUE(context->hasSameType(GetBasicQualType(eBasicTypeWChar),
  122   EXPECT_EQ(GetBasicQualType(eBasicTypeChar), GetBasicQualType("char"));
  123   EXPECT_EQ(GetBasicQualType(eBasicTypeSignedChar),
  125   EXPECT_EQ(GetBasicQualType(eBasicTypeUnsignedChar),
  127   EXPECT_EQ(GetBasicQualType(eBasicTypeWChar), GetBasicQualType("wchar_t"));
  128   EXPECT_EQ(GetBasicQualType(eBasicTypeSignedWChar),
  130   EXPECT_EQ(GetBasicQualType(eBasicTypeUnsignedWChar),
  132   EXPECT_EQ(GetBasicQualType(eBasicTypeShort), GetBasicQualType("short"));
  133   EXPECT_EQ(GetBasicQualType(eBasicTypeShort), GetBasicQualType("short int"));
  134   EXPECT_EQ(GetBasicQualType(eBasicTypeUnsignedShort),
  136   EXPECT_EQ(GetBasicQualType(eBasicTypeUnsignedShort),
  138   EXPECT_EQ(GetBasicQualType(eBasicTypeInt), GetBasicQualType("int"));
  139   EXPECT_EQ(GetBasicQualType(eBasicTypeInt), GetBasicQualType("signed int"));
  140   EXPECT_EQ(GetBasicQualType(eBasicTypeUnsignedInt),
  142   EXPECT_EQ(GetBasicQualType(eBasicTypeUnsignedInt),
  144   EXPECT_EQ(GetBasicQualType(eBasicTypeLong), GetBasicQualType("long"));
  145   EXPECT_EQ(GetBasicQualType(eBasicTypeLong), GetBasicQualType("long int"));
  146   EXPECT_EQ(GetBasicQualType(eBasicTypeUnsignedLong),
  148   EXPECT_EQ(GetBasicQualType(eBasicTypeUnsignedLong),
  150   EXPECT_EQ(GetBasicQualType(eBasicTypeLongLong),
  152   EXPECT_EQ(GetBasicQualType(eBasicTypeLongLong),
  154   EXPECT_EQ(GetBasicQualType(eBasicTypeUnsignedLongLong),
  156   EXPECT_EQ(GetBasicQualType(eBasicTypeUnsignedLongLong),
  158   EXPECT_EQ(GetBasicQualType(eBasicTypeInt128), GetBasicQualType("__int128_t"));
  159   EXPECT_EQ(GetBasicQualType(eBasicTypeUnsignedInt128),
  161   EXPECT_EQ(GetBasicQualType(eBasicTypeVoid), GetBasicQualType("void"));
  162   EXPECT_EQ(GetBasicQualType(eBasicTypeBool), GetBasicQualType("bool"));
  163   EXPECT_EQ(GetBasicQualType(eBasicTypeFloat), GetBasicQualType("float"));
  164   EXPECT_EQ(GetBasicQualType(eBasicTypeDouble), GetBasicQualType("double"));
  165   EXPECT_EQ(GetBasicQualType(eBasicTypeLongDouble),
  167   EXPECT_EQ(GetBasicQualType(eBasicTypeObjCID), GetBasicQualType("id"));
  168   EXPECT_EQ(GetBasicQualType(eBasicTypeObjCSel), GetBasicQualType("SEL"));
  169   EXPECT_EQ(GetBasicQualType(eBasicTypeNullPtr), GetBasicQualType("nullptr"));