Author: Samira Bakon Date: 2025-06-25T10:17:15-04:00 New Revision: 5ef48b36e5ebc5e0cd1058a502c7ef0cd9347d15
URL: https://github.com/llvm/llvm-project/commit/5ef48b36e5ebc5e0cd1058a502c7ef0cd9347d15 DIFF: https://github.com/llvm/llvm-project/commit/5ef48b36e5ebc5e0cd1058a502c7ef0cd9347d15.diff LOG: Revert "[clang][dataflow] Expose simple access to child StorageLocation prese…" This reverts commit 09b43a5a862f453aabd95ec01e0b53c46ca3e340. Added: Modified: clang/include/clang/Analysis/FlowSensitive/StorageLocation.h Removed: ################################################################################ diff --git a/clang/include/clang/Analysis/FlowSensitive/StorageLocation.h b/clang/include/clang/Analysis/FlowSensitive/StorageLocation.h index 8b263b16d5b1e..8fcc6a44027a0 100644 --- a/clang/include/clang/Analysis/FlowSensitive/StorageLocation.h +++ b/clang/include/clang/Analysis/FlowSensitive/StorageLocation.h @@ -168,8 +168,6 @@ class RecordStorageLocation final : public StorageLocation { return {Children.begin(), Children.end()}; } - bool hasChild(const ValueDecl &D) const { return Children.contains(&D); } - private: FieldToLoc Children; SyntheticFieldMap SyntheticFields; _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits