diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-05-15 15:02:52 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-05-15 15:02:52 +0100 |
commit | e30540a603ebc9ac4f1cd0c1e94a0755b10ec25f (patch) | |
tree | 538f92314448c14bee6ace1bfa639fcba391993b /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c5fe3839905fe466966d124fb6fc62365ea97636 (diff) | |
download | llvm-e30540a603ebc9ac4f1cd0c1e94a0755b10ec25f.zip llvm-e30540a603ebc9ac4f1cd0c1e94a0755b10ec25f.tar.gz llvm-e30540a603ebc9ac4f1cd0c1e94a0755b10ec25f.tar.bz2 |
SampleProfileLoader::inlineHotFunctionsWithPriority - Fix uninitialized variable warning. NFCI.
findIndirectCallFunctionSamples will leave Sum uninitialized if it returns an empty vector, we don't really use Sum in this case (but we do make a copy that isn't used either) - so ensure we initialize the value to zero to at least silence the static analysis warning.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions