mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Revert "Merge pull request #15537 from MathiasVP/swap-also-clears-first-argument"
This reverts commit23677b23c2, reversing changes made toc5dc88345d.
This commit is contained in:
@@ -212,7 +212,7 @@ void test_swap() {
|
||||
|
||||
std::swap(x, y);
|
||||
|
||||
sink(x); // $ SPURIOUS: ast
|
||||
sink(x); // $ SPURIOUS: ast,ir
|
||||
sink(y); // $ ast,ir
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user