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

Declarations

tools/clang/include/clang/AST/Type.h
 1946   bool isEnumeralType() const;

References

tools/clang/include/clang/AST/Type.h
 6359          (isArithmeticType() && !isEnumeralType());
 6382          isEnumeralType() ||
 6781   return isDependentType() || isRecordType() || isEnumeralType();
tools/clang/lib/AST/ASTContext.cpp
 5797   if (getLangOpts().CPlusPlus && E->getType()->isEnumeralType())
tools/clang/lib/AST/Expr.cpp
 3774       (Ctx.getLangOpts().CPlusPlus && getType()->isEnumeralType()))
tools/clang/lib/AST/Type.cpp
   79   else if (ty->isEnumeralType())
tools/clang/lib/CodeGen/TargetInfo.cpp
 1258       Ty->isAnyComplexType() || Ty->isEnumeralType() ||
 1295       !Ty->isEnumeralType() && !Ty->isBlockPointerType())
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 3661   else if (Type->isEnumeralType()) {
 3736   else if (Type->isEnumeralType()) {
tools/clang/lib/Sema/SemaCXXScopeSpec.cpp
  336     if (TD->getUnderlyingType()->isEnumeralType()) {
  759     if (T->isEnumeralType())
tools/clang/lib/Sema/SemaCast.cpp
 1184   if (DestType->isEnumeralType()) {
 1973       && !SrcType->isEnumeralType()
 2563       (SrcType->isEnumeralType() == DestType->isEnumeralType()))
 2563       (SrcType->isEnumeralType() == DestType->isEnumeralType()))
 2567   if (SrcType->isEnumeralType() && DestType->isEnumeralType())
 2567   if (SrcType->isEnumeralType() && DestType->isEnumeralType())
tools/clang/lib/Sema/SemaChecking.cpp
 5653              if (!Type->isEnumeralType())
10640   return E->getType()->isEnumeralType();
10676   if (Constant->getType()->isEnumeralType() &&
10908   if (BitfieldType->isEnumeralType()) {
tools/clang/lib/Sema/SemaCodeComplete.cpp
 4373     if (Data.PreferredType->isEnumeralType()) {
 4971   if (!type->isEnumeralType()) {
tools/clang/lib/Sema/SemaDecl.cpp
16856   assert((T->isIntegralType(Context) || T->isEnumeralType()) &&
16874          T->isEnumeralType()) && "Integral type required!");
tools/clang/lib/Sema/SemaDeclCXX.cpp
13873           ParamType->isEnumeralType()) {
tools/clang/lib/Sema/SemaExpr.cpp
 8267       !(getLangOpts().CPlusPlus && LHSType->isEnumeralType())) {
10522   int NumEnumArgs = (int)LHSStrippedType->isEnumeralType() +
10523                     RHSStrippedType->isEnumeralType();
10525     bool LHSIsEnum = LHSStrippedType->isEnumeralType();
10562   assert(Type->isArithmeticType() || Type->isEnumeralType());
10602   assert(Type->isArithmeticType() || Type->isEnumeralType());
10691   if ((LHSType->isArithmeticType() || LHSType->isEnumeralType()) &&
10692       (RHSType->isArithmeticType() || RHSType->isEnumeralType()))
12141   } else if (S.getLangOpts().CPlusPlus && ResType->isEnumeralType()) {
14917                  << ConvTy->isEnumeralType() << ConvTy;
14928                  << ConvTy->isEnumeralType() << ConvTy;
tools/clang/lib/Sema/SemaExprCXX.cpp
 1955                    << ConvTy->isEnumeralType() << ConvTy;
 1966                    << ConvTy->isEnumeralType() << ConvTy;
 1976                    << T << ConvTy->isEnumeralType() << ConvTy;
 4530     return T->isEnumeralType();
 4543     return T->isArithmeticType() && !T->isEnumeralType();
 4619     return !T->isEnumeralType() && (T->isFloatingType() || T->isSignedIntegerType());
tools/clang/lib/Sema/SemaFixItUtils.cpp
  172   if (T.isEnumeralType())
tools/clang/lib/Sema/SemaOpenMP.cpp
11061              << ConvTy->isEnumeralType() << ConvTy;
11070              << ConvTy->isEnumeralType() << ConvTy;
tools/clang/lib/Sema/SemaOverload.cpp
 2011       !FromType->isEnumeralType()) {
 2263       Expr->getType()->isIntegerType() && !Expr->getType()->isEnumeralType())
 3804   if (!FromType->isEnumeralType())
 6056   if (T1->isEnumeralType()) {
 6065   if (!T2.isNull() && T2->isEnumeralType()) {
 7786   } else if (Ty->isEnumeralType()) {
 8284           if (!FirstParamType->isEnumeralType() ||
 8285               !SecondParamType->isEnumeralType())
tools/clang/lib/Sema/SemaStmt.cpp
  690         << ConvTy->isEnumeralType() << ConvTy;
  701       << ConvTy->isEnumeralType() << ConvTy;
tools/clang/lib/Sema/SemaTemplate.cpp
 6655                !ParamType->isEnumeralType()) {
 6723                                  ParamType->isEnumeralType()
 7106   if (OrigT->isEnumeralType()) {
tools/clang/lib/Sema/SemaType.cpp
 8400     if (!BaseType->isDependentType() && !BaseType->isEnumeralType()) {
tools/clang/lib/Sema/TreeTransform.h
 3736            TL.getType()->isEnumeralType())) {
 3739         if (TL.getType()->isEnumeralType())
tools/clang/lib/StaticAnalyzer/Checkers/EnumCastOutOfRangeChecker.cpp
  121   if (!T->isEnumeralType())
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObject.h
  325   return T->isBuiltinType() || T->isEnumeralType() ||
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  606         EnumConstRef->getQualifier()->getAsType()->isEnumeralType())
tools/clang/tools/extra/clang-tidy/bugprone/TooSmallLoopVariableCheck.cpp
  125     bool RHSEIsConstantValue = RHSEType->isEnumeralType() ||
  128     bool LHSEIsConstantValue = LHSEType->isEnumeralType() ||
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp
  461     if (F->getType()->isEnumeralType() ||
tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp
  202     if ((SourceType->isBuiltinType() || SourceType->isEnumeralType()) &&
  203         (DestType->isBuiltinType() || DestType->isEnumeralType())) {
tools/clang/tools/extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
  259   bool CanAssign = UseAssignment && (!ValueInit || !Init->getInit()->getType()->isEnumeralType());
tools/clang/tools/extra/clangd/ExpectedTypes.cpp
   30   if (T->isIntegerType() && !T->isEnumeralType())