Home
last modified time | relevance | path

Searched refs:getInitVal (Results 1 – 11 of 11) sorted by relevance

/external/clang/tools/libclang/
DCXType.cpp261 return TD->getInitVal().getSExtValue(); in clang_getEnumConstantDeclValue()
277 return TD->getInitVal().getZExtValue(); in clang_getEnumConstantDeclUnsignedValue()
/external/clang/lib/AST/
DASTImporter.cpp1102 << 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()
DExprConstant.cpp4101 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()
DItaniumMangle.cpp2797 mangleIntegerLiteral(ED->getType(), ED->getInitVal()); in mangleExpression()
/external/clang/lib/Sema/
DSemaDecl.cpp11212 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()
DSemaStmt.cpp989 llvm::APSInt Val = EDI->getInitVal(); in ActOnFinishSwitchStmt()
1132 llvm::APSInt Val = EDI->getInitVal(); in DiagnoseAssignmentEnum()
/external/clang/include/clang/AST/
DDecl.h2172 const llvm::APSInt &getInitVal() const { return Val; } in getInitVal() function
/external/clang/lib/Serialization/
DASTWriterDecl.cpp297 Writer.AddAPSInt(D->getInitVal(), Record); in VisitEnumConstantDecl()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1549 SVal V = svalBuilder.makeIntVal(ED->getInitVal()); in VisitCommonDeclRefExpr()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp1710 Enum->getInitVal().getZExtValue())); in CreateEnumType()
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp3847 llvm::APSInt Val = EC->getInitVal(); in RewriteObjCFieldDeclType()