[clang] Add check in SemaChecking for multiple unsequenced volatile accesses (PR #180955)
Shafik Yaghmour via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 2 16:48:24 PST 2026
================
@@ -14034,6 +14034,8 @@ class SequenceChecker : public ConstEvaluatedExprVisitor<SequenceChecker> {
UK_Count = UK_ModAsSideEffect + 1
};
+ enum WarningKind { WK_UseAndMod, WK_ModAndMod, WK_Volatile_UseAndUse };
----------------
shafik wrote:
This should be documented with the same care as `UsageKind` above.
https://github.com/llvm/llvm-project/pull/180955
More information about the cfe-commits
mailing list