Skip to content

Commit b6eba31

Browse files
committed
[Sema] SequenceChecker: Add some comments + related small NFCs
NFCs factored out of the following patches: - Change all of the `Expr *` to `const Expr *` in SequenceChecker for const-correctness. SequenceChecker should not modify AST nodes. - Add some comments. - clang-format Differential Revision: https://reviews.llvm.org/D57659 Reviewed By: xbolva00
1 parent d3f5769 commit b6eba31

File tree

2 files changed

+123
-74
lines changed

2 files changed

+123
-74
lines changed

clang/include/clang/Sema/Sema.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11620,7 +11620,7 @@ class Sema final {
1162011620
void CheckImplicitConversions(Expr *E, SourceLocation CC = SourceLocation());
1162111621
void CheckBoolLikeConversion(Expr *E, SourceLocation CC);
1162211622
void CheckForIntOverflow(Expr *E);
11623-
void CheckUnsequencedOperations(Expr *E);
11623+
void CheckUnsequencedOperations(const Expr *E);
1162411624

1162511625
/// Perform semantic checks on a completed expression. This will either
1162611626
/// be a full-expression or a default argument expression.

0 commit comments

Comments
 (0)