Home
last modified time | relevance | path

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

/external/chromium_org/tools/clang/plugins/
DFindBadConstructsConsumer.cpp128 llvm::APSInt current_value = iter->getInitVal(); in CheckChromeEnum()
149 iter->getInitVal() < max_so_far) { in CheckChromeEnum()
/external/clang/tools/libclang/
DCXType.cpp279 return TD->getInitVal().getSExtValue(); in clang_getEnumConstantDeclValue()
295 return TD->getInitVal().getZExtValue(); in clang_getEnumConstantDeclUnsignedValue()
/external/clang/lib/AST/
DASTImporter.cpp1119 << EC1->getInitVal().toString(10); in IsStructurallyEquivalent()
1125 llvm::APSInt Val1 = EC1->getInitVal(); in IsStructurallyEquivalent()
1126 llvm::APSInt Val2 = EC2->getInitVal(); in IsStructurallyEquivalent()
1134 << EC2->getInitVal().toString(10); in IsStructurallyEquivalent()
1137 << EC1->getInitVal().toString(10); in IsStructurallyEquivalent()
1149 << EC2->getInitVal().toString(10); in IsStructurallyEquivalent()
2197 const llvm::APSInt &FromVal = FromEC->getInitVal(); in IsStructuralMatch()
2198 const llvm::APSInt &ToVal = ToEC->getInitVal(); in IsStructuralMatch()
2637 Init, D->getInitVal()); in VisitEnumConstantDecl()
DExprConstant.cpp5827 bool SameSign = (ECD->getInitVal().isSigned() in CheckReferencedDecl()
5829 bool SameWidth = (ECD->getInitVal().getBitWidth() in CheckReferencedDecl()
5832 return Success(ECD->getInitVal(), E); in CheckReferencedDecl()
5836 llvm::APSInt Val = ECD->getInitVal(); in CheckReferencedDecl()
5838 Val.setIsSigned(!ECD->getInitVal().isSigned()); in CheckReferencedDecl()
DItaniumMangle.cpp3028 mangleIntegerLiteral(ED->getType(), ED->getInitVal()); in mangleExpression()
/external/clang/lib/Sema/
DSemaDecl.cpp12781 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()
12786 if (EnumVal < LastEnumConst->getInitVal()) { in CheckEnumConstant()
12801 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()
12819 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()
13022 DupKey Key = GetDupKey(ECD->getInitVal()); in CheckForDuplicateEnumValues()
13036 DupKey Key = GetDupKey(ECD->getInitVal()); in CheckForDuplicateEnumValues()
13079 << (*I)->getName() << (*I)->getInitVal().toString(10) in CheckForDuplicateEnumValues()
13087 << (*I)->getName() << (*I)->getInitVal().toString(10) in CheckForDuplicateEnumValues()
13136 const llvm::APSInt &InitVal = ECD->getInitVal(); in ActOnEnumBody()
13259 llvm::APSInt InitVal = ECD->getInitVal(); in ActOnEnumBody()
DSemaStmt.cpp1033 llvm::APSInt Val = EDI->getInitVal(); in ActOnFinishSwitchStmt()
1182 llvm::APSInt Val = EDI->getInitVal(); in DiagnoseAssignmentEnum()
/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.cpp674 uint64_t EnumVal = Enumerator->getInitVal().getZExtValue(); in UseNSOptionsMacro()
/external/clang/include/clang/AST/
DDecl.h2302 const llvm::APSInt &getInitVal() const { return Val; } in getInitVal() function
/external/clang/lib/Serialization/
DASTWriterDecl.cpp336 Writer.AddAPSInt(D->getInitVal(), Record); in VisitEnumConstantDecl()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1756 SVal V = svalBuilder.makeIntVal(ED->getInitVal()); in VisitCommonDeclRefExpr()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp1958 Enum->getInitVal().getSExtValue())); in CreateTypeDefinition()
DTargetInfo.cpp6331 I->getInitVal().toString(EnumEnc); in appendEnumType()
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp3783 llvm::APSInt Val = EC->getInitVal(); in RewriteObjCFieldDeclType()