diff --git a/clang/include/clang/AST/Decl.h b/clang/include/clang/AST/Decl.h index aa5cfb6e2c8bac..623f47b31bb4d8 100644 --- a/clang/include/clang/AST/Decl.h +++ b/clang/include/clang/AST/Decl.h @@ -1519,8 +1519,8 @@ class VarDecl : public DeclaratorDecl, public Redeclarable { /// need not have a usable destructor at all. bool isNoDestroy(const ASTContext &) const; - /// Do we need to emit an exit-time destructor for this variable, and if so, - /// what kind? + /// Would the destruction of this variable have any effect, and if so, what + /// kind? QualType::DestructionKind needsDestruction(const ASTContext &Ctx) const; // Implement isa/cast/dyncast/etc.