forked from OSchip/llvm-project
[Clang][NFC] Fix the comment for Sema::DiagIfReachable
This commit is contained in:
parent
0f567f0e3e
commit
a944f801ca
|
@ -5114,13 +5114,13 @@ public:
|
||||||
/// conversion.
|
/// conversion.
|
||||||
ExprResult tryConvertExprToType(Expr *E, QualType Ty);
|
ExprResult tryConvertExprToType(Expr *E, QualType Ty);
|
||||||
|
|
||||||
/// Conditionally issue a diagnostic based on the statement's reachability
|
/// Conditionally issue a diagnostic based on the statements's reachability
|
||||||
/// analysis evaluation context.
|
/// analysis.
|
||||||
///
|
///
|
||||||
/// \param Statement If Statement is non-null, delay reporting the
|
/// \param Stmts If Stmts is non-empty, delay reporting the diagnostic until
|
||||||
/// diagnostic until the function body is parsed, and then do a basic
|
/// the function body is parsed, and then do a basic reachability analysis to
|
||||||
/// reachability analysis to determine if the statement is reachable.
|
/// determine if the statement is reachable. If it is unreachable, the
|
||||||
/// If it is unreachable, the diagnostic will not be emitted.
|
/// diagnostic will not be emitted.
|
||||||
bool DiagIfReachable(SourceLocation Loc, ArrayRef<const Stmt *> Stmts,
|
bool DiagIfReachable(SourceLocation Loc, ArrayRef<const Stmt *> Stmts,
|
||||||
const PartialDiagnostic &PD);
|
const PartialDiagnostic &PD);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue