Searched refs:getInitVal (Results 1 – 15 of 15) sorted by relevance
281 return TD->getInitVal().getSExtValue(); in clang_getEnumConstantDeclValue()297 return TD->getInitVal().getZExtValue(); in clang_getEnumConstantDeclUnsignedValue()
49 if (llvm::APSInt::isSameValue(ECD->getInitVal(), Val)) { in printIntegral()
1243 << EC1->getInitVal().toString(10); in IsStructurallyEquivalent()1249 llvm::APSInt Val1 = EC1->getInitVal(); in IsStructurallyEquivalent()1250 llvm::APSInt Val2 = EC2->getInitVal(); in IsStructurallyEquivalent()1258 << EC2->getInitVal().toString(10); in IsStructurallyEquivalent()1261 << EC1->getInitVal().toString(10); in IsStructurallyEquivalent()1273 << EC2->getInitVal().toString(10); in IsStructurallyEquivalent()2393 const llvm::APSInt &FromVal = FromEC->getInitVal(); in IsStructuralMatch()2394 const llvm::APSInt &ToVal = ToEC->getInitVal(); in IsStructuralMatch()2930 Init, D->getInitVal()); in VisitEnumConstantDecl()
6350 bool SameSign = (ECD->getInitVal().isSigned() in CheckReferencedDecl()6352 bool SameWidth = (ECD->getInitVal().getBitWidth() in CheckReferencedDecl()6355 return Success(ECD->getInitVal(), E); in CheckReferencedDecl()6359 llvm::APSInt Val = ECD->getInitVal(); in CheckReferencedDecl()6361 Val.setIsSigned(!ECD->getInitVal().isSigned()); in CheckReferencedDecl()
3737 mangleIntegerLiteral(ED->getType(), ED->getInitVal()); in mangleExpression()
14409 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()14414 if (EnumVal < LastEnumConst->getInitVal()) { in CheckEnumConstant()14429 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()14447 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()14675 DupKey Key = GetDupKey(ECD->getInitVal()); in CheckForDuplicateEnumValues()14689 DupKey Key = GetDupKey(ECD->getInitVal()); in CheckForDuplicateEnumValues()14732 << (*I)->getName() << (*I)->getInitVal().toString(10) in CheckForDuplicateEnumValues()14740 << (*I)->getName() << (*I)->getInitVal().toString(10) in CheckForDuplicateEnumValues()14756 const auto &EVal = E->getInitVal(); in IsValueInFlagEnum()14818 const llvm::APSInt &InitVal = ECD->getInitVal(); in ActOnEnumBody()[all …]
1080 llvm::APSInt Val = EDI->getInitVal(); in ActOnFinishSwitchStmt()1212 llvm::APSInt Val = EDI->getInitVal(); in DiagnoseAssignmentEnum()
8732 return llvm::APSInt::isSameValue(EA->getInitVal(), EB->getInitVal()); in isEquivalentInternalLinkageDeclaration()
817 uint64_t EnumVal = Enumerator->getInitVal().getZExtValue(); in UseNSOptionsMacro()
2500 const llvm::APSInt &getInitVal() const { return Val; } in getInitVal() function
494 Record.AddAPSInt(D->getInitVal()); in VisitEnumConstantDecl()
1944 SVal V = svalBuilder.makeIntVal(ED->getInitVal()); in VisitCommonDeclRefExpr()
2242 Enum->getName(), Enum->getInitVal().getSExtValue())); in CreateTypeDefinition()
7710 I->getInitVal().toString(EnumEnc); in appendEnumType()
3685 llvm::APSInt Val = EC->getInitVal(); in RewriteObjCFieldDeclType()