[ThinLTO] Fix gcc warnings from commit
authorTeresa Johnson <tejohnson@google.com>
Wed, 3 Jul 2019 15:12:38 +0000 (15:12 +0000)
committerTeresa Johnson <tejohnson@google.com>
Wed, 3 Jul 2019 15:12:38 +0000 (15:12 +0000)
commit79e50166f83ce94c87c22e027c22f2ac5c721331
treeff02cce1b2a11895110d5ebe7c8b48892f6d7e37
parent6005681ac614ac60831dd1c22e8787f3fddcfa9d
[ThinLTO] Fix gcc warnings from commit

Remove an unnecessary const from an Optional return type introduced
in r364960 that gcc 7.4.0 warns about. It is unnecessary and possibly
incorrect.

llvm-svn: 365047
llvm/include/llvm/IR/ModuleSummaryIndex.h