[clang] [clang][dataflow] Fully support Environment construction for Stmt analysis. (PR #91616)

via cfe-commits cfe-commits at lists.llvm.org
Wed May 15 01:07:33 PDT 2024


================
@@ -762,7 +791,8 @@ class Environment {
   RecordStorageLocation *LocForRecordReturnVal = nullptr;
 
   // The storage location of the `this` pointee. Should only be null if the
-  // function being analyzed is only a function and not a method.
+  // analysis target is not a function or is a function but not a
+  // method.
----------------
martinboehme wrote:

(Shorter but says the same thing.)

```suggestion
  // analysis target is not a method.
```

https://github.com/llvm/llvm-project/pull/91616


More information about the cfe-commits mailing list