Update some comments for expandTypeIntoLeafProjectionPaths in Projection.h

This commit is contained in:
Xin Tong
2015-12-09 12:17:22 -08:00
parent eba7853101
commit 840342b920
2 changed files with 3 additions and 1 deletions

View File

@@ -665,7 +665,7 @@ ProjectionPath::expandTypeIntoLeafProjectionPaths(SILType B, SILModule *Mod,
continue;
}
// This is NOT a leaf node, keep the intermediate nodes as well.
// If OnlyLeafNode is false, keep the intermediate nodes as well.
if (!OnlyLeafNode)
Paths.push_back(std::move(PP.getValue()));