clang 22.0.0git
Loans.cpp
Go to the documentation of this file.
1//===- Loans.cpp - Loan Implementation --------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
10
12
13void PathLoan::dump(llvm::raw_ostream &OS) const {
14 OS << getID() << " (Path: ";
15 OS << Path.D->getNameAsString() << ")";
16}
17
18void PlaceholderLoan::dump(llvm::raw_ostream &OS) const {
19 OS << getID() << " (Placeholder loan)";
20}
21
22} // namespace clang::lifetimes::internal
void dump(llvm::raw_ostream &OS) const override
Definition Loans.cpp:13
void dump(llvm::raw_ostream &OS) const override
Definition Loans.cpp:18