Skip to content

Commit

Permalink
[clang][dataflow][NFC] Fix stale comments. (#71654)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinboehme authored Nov 9, 2023
1 parent 427f13b commit ae74370
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions clang/include/clang/Analysis/FlowSensitive/Arena.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit ae74370

Please sign in to comment.