Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DCXType.cpp281 return TD->getInitVal().getSExtValue(); in clang_getEnumConstantDeclValue()
297 return TD->getInitVal().getZExtValue(); in clang_getEnumConstantDeclUnsignedValue()
/external/clang/lib/AST/
DTemplateBase.cpp49 if (llvm::APSInt::isSameValue(ECD->getInitVal(), Val)) { in printIntegral()
DASTImporter.cpp1243 << EC1->getInitVal().toString(10); in IsStructurallyEquivalent()
1249 llvm::APSInt Val1 = EC1->getInitVal(); in IsStructurallyEquivalent()
1250 llvm::APSInt Val2 = EC2->getInitVal(); in IsStructurallyEquivalent()
1258 << EC2->getInitVal().toString(10); in IsStructurallyEquivalent()
1261 << EC1->getInitVal().toString(10); in IsStructurallyEquivalent()
1273 << EC2->getInitVal().toString(10); in IsStructurallyEquivalent()
2393 const llvm::APSInt &FromVal = FromEC->getInitVal(); in IsStructuralMatch()
2394 const llvm::APSInt &ToVal = ToEC->getInitVal(); in IsStructuralMatch()
2930 Init, D->getInitVal()); in VisitEnumConstantDecl()
DExprConstant.cpp6350 bool SameSign = (ECD->getInitVal().isSigned() in CheckReferencedDecl()
6352 bool SameWidth = (ECD->getInitVal().getBitWidth() in CheckReferencedDecl()
6355 return Success(ECD->getInitVal(), E); in CheckReferencedDecl()
6359 llvm::APSInt Val = ECD->getInitVal(); in CheckReferencedDecl()
6361 Val.setIsSigned(!ECD->getInitVal().isSigned()); in CheckReferencedDecl()
DItaniumMangle.cpp3737 mangleIntegerLiteral(ED->getType(), ED->getInitVal()); in mangleExpression()
/external/clang/lib/Sema/
DSemaDecl.cpp14409 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()
14414 if (EnumVal < LastEnumConst->getInitVal()) { in CheckEnumConstant()
14429 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()
14447 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()
14675 DupKey Key = GetDupKey(ECD->getInitVal()); in CheckForDuplicateEnumValues()
14689 DupKey Key = GetDupKey(ECD->getInitVal()); in CheckForDuplicateEnumValues()
14732 << (*I)->getName() << (*I)->getInitVal().toString(10) in CheckForDuplicateEnumValues()
14740 << (*I)->getName() << (*I)->getInitVal().toString(10) in CheckForDuplicateEnumValues()
14756 const auto &EVal = E->getInitVal(); in IsValueInFlagEnum()
14818 const llvm::APSInt &InitVal = ECD->getInitVal(); in ActOnEnumBody()
[all …]
DSemaStmt.cpp1080 llvm::APSInt Val = EDI->getInitVal(); in ActOnFinishSwitchStmt()
1212 llvm::APSInt Val = EDI->getInitVal(); in DiagnoseAssignmentEnum()
DSemaOverload.cpp8732 return llvm::APSInt::isSameValue(EA->getInitVal(), EB->getInitVal()); in isEquivalentInternalLinkageDeclaration()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp817 uint64_t EnumVal = Enumerator->getInitVal().getZExtValue(); in UseNSOptionsMacro()
/external/clang/include/clang/AST/
DDecl.h2500 const llvm::APSInt &getInitVal() const { return Val; } in getInitVal() function
/external/clang/lib/Serialization/
DASTWriterDecl.cpp494 Record.AddAPSInt(D->getInitVal()); in VisitEnumConstantDecl()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1944 SVal V = svalBuilder.makeIntVal(ED->getInitVal()); in VisitCommonDeclRefExpr()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp2242 Enum->getName(), Enum->getInitVal().getSExtValue())); in CreateTypeDefinition()
DTargetInfo.cpp7710 I->getInitVal().toString(EnumEnc); in appendEnumType()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp3685 llvm::APSInt Val = EC->getInitVal(); in RewriteObjCFieldDeclType()