summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Smith <richard@metafoo.co.uk>2020-01-10 15:47:29 -0800
committerRichard Smith <richard@metafoo.co.uk>2020-01-10 15:49:17 -0800
commit1b8c84b8dd5a4a294943a6a6f0631d2d3a1f9f27 (patch)
tree811da42afb95403543c716ec667dceca79822682
parent397215cc309df1171a198b11cab3b241db9441db (diff)
downloadbcm5719-llvm-1b8c84b8dd5a4a294943a6a6f0631d2d3a1f9f27.tar.gz
bcm5719-llvm-1b8c84b8dd5a4a294943a6a6f0631d2d3a1f9f27.zip
Improve precision of documentation comment.
-rw-r--r--clang/include/clang/AST/Decl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/AST/Decl.h b/clang/include/clang/AST/Decl.h
index aa5cfb6e2c8..623f47b31bb 100644
--- a/clang/include/clang/AST/Decl.h
+++ b/clang/include/clang/AST/Decl.h
@@ -1519,8 +1519,8 @@ public:
/// 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.
OpenPOWER on IntegriCloud