[llvm] c1a014c - [DWARF] Remove isInlinedCStr (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 10 07:25:00 PDT 2021


Author: Kazu Hirata
Date: 2021-08-10T07:24:46-07:00
New Revision: c1a014c3827cf6dd8365316d94c53e2b4434e111

URL: https://github.com/llvm/llvm-project/commit/c1a014c3827cf6dd8365316d94c53e2b4434e111
DIFF: https://github.com/llvm/llvm-project/commit/c1a014c3827cf6dd8365316d94c53e2b4434e111.diff

LOG: [DWARF] Remove isInlinedCStr (NFC)

The last use was removed on Oct 28, 2013 in commit
48cbda5850264671e982ecdd834c1587b1732c15.

Added: 
    

Modified: 
    llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h
index 43be024f0d377..56549cd3d3bc9 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<uint64_t> getAsReference() const;


        


More information about the llvm-commits mailing list