clang
22.0.0git
lib
Analysis
LifetimeSafety
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
9
#include "
clang/Analysis/Analyses/LifetimeSafety/Loans.h
"
10
11
namespace
clang::lifetimes::internal
{
12
13
void
Loan::dump
(llvm::raw_ostream &OS)
const
{
14
OS <<
ID
<<
" (Path: "
;
15
OS <<
Path
.D->getNameAsString() <<
")"
;
16
}
17
18
}
// namespace clang::lifetimes::internal
Loans.h
clang::lifetimes::internal
Definition
Checker.h:23
clang::lifetimes::internal::Loan::Path
AccessPath Path
Definition
Loans.h:44
clang::lifetimes::internal::Loan::ID
LoanID ID
TODO: Represent opaque loans.
Definition
Loans.h:43
clang::lifetimes::internal::Loan::dump
void dump(llvm::raw_ostream &OS) const
Definition
Loans.cpp:13
Generated on
for clang by
1.14.0