Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DTemplateBase.cpp49 if (llvm::APSInt::isSameValue(ECD->getInitVal(), Val)) { in printIntegral()
DASTImporter.cpp1164 << EC1->getInitVal().toString(10); in IsStructurallyEquivalent()
1170 llvm::APSInt Val1 = EC1->getInitVal(); in IsStructurallyEquivalent()
1171 llvm::APSInt Val2 = EC2->getInitVal(); in IsStructurallyEquivalent()
1179 << EC2->getInitVal().toString(10); in IsStructurallyEquivalent()
1182 << EC1->getInitVal().toString(10); in IsStructurallyEquivalent()
1194 << EC2->getInitVal().toString(10); in IsStructurallyEquivalent()
2272 const llvm::APSInt &FromVal = FromEC->getInitVal(); in IsStructuralMatch()
2273 const llvm::APSInt &ToVal = ToEC->getInitVal(); in IsStructuralMatch()
2727 Init, D->getInitVal()); in VisitEnumConstantDecl()
DExprConstant.cpp6166 bool SameSign = (ECD->getInitVal().isSigned() in CheckReferencedDecl()
6168 bool SameWidth = (ECD->getInitVal().getBitWidth() in CheckReferencedDecl()
6171 return Success(ECD->getInitVal(), E); in CheckReferencedDecl()
6175 llvm::APSInt Val = ECD->getInitVal(); in CheckReferencedDecl()
6177 Val.setIsSigned(!ECD->getInitVal().isSigned()); in CheckReferencedDecl()
DItaniumMangle.cpp3345 mangleIntegerLiteral(ED->getType(), ED->getInitVal()); in mangleExpression()
/external/clang/tools/libclang/
DCXType.cpp279 return TD->getInitVal().getSExtValue(); in clang_getEnumConstantDeclValue()
295 return TD->getInitVal().getZExtValue(); in clang_getEnumConstantDeclUnsignedValue()
/external/clang/lib/Sema/
DSemaDecl.cpp13952 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()
13957 if (EnumVal < LastEnumConst->getInitVal()) { in CheckEnumConstant()
13972 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()
13990 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()
14218 DupKey Key = GetDupKey(ECD->getInitVal()); in CheckForDuplicateEnumValues()
14232 DupKey Key = GetDupKey(ECD->getInitVal()); in CheckForDuplicateEnumValues()
14275 << (*I)->getName() << (*I)->getInitVal().toString(10) in CheckForDuplicateEnumValues()
14283 << (*I)->getName() << (*I)->getInitVal().toString(10) in CheckForDuplicateEnumValues()
14299 const auto &EVal = E->getInitVal(); in IsValueInFlagEnum()
14361 const llvm::APSInt &InitVal = ECD->getInitVal(); in ActOnEnumBody()
[all …]
DSemaStmt.cpp1069 llvm::APSInt Val = EDI->getInitVal(); in ActOnFinishSwitchStmt()
1201 llvm::APSInt Val = EDI->getInitVal(); in DiagnoseAssignmentEnum()
DSemaOverload.cpp8650 return llvm::APSInt::isSameValue(EA->getInitVal(), EB->getInitVal()); in isEquivalentInternalLinkageDeclaration()
/external/lldb/source/Symbol/
DClangASTType.cpp5664 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()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp816 uint64_t EnumVal = Enumerator->getInitVal().getZExtValue(); in UseNSOptionsMacro()
/external/clang/include/clang/AST/
DDecl.h2481 const llvm::APSInt &getInitVal() const { return Val; } in getInitVal() function
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1920 SVal V = svalBuilder.makeIntVal(ED->getInitVal()); in VisitCommonDeclRefExpr()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp468 Writer.AddAPSInt(D->getInitVal(), Record); in VisitEnumConstantDecl()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp2078 Enum->getName(), Enum->getInitVal().getSExtValue())); in CreateTypeDefinition()
DTargetInfo.cpp7230 I->getInitVal().toString(EnumEnc); in appendEnumType()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp3746 llvm::APSInt Val = EC->getInitVal(); in RewriteObjCFieldDeclType()