Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DCXType.cpp272 return TD->getInitVal().getSExtValue(); in clang_getEnumConstantDeclValue()
288 return TD->getInitVal().getZExtValue(); in clang_getEnumConstantDeclUnsignedValue()
/external/clang/lib/AST/
DASTImporter.cpp1122 << 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()
DExprConstant.cpp5691 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()
DItaniumMangle.cpp2981 mangleIntegerLiteral(ED->getType(), ED->getInitVal()); in mangleExpression()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp456 uint64_t EnumVal = Enumerator->getInitVal().getZExtValue(); in UseNSOptionsMacro()
/external/clang/lib/Sema/
DSemaDecl.cpp12031 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()
DSemaStmt.cpp1001 llvm::APSInt Val = EDI->getInitVal(); in ActOnFinishSwitchStmt()
1145 llvm::APSInt Val = EDI->getInitVal(); in DiagnoseAssignmentEnum()
/external/clang/include/clang/AST/
DDecl.h2222 const llvm::APSInt &getInitVal() const { return Val; } in getInitVal() function
/external/clang/lib/Serialization/
DASTWriterDecl.cpp308 Writer.AddAPSInt(D->getInitVal(), Record); in VisitEnumConstantDecl()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1659 SVal V = svalBuilder.makeIntVal(ED->getInitVal()); in VisitCommonDeclRefExpr()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp1834 Enum->getInitVal().getSExtValue())); in CreateEnumType()
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp3851 llvm::APSInt Val = EC->getInitVal(); in RewriteObjCFieldDeclType()