[OpenMP][NFC] Remove unncessary capture in RAII struct
authorJoseph Huber <jhuber6@vols.utk.edu>
Mon, 26 Jul 2021 18:57:38 +0000 (14:57 -0400)
committerHuber, Joseph <huberjn@ornl.gov>
Mon, 26 Jul 2021 19:05:55 +0000 (15:05 -0400)
commite757a3b05fd99bb5b5e6460c1d59cd0a170a6033
tree931e6a7aaa6a0a72b252ad6c2b0117f4c65297d9
parent7b28c5d3765c5f48a1502693331b22330d609f88
[OpenMP][NFC] Remove unncessary capture in RAII struct

Summary:
There was an unnecessary variable assigned to the information cache when we
only need it in the constructor to extract the function declaration.
llvm/lib/Transforms/IPO/OpenMPOpt.cpp