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

via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 8 23:39:10 PST 2023


Author: martinboehme
Date: 2023-11-09T08:39:06+01:00
New Revision: ae743705113d5ec818517aefa94e704a1257ec95

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

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

Added: 
    

Modified: 
    clang/include/clang/Analysis/FlowSensitive/Arena.h

Removed: 
    


################################################################################
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) {


        


More information about the cfe-commits mailing list