r326767 - Fix an unused variable warning; NFC
George Burgess IV via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 5 23:45:11 PST 2018
Author: gbiv
Date: Mon Mar 5 23:45:11 2018
New Revision: 326767
URL: http://llvm.org/viewvc/llvm-project?rev=326767&view=rev
Log:
Fix an unused variable warning; NFC
Modified:
cfe/trunk/lib/Analysis/CFG.cpp
Modified: cfe/trunk/lib/Analysis/CFG.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/CFG.cpp?rev=326767&r1=326766&r2=326767&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/CFG.cpp (original)
+++ cfe/trunk/lib/Analysis/CFG.cpp Mon Mar 5 23:45:11 2018
@@ -1165,6 +1165,7 @@ void CFGBuilder::consumeConstructionCont
const ConstructionContextLayer *Layer, CXXConstructExpr *CE) {
if (const ConstructionContextLayer *PreviouslyStoredLayer =
ConstructionContextMap.lookup(CE)) {
+ (void)PreviouslyStoredLayer;
// We might have visited this child when we were finding construction
// contexts within its parents.
assert(PreviouslyStoredLayer->isStrictlyMoreSpecificThan(Layer) &&
More information about the cfe-commits
mailing list