Home
last modified time | relevance | path

Searched refs:hasConst (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/
H A DMicrosoftMangle.cpp2008 bool HasConst = Quals.hasConst(), in mangleQualifiers()
2075 bool HasConst = Quals.hasConst(), in manglePointerCVQualifiers()
3019 assert(!Quals.hasConst() && !Quals.hasVolatile() && "unexpected qualifier!"); in mangleType()
3031 assert(!Quals.hasConst() && !Quals.hasVolatile() && "unexpected qualifier!"); in mangleType()
H A DItaniumMangle.cpp2743 if (Quals.hasConst()) in mangleQualifiers()
/llvm-project-15.0.7/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp302 if (Quals.hasConst()) in getFragmentsForQualifiers()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp1692 bool hasConst() { in hasConst() function in __anonab2a65c10611::LeafPrioQueue
2095 if (NOpcode == ISD::ADD && GA.Value.getNode() && Leaves.hasConst() && in balanceSubTree()
2148 if (TopLevel && !CanFactorize && Leaves.hasConst()) { in balanceSubTree()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DType.h264 bool hasConst() const { return Mask & Const; }
563 return hasConst();
639 bool hasConst() const { return Quals.hasConst(); }
3898 bool isConst() const { return getFastTypeQuals().hasConst(); }
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCast.cpp718 if (AllConstSoFar && !DestQuals.hasConst()) { in CastsAwayConstness()
3223 if (CastAwayQualifiers.hasConst() && CastAwayQualifiers.hasVolatile()) { in DiagnoseCastQual()
3225 } else if (CastAwayQualifiers.hasConst()) { in DiagnoseCastQual()
H A DSemaInit.cpp4371 (T1Quals.hasConst() && !T1Quals.hasVolatile())) { in TryReferenceListInitialization()
4904 if (isLValueRef && !(T1Quals.hasConst() && !T1Quals.hasVolatile() && in TryReferenceInitializationCore()
H A DSemaTemplateDeduction.cpp3334 (DeducedAQuals.hasConst() && in CheckOriginalCallArgDeduction()
H A DSemaOverload.cpp3186 if (ToQuals.hasConst() && in isNonTrivialObjCLifetimeConversion()
3269 PreviousToQualsIncludeConst && ToQuals.hasConst(); in isQualificationConversionStep()
H A DSemaCodeComplete.cpp1343 if (ObjectKind != VK_LValue && !MethodQuals.hasConst()) in AddResult()
H A DSemaDeclCXX.cpp7483 if (Type->getMethodQuals().hasConst() || Type->getMethodQuals().hasVolatile()) { in CheckExplicitlyDefaultedSpecialMember()
H A DSemaDecl.cpp11371 !isa<CXXDestructorDecl>(MD) && !MD->getMethodQualifiers().hasConst()) { in CheckFunctionDeclaration()
/llvm-project-15.0.7/clang/lib/Index/
H A DUSRGeneration.cpp643 if (Q.hasConst()) in VisitType()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDecl.cpp2546 assert(qs.hasConst() && "pseudo-strong variable should be const!"); in EmitParmDecl()
H A DCGDebugInfo.cpp920 if (Q.hasConst()) { in getNextQualifier()
H A DCGExpr.cpp1472 if (!qs.hasConst() || qs.hasVolatile()) return false; in isConstantEmittableObjectType()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp8849 return (Method && Method->getMethodQualifiers().hasConst()) ? 1 : 0; in clang_CXXMethod_isConst()