diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h index 43be024f0d377b..56549cd3d3bc95 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h @@ -102,10 +102,6 @@ class DWARFFormValue { return extractValue(Data, OffsetPtr, FormParams, nullptr, U); } - bool isInlinedCStr() const { - return Value.data != nullptr && Value.data == (const uint8_t *)Value.cstr; - } - /// getAsFoo functions below return the extracted value as Foo if only /// DWARFFormValue has form class is suitable for representing Foo. Optional getAsReference() const;