[clang] [clang][dataflow][NFC] Remove stale comment. (PR #65322)

via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 5 06:00:58 PDT 2023


https://github.com/martinboehme created https://github.com/llvm/llvm-project/pull/65322:

None

>From a92d3cf331714c4d1e83073f8674feb2ef419d66 Mon Sep 17 00:00:00 2001
From: Martin Braenne <mboehme at google.com>
Date: Tue, 5 Sep 2023 12:53:04 +0000
Subject: [PATCH] [clang][dataflow][NFC] Remove stale comment.

---
 clang/unittests/Analysis/FlowSensitive/TestingSupport.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/clang/unittests/Analysis/FlowSensitive/TestingSupport.h b/clang/unittests/Analysis/FlowSensitive/TestingSupport.h
index 44dbf27a745867..c61e9f26beff40 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)



More information about the cfe-commits mailing list