Merge pull request #2517 from glebm/fix-ubsan-localintermediate

callGraph.push_front -> emplace_front to fix UBSAN
This commit is contained in:
greg-lunarg 2021-02-01 10:53:37 -07:00 committed by GitHub
commit 5c4f421121
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2870,7 +2870,7 @@ void TIntermediate::addToCallGraph(TInfoSink& /*infoSink*/, const TString& calle
return;
}
callGraph.push_front(TCall(caller, callee));
callGraph.emplace_front(caller, callee);
}
//