diff --git a/clang/unittests/Analysis/FlowSensitive/TestingSupport.h b/clang/unittests/Analysis/FlowSensitive/TestingSupport.h index 44dbf27a74586..c61e9f26beff4 100644 --- a/clang/unittests/Analysis/FlowSensitive/TestingSupport.h +++ b/clang/unittests/Analysis/FlowSensitive/TestingSupport.h @@ -465,10 +465,6 @@ inline Value *getFieldValue(const RecordStorageLocation *Loc, /// Returns the value of a `Field` on a `Struct. /// Returns null if `Struct` is null. -/// -/// Note: This function currently does not use the `Env` parameter, but it will -/// soon be needed to look up the `Value` when `setChild()` changes to return a -/// `StorageLocation *`. inline Value *getFieldValue(const RecordValue *Struct, const ValueDecl &Field, const Environment &Env) { if (Struct == nullptr)