Searched refs:getInitVal (Results 1 – 15 of 15) sorted by relevance
128 llvm::APSInt current_value = iter->getInitVal(); in CheckChromeEnum()149 iter->getInitVal() < max_so_far) { in CheckChromeEnum()
279 return TD->getInitVal().getSExtValue(); in clang_getEnumConstantDeclValue()295 return TD->getInitVal().getZExtValue(); in clang_getEnumConstantDeclUnsignedValue()
1119 << EC1->getInitVal().toString(10); in IsStructurallyEquivalent()1125 llvm::APSInt Val1 = EC1->getInitVal(); in IsStructurallyEquivalent()1126 llvm::APSInt Val2 = EC2->getInitVal(); in IsStructurallyEquivalent()1134 << EC2->getInitVal().toString(10); in IsStructurallyEquivalent()1137 << EC1->getInitVal().toString(10); in IsStructurallyEquivalent()1149 << EC2->getInitVal().toString(10); in IsStructurallyEquivalent()2197 const llvm::APSInt &FromVal = FromEC->getInitVal(); in IsStructuralMatch()2198 const llvm::APSInt &ToVal = ToEC->getInitVal(); in IsStructuralMatch()2637 Init, D->getInitVal()); in VisitEnumConstantDecl()
5827 bool SameSign = (ECD->getInitVal().isSigned() in CheckReferencedDecl()5829 bool SameWidth = (ECD->getInitVal().getBitWidth() in CheckReferencedDecl()5832 return Success(ECD->getInitVal(), E); in CheckReferencedDecl()5836 llvm::APSInt Val = ECD->getInitVal(); in CheckReferencedDecl()5838 Val.setIsSigned(!ECD->getInitVal().isSigned()); in CheckReferencedDecl()
3028 mangleIntegerLiteral(ED->getType(), ED->getInitVal()); in mangleExpression()
12781 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()12786 if (EnumVal < LastEnumConst->getInitVal()) { in CheckEnumConstant()12801 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()12819 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()13022 DupKey Key = GetDupKey(ECD->getInitVal()); in CheckForDuplicateEnumValues()13036 DupKey Key = GetDupKey(ECD->getInitVal()); in CheckForDuplicateEnumValues()13079 << (*I)->getName() << (*I)->getInitVal().toString(10) in CheckForDuplicateEnumValues()13087 << (*I)->getName() << (*I)->getInitVal().toString(10) in CheckForDuplicateEnumValues()13136 const llvm::APSInt &InitVal = ECD->getInitVal(); in ActOnEnumBody()13259 llvm::APSInt InitVal = ECD->getInitVal(); in ActOnEnumBody()
1033 llvm::APSInt Val = EDI->getInitVal(); in ActOnFinishSwitchStmt()1182 llvm::APSInt Val = EDI->getInitVal(); in DiagnoseAssignmentEnum()
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()
674 uint64_t EnumVal = Enumerator->getInitVal().getZExtValue(); in UseNSOptionsMacro()
2302 const llvm::APSInt &getInitVal() const { return Val; } in getInitVal() function
336 Writer.AddAPSInt(D->getInitVal(), Record); in VisitEnumConstantDecl()
1756 SVal V = svalBuilder.makeIntVal(ED->getInitVal()); in VisitCommonDeclRefExpr()
1958 Enum->getInitVal().getSExtValue())); in CreateTypeDefinition()
6331 I->getInitVal().toString(EnumEnc); in appendEnumType()
3783 llvm::APSInt Val = EC->getInitVal(); in RewriteObjCFieldDeclType()