Searched refs:getInitVal (Results 1 – 16 of 16) sorted by relevance
49 if (llvm::APSInt::isSameValue(ECD->getInitVal(), Val)) { in printIntegral()
1164 << EC1->getInitVal().toString(10); in IsStructurallyEquivalent()1170 llvm::APSInt Val1 = EC1->getInitVal(); in IsStructurallyEquivalent()1171 llvm::APSInt Val2 = EC2->getInitVal(); in IsStructurallyEquivalent()1179 << EC2->getInitVal().toString(10); in IsStructurallyEquivalent()1182 << EC1->getInitVal().toString(10); in IsStructurallyEquivalent()1194 << EC2->getInitVal().toString(10); in IsStructurallyEquivalent()2272 const llvm::APSInt &FromVal = FromEC->getInitVal(); in IsStructuralMatch()2273 const llvm::APSInt &ToVal = ToEC->getInitVal(); in IsStructuralMatch()2727 Init, D->getInitVal()); in VisitEnumConstantDecl()
6166 bool SameSign = (ECD->getInitVal().isSigned() in CheckReferencedDecl()6168 bool SameWidth = (ECD->getInitVal().getBitWidth() in CheckReferencedDecl()6171 return Success(ECD->getInitVal(), E); in CheckReferencedDecl()6175 llvm::APSInt Val = ECD->getInitVal(); in CheckReferencedDecl()6177 Val.setIsSigned(!ECD->getInitVal().isSigned()); in CheckReferencedDecl()
3345 mangleIntegerLiteral(ED->getType(), ED->getInitVal()); in mangleExpression()
279 return TD->getInitVal().getSExtValue(); in clang_getEnumConstantDeclValue()295 return TD->getInitVal().getZExtValue(); in clang_getEnumConstantDeclUnsignedValue()
13952 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()13957 if (EnumVal < LastEnumConst->getInitVal()) { in CheckEnumConstant()13972 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()13990 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()14218 DupKey Key = GetDupKey(ECD->getInitVal()); in CheckForDuplicateEnumValues()14232 DupKey Key = GetDupKey(ECD->getInitVal()); in CheckForDuplicateEnumValues()14275 << (*I)->getName() << (*I)->getInitVal().toString(10) in CheckForDuplicateEnumValues()14283 << (*I)->getName() << (*I)->getInitVal().toString(10) in CheckForDuplicateEnumValues()14299 const auto &EVal = E->getInitVal(); in IsValueInFlagEnum()14361 const llvm::APSInt &InitVal = ECD->getInitVal(); in ActOnEnumBody()[all …]
1069 llvm::APSInt Val = EDI->getInitVal(); in ActOnFinishSwitchStmt()1201 llvm::APSInt Val = EDI->getInitVal(); in DiagnoseAssignmentEnum()
8650 return llvm::APSInt::isSameValue(EA->getInitVal(), EB->getInitVal()); in isEquivalentInternalLinkageDeclaration()
5664 if (enum_pos->getInitVal() == enum_value) in DumpValue()5896 if (enum_pos->getInitVal().getSExtValue() == enum_svalue) in DumpTypeValue()5911 if (enum_pos->getInitVal().getZExtValue() == enum_uvalue) in DumpTypeValue()
816 uint64_t EnumVal = Enumerator->getInitVal().getZExtValue(); in UseNSOptionsMacro()
2481 const llvm::APSInt &getInitVal() const { return Val; } in getInitVal() function
1920 SVal V = svalBuilder.makeIntVal(ED->getInitVal()); in VisitCommonDeclRefExpr()
468 Writer.AddAPSInt(D->getInitVal(), Record); in VisitEnumConstantDecl()
2078 Enum->getName(), Enum->getInitVal().getSExtValue())); in CreateTypeDefinition()
7230 I->getInitVal().toString(EnumEnc); in appendEnumType()
3746 llvm::APSInt Val = EC->getInitVal(); in RewriteObjCFieldDeclType()