Searched refs:getInitVal (Results 1 – 12 of 12) sorted by relevance
272 return TD->getInitVal().getSExtValue(); in clang_getEnumConstantDeclValue()288 return TD->getInitVal().getZExtValue(); in clang_getEnumConstantDeclUnsignedValue()
1122 << EC1->getInitVal().toString(10); in IsStructurallyEquivalent()1128 llvm::APSInt Val1 = EC1->getInitVal(); in IsStructurallyEquivalent()1129 llvm::APSInt Val2 = EC2->getInitVal(); in IsStructurallyEquivalent()1137 << EC2->getInitVal().toString(10); in IsStructurallyEquivalent()1140 << EC1->getInitVal().toString(10); in IsStructurallyEquivalent()1152 << EC2->getInitVal().toString(10); in IsStructurallyEquivalent()2205 const llvm::APSInt &FromVal = FromEC->getInitVal(); in IsStructuralMatch()2206 const llvm::APSInt &ToVal = ToEC->getInitVal(); in IsStructuralMatch()2630 Init, D->getInitVal()); in VisitEnumConstantDecl()
5691 bool SameSign = (ECD->getInitVal().isSigned() in CheckReferencedDecl()5693 bool SameWidth = (ECD->getInitVal().getBitWidth() in CheckReferencedDecl()5696 return Success(ECD->getInitVal(), E); in CheckReferencedDecl()5700 llvm::APSInt Val = ECD->getInitVal(); in CheckReferencedDecl()5702 Val.setIsSigned(!ECD->getInitVal().isSigned()); in CheckReferencedDecl()
2981 mangleIntegerLiteral(ED->getType(), ED->getInitVal()); in mangleExpression()
456 uint64_t EnumVal = Enumerator->getInitVal().getZExtValue(); in UseNSOptionsMacro()
12031 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()12036 if (EnumVal < LastEnumConst->getInitVal()) { in CheckEnumConstant()12051 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()12069 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()12274 DupKey Key = GetDupKey(ECD->getInitVal()); in CheckForDuplicateEnumValues()12288 DupKey Key = GetDupKey(ECD->getInitVal()); in CheckForDuplicateEnumValues()12331 << (*I)->getName() << (*I)->getInitVal().toString(10) in CheckForDuplicateEnumValues()12339 << (*I)->getName() << (*I)->getInitVal().toString(10) in CheckForDuplicateEnumValues()12388 const llvm::APSInt &InitVal = ECD->getInitVal(); in ActOnEnumBody()12511 llvm::APSInt InitVal = ECD->getInitVal(); in ActOnEnumBody()
1001 llvm::APSInt Val = EDI->getInitVal(); in ActOnFinishSwitchStmt()1145 llvm::APSInt Val = EDI->getInitVal(); in DiagnoseAssignmentEnum()
2222 const llvm::APSInt &getInitVal() const { return Val; } in getInitVal() function
308 Writer.AddAPSInt(D->getInitVal(), Record); in VisitEnumConstantDecl()
1659 SVal V = svalBuilder.makeIntVal(ED->getInitVal()); in VisitCommonDeclRefExpr()
1834 Enum->getInitVal().getSExtValue())); in CreateEnumType()
3851 llvm::APSInt Val = EC->getInitVal(); in RewriteObjCFieldDeclType()