mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
It isn't necessary to explicitly clear the contents of std::vector
and DenseMap members in a destructor. And tidy up a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64265 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6919757921
commit
18e9a6b3af
@ -82,16 +82,11 @@ namespace llvm {
|
||||
///
|
||||
std::vector<DebugLocTuple> DebugLocations;
|
||||
|
||||
/// DebugIdsMap - This maps DebugLocTuple's to indices into DebugLocations
|
||||
/// vector.
|
||||
/// DebugIdMap - This maps DebugLocTuple's to indices into the
|
||||
/// DebugLocations vector.
|
||||
DenseMap<DebugLocTuple, unsigned> DebugIdMap;
|
||||
|
||||
DebugLocTracker() {}
|
||||
|
||||
~DebugLocTracker() {
|
||||
DebugLocations.clear();
|
||||
DebugIdMap.clear();
|
||||
}
|
||||
};
|
||||
|
||||
} // end namespace llvm
|
||||
|
Loading…
x
Reference in New Issue
Block a user