diff options
| author | Rahul Joshi <rjoshi@nvidia.com> | 2025-10-13 07:54:50 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-13 07:54:50 -0700 |
| commit | 2a4f5b2751efbddd7bfe9818ab9ea57d03a13752 (patch) | |
| tree | 2da55f8063d56c0c0fdee8eb7db3b92b8a1ef76a /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
| parent | c10e79e4f6465427c0f29368523e2bfc051f6c1d (diff) | |
| download | llvm-2a4f5b2751efbddd7bfe9818ab9ea57d03a13752.zip llvm-2a4f5b2751efbddd7bfe9818ab9ea57d03a13752.tar.gz llvm-2a4f5b2751efbddd7bfe9818ab9ea57d03a13752.tar.bz2 | |
[NFC][LLVM][CodeGen] Namespace related cleanups (#162999)
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp b/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp index 260ce8f..93ae548 100644 --- a/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp +++ b/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp @@ -85,8 +85,7 @@ template <> struct llvm::DenseMapInfo<VariableID> { using VarLocInsertPt = PointerUnion<const Instruction *, const DbgRecord *>; -namespace std { -template <> struct hash<VarLocInsertPt> { +template <> struct std::hash<VarLocInsertPt> { using argument_type = VarLocInsertPt; using result_type = std::size_t; @@ -94,7 +93,6 @@ template <> struct hash<VarLocInsertPt> { return std::hash<void *>()(Arg.getOpaqueValue()); } }; -} // namespace std /// Helper class to build FunctionVarLocs, since that class isn't easy to /// modify. TODO: There's not a great deal of value in the split, it could be |
