We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74cc44d commit 2937b25Copy full SHA for 2937b25
clang/lib/Analysis/LifetimeSafety.cpp
@@ -83,8 +83,8 @@ struct Loan {
83
struct Origin {
84
OriginID ID;
85
/// A pointer to the AST node that this origin represents. This union
86
- /// distinguishes between origins from lvalues (named variables or parameter)
87
- /// and rvalues (expressions).
+ /// distinguishes between origins from declarations (variables or parameters)
+ /// and origins from expressions.
88
llvm::PointerUnion<const clang::ValueDecl *, const clang::Expr *> Ptr;
89
90
Origin(OriginID ID, const clang::ValueDecl *D) : ID(ID), Ptr(D) {}
0 commit comments