[all-commits] [llvm/llvm-project] fce887: GlobalModuleIndex - Fix use-after-move clang stati...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Jan 11 08:44:24 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fce887beb79780d0e0b19e8ab6176978a3dce9b8
      https://github.com/llvm/llvm-project/commit/fce887beb79780d0e0b19e8ab6176978a3dce9b8
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-01-11 (Sat, 11 Jan 2020)

  Changed paths:
    M clang/lib/Serialization/GlobalModuleIndex.cpp

  Log Message:
  -----------
  GlobalModuleIndex - Fix use-after-move clang static analyzer warning.

Shadow variable names meant we were referencing the Buffer input argument, not the GlobalModuleIndex member that its std::move()'d it.




More information about the All-commits mailing list