reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
113 Optional<int64_t> getAsSignedConstant() const;
242 return V->getAsSignedConstant();
lib/DebugInfo/DWARF/DWARFContext.cpp1015 UpperBoundAttr->getAsSignedConstant()) { 1018 LowerBound = LowerBoundAttr->getAsSignedConstant().getValueOr(0);tools/dsymutil/DwarfLinker.cpp
1280 else if (auto OptionalValue = Val.getAsSignedConstant()) 1306 Value = *Val.getAsSignedConstant();unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
1794 const auto V = FormValue->getAsSignedConstant(); 1837 const auto V = FormValue->getAsSignedConstant();unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp
80 EXPECT_EQ(Sign1.getAsSignedConstant().getValue(), -123); 81 EXPECT_EQ(Sign2.getAsSignedConstant().getValue(), -12345); 82 EXPECT_EQ(Sign4.getAsSignedConstant().getValue(), -123456789); 83 EXPECT_EQ(Sign8.getAsSignedConstant().getValue(), -1); 89 EXPECT_EQ(UMax.getAsSignedConstant().getValue(), LLONG_MAX); 90 EXPECT_EQ(TooBig.getAsSignedConstant().hasValue(), false); 101 EXPECT_EQ(Data1.getAsSignedConstant().getValue(), 120); 102 EXPECT_EQ(Data2.getAsSignedConstant().getValue(), 32000); 103 EXPECT_EQ(Data4.getAsSignedConstant().getValue(), 2000000000); 104 EXPECT_EQ(Data8.getAsSignedConstant().getValue(), 0x1234567812345678LL); 105 EXPECT_EQ(LEBMin.getAsSignedConstant().getValue(), LLONG_MIN); 106 EXPECT_EQ(LEBMax.getAsSignedConstant().getValue(), LLONG_MAX); 107 EXPECT_EQ(LEB1.getAsSignedConstant().getValue(), -42); 108 EXPECT_EQ(LEB2.getAsSignedConstant().getValue(), 42);