diff --git a/clang/include/clang/Analysis/FlowSensitive/Arena.h b/clang/include/clang/Analysis/FlowSensitive/Arena.h index 4be308c43fb76..394ce054e65f1 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 std::enable_if_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 std::enable_if_t::value, T &> create(Args &&...args) {