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

Declarations

tools/clang/include/clang/AST/Type.h
 1978   bool isScalarType() const;       // C99 6.2.5p21 (arithmetic + pointers)

References

tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h
  200     assert(T->isScalarType());
tools/clang/lib/AST/Stmt.cpp
 1175         (Var->getType()->isScalarType() || (Var->getType()->isReferenceType() &&
 1179                                                 ->isScalarType())) &&
tools/clang/lib/AST/Type.cpp
 2051   assert(isScalarType());
 2268   if (CanonicalType->isScalarType() || CanonicalType->isVectorType())
 2310   if (CanonicalType->isScalarType() || CanonicalType->isVectorType())
 2411   if (BaseTy->isScalarType() || BaseTy->isVectorType() ||
 2464   if (BaseTy->isScalarType() || BaseTy->isVectorType()) return true;
 2503   if (BaseTy->isScalarType() || BaseTy->isVectorType()) return true;
tools/clang/lib/Analysis/UninitializedValues.cpp
   48     return ty->isScalarType() || ty->isVectorType() || ty->isRecordType();
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
 1166     } else if ((isaOMPArraySectionExpr && Type->isScalarType()) ||
tools/clang/lib/CodeGen/TargetInfo.cpp
 6420   if (!RetTy->isScalarType())
tools/clang/lib/Sema/SemaCast.cpp
 2631   if (!DestType->isScalarType() && !DestType->isVectorType()) {
 2685   if (!SrcType->isScalarType() && !SrcType->isVectorType()) {
tools/clang/lib/Sema/SemaChecking.cpp
 4761       !AtomTy->isScalarType()) {
11316       T->isMemberPointerType() || !T->isScalarType() || T->isNullPtrType())
tools/clang/lib/Sema/SemaDecl.cpp
 9422       if (!R->getAs<FunctionType>()->getReturnType()->isScalarType())
tools/clang/lib/Sema/SemaDeclCXX.cpp
 6313           (F->getType().isConstQualified() && F->getType()->isScalarType())) {
tools/clang/lib/Sema/SemaDeclObjC.cpp
 3166   if (!left->isScalarType() || !right->isScalarType())
 3166   if (!left->isScalarType() || !right->isScalarType())
tools/clang/lib/Sema/SemaExpr.cpp
 6486     assert(eltType->isScalarType());
 6514   if (srcTy->isScalarType() && destTy->isExtVectorType()) return false;
 6515   if (destTy->isScalarType() && srcTy->isExtVectorType()) return false;
 6881   if (CondTy->isScalarType()) return false;
 8240     if (LHSType->isScalarType()) {
 9115                (OtherType->isScalarType() && VT->getNumElements() == 1)) {
10156   if (!R->isScalarType())
11412     if (!LHS.get()->getType()->isScalarType() ||
11413         !RHS.get()->getType()->isScalarType())
13580     if (resultType->isScalarType() && !isScopedEnumerationType(resultType)) {
17288     if (!T->isScalarType()) { // C99 6.8.4.1p1
tools/clang/lib/Sema/SemaExprCXX.cpp
 4566     return T->isScalarType();
 6892   return DestructedType->isDependentType() || DestructedType->isScalarType() ||
 6910   if (!ObjectType->isDependentType() && !ObjectType->isScalarType() &&
tools/clang/lib/Sema/SemaFixItUtils.cpp
  169   assert(T.isScalarType() && "use scalar types only");
  201   if (T->isScalarType()) {
tools/clang/lib/Sema/SemaInit.cpp
 1208                      T->isScalarType() ? 2 :
 1220     if (T->isScalarType() && IList->getNumInits() == 1 &&
 1258   } else if (DeclType->isScalarType()) {
 1385   } else if (ElemType->isScalarType() || ElemType->isAtomicType()) {
 4276   if (S.getLangOpts().CPlusPlus && DestType->isScalarType() &&
tools/clang/lib/Sema/SemaOpenMP.cpp
 1840           !Ty->isScalarType() ||
 1847   if (IsByRef && Ty.getNonReferenceType()->isScalarType()) {
 2058       if (D->getType()->isScalarType() &&
 2862               (VD->getType().getNonReferenceType()->isScalarType() &&
 8340     if (AtomicBody->getType()->isScalarType() ||
 8498         if ((X->isInstantiationDependent() || X->getType()->isScalarType()) &&
 8499             (V->isInstantiationDependent() || V->getType()->isScalarType())) {
 8511               (X->isInstantiationDependent() || X->getType()->isScalarType())
 8561         if ((X->isInstantiationDependent() || X->getType()->isScalarType()) &&
 8562             (E->isInstantiationDependent() || E->getType()->isScalarType())) {
 8573               (X->isInstantiationDependent() || X->getType()->isScalarType())
13312           !(Type->isScalarType() ||
13415         if (Type->isScalarType() || Type->isAnyComplexType())
13420         if (Type->isScalarType() || Type->isAnyComplexType()) {
13436         } else if (Type->isScalarType()) {
tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
  435                   if (isa<ParmVarDecl>(VD) && VD->getType()->isScalarType())
tools/clang/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp
   66   if (!B->getRHS()->getType()->isScalarType())
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
  540     if (!CE.getResultType()->isScalarType()) {
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObject.h
  327          T->isVectorType() || T->isScalarType();
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp
 1757     if (baseT->isScalarType()) {
 1759       if (elemT->isScalarType()) {
 2351     if (!(Ty->isScalarType() || Ty->isReferenceType()))
tools/clang/tools/extra/clang-tidy/utils/TypeTraits.cpp
  127   if (CanonicalType->isScalarType() || CanonicalType->isVectorType())