[PATCH] D17884: Disallow duplication of imported entities

don hinton via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 18:55:56 PST 2016


hintonda added a comment.

It's an instance of the X Macro technique.  In this case:

lib/IR/LLVMContextImp.h: 937
#define HANDLE_MDNODE_LEAF_UNIQUABLE(CLASS)                                    \

  DenseSet<CLASS *, CLASS##Info> CLASS##s;

#include "llvm/IR/Metadata.def"

include/llvm/IR/Metadata.def: 110
HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIImportedEntity)


http://reviews.llvm.org/D17884





More information about the llvm-commits mailing list