[clang] [clang][dataflow][NFC] Fix stale comments. (PR #71654)

via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 8 02:52:56 PST 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang-analysis

Author: None (martinboehme)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/71654.diff


1 Files Affected:

- (modified) clang/include/clang/Analysis/FlowSensitive/Arena.h (+4-4) 


``````````diff
diff --git a/clang/include/clang/Analysis/FlowSensitive/Arena.h b/clang/include/clang/Analysis/FlowSensitive/Arena.h
index 4be308c43fb7675..394ce054e65f11c 100644
--- a/clang/include/clang/Analysis/FlowSensitive/Arena.h
+++ b/clang/include/clang/Analysis/FlowSensitive/Arena.h
@@ -29,8 +29,8 @@ class Arena {
   /// Creates a `T` (some subclass of `StorageLocation`), forwarding `args` to
   /// the constructor, and returns a reference to it.
   ///
-  /// The `DataflowAnalysisContext` takes ownership of the created object. The
-  /// object will be destroyed when the `DataflowAnalysisContext` is destroyed.
+  /// The `Arena` takes ownership of the created object. The object will be
+  /// destroyed when the `Arena` is destroyed.
   template <typename T, typename... Args>
   std::enable_if_t<std::is_base_of<StorageLocation, T>::value, T &>
   create(Args &&...args) {
@@ -45,8 +45,8 @@ class Arena {
   /// Creates a `T` (some subclass of `Value`), forwarding `args` to the
   /// constructor, and returns a reference to it.
   ///
-  /// The `DataflowAnalysisContext` takes ownership of the created object. The
-  /// object will be destroyed when the `DataflowAnalysisContext` is destroyed.
+  /// The `Arena` takes ownership of the created object. The object will be
+  /// destroyed when the `Arena` is destroyed.
   template <typename T, typename... Args>
   std::enable_if_t<std::is_base_of<Value, T>::value, T &>
   create(Args &&...args) {

``````````

</details>


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


More information about the cfe-commits mailing list