From a196629a7c495ceaddf6296fba60bcde8ae8f183 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Wed, 4 Feb 2015 21:46:12 +0000 Subject: [PATCH] IR: Define MDNode uniquing sets automatically, NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228200 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/IR/LLVMContextImpl.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/IR/LLVMContextImpl.h b/lib/IR/LLVMContextImpl.h index 8ed4e99646b..facc6241f8d 100644 --- a/lib/IR/LLVMContextImpl.h +++ b/lib/IR/LLVMContextImpl.h @@ -357,9 +357,8 @@ public: DenseMap ValuesAsMetadata; DenseMap MetadataAsValues; - DenseSet MDTuples; - DenseSet MDLocations; - DenseSet GenericDebugNodes; +#define HANDLE_MDNODE_LEAF(CLASS) DenseSet CLASS##s; +#include "llvm/IR/Metadata.def" // MDNodes may be uniqued or not uniqued. When they're not uniqued, they // aren't in the MDNodeSet, but they're still shared between objects, so no -- 2.34.1