Skip to content

Commit b4db556

Browse files
committed
Fix function comment
1 parent 75a04c5 commit b4db556

File tree

1 file changed

+3
-3
lines changed
  • clang/include/clang/Sema

1 file changed

+3
-3
lines changed

clang/include/clang/Sema/Sema.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2652,9 +2652,9 @@ class Sema final : public SemaBase {
26522652
/// identifies the magic value.
26532653
typedef std::pair<const IdentifierInfo *, uint64_t> TypeTagMagicValue;
26542654

2655-
/// Diagnoses the current set of gathered accesses. This typically
2656-
/// happens at full expression level. The set is cleared after emitting the
2657-
/// diagnostics.
2655+
/// Diagnoses the current set of gathered accesses. This happens at the end of
2656+
/// each expression evaluation context. Diagnostics are emitted only for
2657+
/// accesses gathered in the current evaluation context.
26582658
void DiagnoseMisalignedMembers();
26592659

26602660
/// This function checks if the expression is in the sef of potentially

0 commit comments

Comments
 (0)