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

References

tools/clang/include/clang/AST/Type.h
 5691     if (const BuiltinType *T = getBaseType()->getAs<BuiltinType>())
 6618   if (const BuiltinType *BT = getAs<BuiltinType>())
 6676   if (const auto *BT = getAs<BuiltinType>())
tools/clang/lib/AST/ASTContext.cpp
 1579   switch (T->castAs<BuiltinType>()->getKind()) {
 5690   switch (T->castAs<BuiltinType>()->getKind()) {
 5851   if (const auto *BT = Promotable->getAs<BuiltinType>()) {
 6605     if (const auto *BT = PointeeTy->getAs<BuiltinType>()) {
 6752   const auto *BT = Enum->getIntegerType()->castAs<BuiltinType>();
 6792       const auto *BT = T->castAs<BuiltinType>();
 9321   switch (T->castAs<BuiltinType>()->getKind()) {
10572   switch (Ty->castAs<BuiltinType>()->getKind()) {
10625   switch (Ty->castAs<BuiltinType>()->getKind()) {
10671   switch (Ty->castAs<BuiltinType>()->getKind()) {
10737   switch (Ty->castAs<BuiltinType>()->getKind()) {
tools/clang/lib/AST/ExprConstant.cpp
 6453         RepresentationType.getCanonicalType()->castAs<BuiltinType>();
tools/clang/lib/AST/FormatString.cpp
  354       if (const BuiltinType *BT = argTy->getAs<BuiltinType>())
  382       if (const BuiltinType *BT = argTy->getAs<BuiltinType>())
  420       if (const BuiltinType *BT = pointeeTy->getAs<BuiltinType>())
tools/clang/lib/AST/MicrosoftMangle.cpp
 2688   const BuiltinType *ET = T->getElementType()->getAs<BuiltinType>();
tools/clang/lib/AST/NSAPI.cpp
  379   const BuiltinType *BT = T->getAs<BuiltinType>();
tools/clang/lib/AST/PrintfFormatString.cpp
  729   const BuiltinType *BT = QT->getAs<BuiltinType>();
  734       BT = QT->getAs<BuiltinType>();
tools/clang/lib/AST/RecordLayoutBuilder.cpp
 1797       if (const BuiltinType *BTy = T->getAs<BuiltinType>()) {
tools/clang/lib/AST/ScanfFormatString.cpp
  433   const BuiltinType *BT = PT->getAs<BuiltinType>();
tools/clang/lib/AST/StmtPrinter.cpp
 1123   switch (Node->getType()->castAs<BuiltinType>()->getKind()) {
 1144   switch (Node->getType()->castAs<BuiltinType>()->getKind()) {
 1173   switch (Node->getType()->castAs<BuiltinType>()->getKind()) {
tools/clang/lib/AST/StmtProfile.cpp
 1057   ID.AddInteger(S->getType()->castAs<BuiltinType>()->getKind());
 1063   ID.AddInteger(S->getType()->castAs<BuiltinType>()->getKind());
 1076   ID.AddInteger(S->getType()->castAs<BuiltinType>()->getKind());
tools/clang/lib/AST/Type.cpp
 2560   if (const auto *BT = getAs<BuiltinType>())
tools/clang/lib/CodeGen/CGCall.cpp
 1508   if (const BuiltinType *BT = ResultType->getAs<BuiltinType>()) {
 1526     if (const BuiltinType *BT = CT->getElementType()->getAs<BuiltinType>()) {
tools/clang/lib/CodeGen/CGExprScalar.cpp
 3758       const BuiltinType *BTy = ElTy->getAs<BuiltinType>();
tools/clang/lib/CodeGen/TargetInfo.cpp
  953   if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) {
 1257   if (Ty->getAs<BuiltinType>() || Ty->hasPointerRepresentation() ||
 1294   if (!Ty->getAs<BuiltinType>() && !Ty->hasPointerRepresentation() &&
 1543   if (const BuiltinType *BT = T->getAs<BuiltinType>()) {
 2570   if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) {
 4000   if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) {
 4168     const BuiltinType *BT = EltType->getAs<BuiltinType>();
 4451         const BuiltinType *BT = T->getAs<BuiltinType>();
 4524   if (const BuiltinType *BT = Ty->getAs<BuiltinType>())
 4559     const BuiltinType *BT = EltType->getAs<BuiltinType>();
 4699   if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) {
 5283   if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) {
 6000   if (Ty->getAs<BuiltinType>() || Ty->isPointerType())
 6257   if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) {
 6594   if (const BuiltinType *BT = Ty->getAs<BuiltinType>())
 6618   if (const BuiltinType *BT = Ty->getAs<BuiltinType>())
 7072     const BuiltinType *BT = Ty->getAs<BuiltinType>();
 7171         const BuiltinType *BT = b->getType()->getAs<BuiltinType>();
 9192   if (const BuiltinType *BT = QT->getAs<BuiltinType>())
tools/clang/lib/Index/USRGeneration.cpp
  656     if (const BuiltinType *BT = T->getAs<BuiltinType>()) {
tools/clang/lib/Sema/SemaChecking.cpp
 4735       const BuiltinType *BT = ValType->getAs<BuiltinType>();
11223   const auto *ResultBT = E->getLHS()->getType()->getAs<BuiltinType>();
11226                         ->getAs<BuiltinType>();
14518   const BuiltinType *BT1 = T1->getAs<BuiltinType>();
14522   const BuiltinType *BT2 = T2->getAs<BuiltinType>();
tools/clang/lib/Sema/SemaDecl.cpp
14410   if (const BuiltinType *BT = T->getAs<BuiltinType>())
tools/clang/lib/Sema/SemaDeclAttr.cpp
 3981   if (!OldElemTy->getAs<BuiltinType>() && !OldElemTy->isComplexType() &&
tools/clang/lib/Sema/SemaExpr.cpp
  751   const BuiltinType *BTy = Ty->getAs<BuiltinType>();
 1251   const auto *BTy = Ty->getAs<BuiltinType>();
 3580         const BuiltinType *BTy = Ty->getAs<BuiltinType>();
 9943       const BuiltinType *LHSBT = LHSEleType->getAs<clang::BuiltinType>();
 9944       const BuiltinType *RHSBT = RHSEleType->getAs<clang::BuiltinType>();
tools/clang/lib/Sema/SemaExprCXX.cpp
 3702           = ToPtrType->getPointeeType()->getAs<BuiltinType>()) {
tools/clang/lib/Sema/SemaInit.cpp
 9563   } else if (const BuiltinType *BT = EntityType->getAs<BuiltinType>())
tools/clang/lib/Sema/SemaOverload.cpp
 1999   const BuiltinType *To = ToType->getAs<BuiltinType>();
 2160   if (const BuiltinType *FromBuiltin = FromType->getAs<BuiltinType>())
 2161     if (const BuiltinType *ToBuiltin = ToType->getAs<BuiltinType>()) {
tools/clang/lib/Sema/SemaType.cpp
 4856             } else if (const BuiltinType* BTy = ParamTy->getAs<BuiltinType>()) {
 7209   const BuiltinType *BTy = Ty->getAs<BuiltinType>();
 7332     } else if (const BuiltinType* ImgType = BaseTy->getAs<BuiltinType>()) {
tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
  853     assert(OOE->getType()->castAs<BuiltinType>()->isInteger());
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp
   65   return E.getType().getCanonicalType().getTypePtr()->getAs<BuiltinType>();
tools/clang/tools/extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
   32     switch (InitType->castAs<BuiltinType>()->getKind()) {
   50     switch (InitType->castAs<BuiltinType>()->getKind()) {
   64     switch (InitType->castAs<BuiltinType>()->getKind()) {
tools/clang/tools/extra/clang-tidy/mpi/TypeMismatchCheck.cpp
  158       Complex->getElementType().getTypePtr()->getAs<BuiltinType>();
  191       Template->getArg(0).getAsType().getTypePtr()->getAs<BuiltinType>();
  319     } else if (const auto *Builtin = BT->getAs<BuiltinType>()) {