[clang] 1b8c84b - Improve precision of documentation comment.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 10 15:49:25 PST 2020


Author: Richard Smith
Date: 2020-01-10T15:49:17-08:00
New Revision: 1b8c84b8dd5a4a294943a6a6f0631d2d3a1f9f27

URL: https://github.com/llvm/llvm-project/commit/1b8c84b8dd5a4a294943a6a6f0631d2d3a1f9f27
DIFF: https://github.com/llvm/llvm-project/commit/1b8c84b8dd5a4a294943a6a6f0631d2d3a1f9f27.diff

LOG: Improve precision of documentation comment.

Added: 
    

Modified: 
    clang/include/clang/AST/Decl.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/AST/Decl.h b/clang/include/clang/AST/Decl.h
index aa5cfb6e2c8b..623f47b31bb4 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<VarDecl> {
   /// 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.


        


More information about the cfe-commits mailing list