[all-commits] [llvm/llvm-project] c80e19: [NFC] Inline maxDevirtIterationsReached()

aeubanks via All-commits all-commits at lists.llvm.org
Thu Dec 10 22:13:43 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c80e1935876424f9025238750a073092c24cbd44
      https://github.com/llvm/llvm-project/commit/c80e1935876424f9025238750a073092c24cbd44
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-12-10 (Thu, 10 Dec 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/CGSCCPassManager.h
    M llvm/lib/Analysis/CGSCCPassManager.cpp

  Log Message:
  -----------
  [NFC] Inline maxDevirtIterationsReached()

This was separated in the past because the cl::opt was in the .cpp file
but DevirtSCCRepeatedPass::run() was in the .h file. Now that
DevirtSCCRepeatedPass::run() is in the .cpp file, get rid of the tiny
maxDevirtIterationsReached(), it's bad for readability.




More information about the All-commits mailing list