mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
C++: Fix off-by-one error in getType on 'FinalGlobalValue' nodes and accept test changes.
This commit is contained in:
@@ -52,10 +52,10 @@ Top *readGlobalBottom() {
|
||||
}
|
||||
|
||||
void DispatchThroughGlobal() {
|
||||
sink(globalBottom->isSource1()); // $ MISSING: ast,ir
|
||||
sink(globalBottom->isSource1()); // $ ir MISSING: ast
|
||||
sink(globalMiddle->isSource1()); // no flow
|
||||
|
||||
sink(readGlobalBottom()->isSource1()); // $ MISSING: ast,ir
|
||||
sink(readGlobalBottom()->isSource1()); // $ ir MISSING: ast
|
||||
|
||||
globalBottom = new Bottom();
|
||||
globalMiddle = new Middle();
|
||||
|
||||
Reference in New Issue
Block a user