forked from OSchip/llvm-project
parent
9753b7903d
commit
a47e1b7304
|
@ -1165,6 +1165,7 @@ void CFGBuilder::consumeConstructionContext(
|
||||||
const ConstructionContextLayer *Layer, CXXConstructExpr *CE) {
|
const ConstructionContextLayer *Layer, CXXConstructExpr *CE) {
|
||||||
if (const ConstructionContextLayer *PreviouslyStoredLayer =
|
if (const ConstructionContextLayer *PreviouslyStoredLayer =
|
||||||
ConstructionContextMap.lookup(CE)) {
|
ConstructionContextMap.lookup(CE)) {
|
||||||
|
(void)PreviouslyStoredLayer;
|
||||||
// We might have visited this child when we were finding construction
|
// We might have visited this child when we were finding construction
|
||||||
// contexts within its parents.
|
// contexts within its parents.
|
||||||
assert(PreviouslyStoredLayer->isStrictlyMoreSpecificThan(Layer) &&
|
assert(PreviouslyStoredLayer->isStrictlyMoreSpecificThan(Layer) &&
|
||||||
|
|
Loading…
Reference in New Issue