Searched refs:getInitVal (Results 1 – 11 of 11) sorted by relevance
261 return TD->getInitVal().getSExtValue(); in clang_getEnumConstantDeclValue()277 return TD->getInitVal().getZExtValue(); in clang_getEnumConstantDeclUnsignedValue()
1102 << EC1->getInitVal().toString(10); in IsStructurallyEquivalent()1108 llvm::APSInt Val1 = EC1->getInitVal(); in IsStructurallyEquivalent()1109 llvm::APSInt Val2 = EC2->getInitVal(); in IsStructurallyEquivalent()1117 << EC2->getInitVal().toString(10); in IsStructurallyEquivalent()1120 << EC1->getInitVal().toString(10); in IsStructurallyEquivalent()1132 << EC2->getInitVal().toString(10); in IsStructurallyEquivalent()2162 const llvm::APSInt &FromVal = FromEC->getInitVal(); in IsStructuralMatch()2163 const llvm::APSInt &ToVal = ToEC->getInitVal(); in IsStructuralMatch()2579 Init, D->getInitVal()); in VisitEnumConstantDecl()
4101 bool SameSign = (ECD->getInitVal().isSigned() in CheckReferencedDecl()4103 bool SameWidth = (ECD->getInitVal().getBitWidth() in CheckReferencedDecl()4106 return Success(ECD->getInitVal(), E); in CheckReferencedDecl()4110 llvm::APSInt Val = ECD->getInitVal(); in CheckReferencedDecl()4112 Val.setIsSigned(!ECD->getInitVal().isSigned()); in CheckReferencedDecl()
2797 mangleIntegerLiteral(ED->getType(), ED->getInitVal()); in mangleExpression()
11212 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()11217 if (EnumVal < LastEnumConst->getInitVal()) { in CheckEnumConstant()11232 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()11250 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()11455 DupKey Key = GetDupKey(ECD->getInitVal()); in CheckForDuplicateEnumValues()11469 DupKey Key = GetDupKey(ECD->getInitVal()); in CheckForDuplicateEnumValues()11512 << (*I)->getName() << (*I)->getInitVal().toString(10) in CheckForDuplicateEnumValues()11520 << (*I)->getName() << (*I)->getInitVal().toString(10) in CheckForDuplicateEnumValues()11569 const llvm::APSInt &InitVal = ECD->getInitVal(); in ActOnEnumBody()11692 llvm::APSInt InitVal = ECD->getInitVal(); in ActOnEnumBody()
989 llvm::APSInt Val = EDI->getInitVal(); in ActOnFinishSwitchStmt()1132 llvm::APSInt Val = EDI->getInitVal(); in DiagnoseAssignmentEnum()
2172 const llvm::APSInt &getInitVal() const { return Val; } in getInitVal() function
297 Writer.AddAPSInt(D->getInitVal(), Record); in VisitEnumConstantDecl()
1549 SVal V = svalBuilder.makeIntVal(ED->getInitVal()); in VisitCommonDeclRefExpr()
1710 Enum->getInitVal().getZExtValue())); in CreateEnumType()
3847 llvm::APSInt Val = EC->getInitVal(); in RewriteObjCFieldDeclType()