Skip to content

Commit e64f5dd

Browse files
authored
Revert "[clang][dataflow] Expose simple access to child StorageLocation presence." (#145710)
Reverts #145520 Exposed function is no longer needed and side-stepped the intended contract that the present children are the same set returned by `getModeledFields()` and presence shouldn't need to be queried for arbitrary fields.
1 parent b8bda9d commit e64f5dd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clang/include/clang/Analysis/FlowSensitive/StorageLocation.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,6 @@ class RecordStorageLocation final : public StorageLocation {
168168
return {Children.begin(), Children.end()};
169169
}
170170

171-
bool hasChild(const ValueDecl &D) const { return Children.contains(&D); }
172-
173171
private:
174172
FieldToLoc Children;
175173
SyntheticFieldMap SyntheticFields;

0 commit comments

Comments
 (0)