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

via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 6 00:52:34 PDT 2023


Author: martinboehme
Date: 2023-09-06T09:52:30+02:00
New Revision: be12f26dc00cad8bcd575b176a453a1c7c4fdff5

URL: https://github.com/llvm/llvm-project/commit/be12f26dc00cad8bcd575b176a453a1c7c4fdff5
DIFF: https://github.com/llvm/llvm-project/commit/be12f26dc00cad8bcd575b176a453a1c7c4fdff5.diff

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

Added: 
    

Modified: 
    clang/unittests/Analysis/FlowSensitive/TestingSupport.h

Removed: 
    


################################################################################
diff  --git a/clang/unittests/Analysis/FlowSensitive/TestingSupport.h b/clang/unittests/Analysis/FlowSensitive/TestingSupport.h
index 44dbf27a7458677..c61e9f26beff40b 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