[DynInst_API:] [dyninst/dyninst] 5a12cc: Clean up SymtabAPI::LineInformation class (#1479)


Date: Fri, 11 Aug 2023 13:41:39 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 5a12cc: Clean up SymtabAPI::LineInformation class (#1479)
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 5a12cccf2395d6a6fc0a5156c420016a04cf8d27
      https://github.com/dyninst/dyninst/commit/5a12cccf2395d6a6fc0a5156c420016a04cf8d27
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-08-11 (Fri, 11 Aug 2023)

  Changed paths:
    M symtabAPI/h/LineInformation.h
    M symtabAPI/src/LineInformation.C

  Log Message:
  -----------
  Clean up SymtabAPI::LineInformation class (#1479)

* Remove unused member variables

These were added by 0dee1c8f8 in 2016, but never used.

* Remove redundant visibility specifiers

* Remove useless comments

These are either incorrect or just noise.

* Make the class uninheritable

This appears to be some remnants of someone's scratch/dev work.

* Use a default dtor

No reason to have it.

* Reduce string copies

These parameters are only ever read from.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 5a12cc: Clean up SymtabAPI::LineInformation class (#1479), Tim Haines <=