Merge pull request #6878 from aschackmull/remove-singleton-setliteral

C++/C#/Java/JavaScript/Python: Remove singleton set literals.
This commit is contained in:
Anders Schack-Mulligen
2021-10-14 14:53:05 +02:00
committed by GitHub
21 changed files with 34 additions and 49 deletions

View File

@@ -56,7 +56,7 @@ private class MallocAllocationFunction extends AllocationFunction {
]) and
sizeArg = 1
or
hasGlobalName(["HeapAlloc"]) and // HeapAlloc(heap, flags, size)
hasGlobalName("HeapAlloc") and // HeapAlloc(heap, flags, size)
sizeArg = 2
or
hasGlobalName([