From: Adrian Prantl Date: Mon, 24 Mar 2014 21:33:01 +0000 (+0000) Subject: Get rid of an unnecessary use of the * and & operators. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1b14452fe46cc3affbafc9cd5677ccb64ecf598f;p=oota-llvm.git Get rid of an unnecessary use of the * and & operators. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204673 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfUnit.cpp b/lib/CodeGen/AsmPrinter/DwarfUnit.cpp index 86005cd3d80..eaf0a17f052 100644 --- a/lib/CodeGen/AsmPrinter/DwarfUnit.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfUnit.cpp @@ -980,7 +980,7 @@ DIE *DwarfUnit::getOrCreateTypeDIE(const MDNode *TyNode) { DIType Ty(TyNode); assert(Ty.isType()); - assert(*&Ty == resolve(Ty.getRef()) && + assert(Ty == resolve(Ty.getRef()) && "type was not uniqued, possible ODR violation."); // Construct the context before querying for the existence of the DIE in case