From a944f801cacdaa40b3869986844a6ffa08b87c19 Mon Sep 17 00:00:00 2001 From: Yuanfang Chen Date: Sun, 3 Oct 2021 12:49:14 -0700 Subject: [PATCH] [Clang][NFC] Fix the comment for Sema::DiagIfReachable --- clang/include/clang/Sema/Sema.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/clang/include/clang/Sema/Sema.h b/clang/include/clang/Sema/Sema.h index 64863e3..6c0f5ce 100644 --- a/clang/include/clang/Sema/Sema.h +++ b/clang/include/clang/Sema/Sema.h @@ -5114,13 +5114,13 @@ public: /// conversion. ExprResult tryConvertExprToType(Expr *E, QualType Ty); - /// Conditionally issue a diagnostic based on the statement's reachability - /// analysis evaluation context. + /// Conditionally issue a diagnostic based on the statements's reachability + /// analysis. /// - /// \param Statement If Statement is non-null, delay reporting the - /// diagnostic until the function body is parsed, and then do a basic - /// reachability analysis to determine if the statement is reachable. - /// If it is unreachable, the diagnostic will not be emitted. + /// \param Stmts If Stmts is non-empty, delay reporting the diagnostic until + /// the function body is parsed, and then do a basic reachability analysis to + /// determine if the statement is reachable. If it is unreachable, the + /// diagnostic will not be emitted. bool DiagIfReachable(SourceLocation Loc, ArrayRef Stmts, const PartialDiagnostic &PD); -- 2.7.4