[all-commits] [llvm/llvm-project] a30b5c: Fix MSVC "not all control paths return a value" wa...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Jun 5 02:48:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a30b5c5a51f95dc81fdfbeea42cc01b451cd5a08
      https://github.com/llvm/llvm-project/commit/a30b5c5a51f95dc81fdfbeea42cc01b451cd5a08
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-06-05 (Fri, 05 Jun 2020)

  Changed paths:
    M clang/lib/Testing/CommandLineArgs.cpp

  Log Message:
  -----------
  Fix MSVC "not all control paths return a value" warning. NFC.

Add llvm_unreachable after switch statement for TestLanguage enum


  Commit: 44d86982d24928879622561e4137c500f2eecdb7
      https://github.com/llvm/llvm-project/commit/44d86982d24928879622561e4137c500f2eecdb7
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-06-05 (Fri, 05 Jun 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/MemorySSAUpdater.h
    M llvm/lib/Analysis/MemorySSAUpdater.cpp
    M llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp

  Log Message:
  -----------
  MemorySSAUpdater.h - reduce unnecessary includes to forward declarations. NFC.

Remove unnecessary MemoryAccess forward declaration as its already included from MemorySSA.h

Move implicit include dependencies down to source files.


Compare: https://github.com/llvm/llvm-project/compare/ecd682bbf5e6...44d86982d249


More information about the All-commits mailing list