[all-commits] [llvm/llvm-project] aecd75: Analysis: move declaration of variables to a more ...

Saleem Abdulrasool via All-commits all-commits at lists.llvm.org
Wed Sep 8 09:19:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aecd75f0953e01881c874da20cc2ec8fdf525577
      https://github.com/llvm/llvm-project/commit/aecd75f0953e01881c874da20cc2ec8fdf525577
  Author: Saleem Abdulrasool <compnerd at compnerd.org>
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/LoopInfo.h
    M llvm/include/llvm/Analysis/MemorySSA.h
    M llvm/include/llvm/Support/Debug.h

  Log Message:
  -----------
  Analysis: move declaration of variables to a more suitable location

This moves 2 variable declarations from `llvm/Support/Debug.h` to a more
appropriate home in the headers for `LLVMAnalysis`.  These variables are
defined in `LLVMAnalysis` rather than in `LLVMSupport` and although they
control debugging behavior, the declarations being colocated in the same
library's headers is both easier to locate and aids correctly describing
the library's interfaces.

Reviewed By: rnk, mehdi_amini, aeubanks

Differential Revision: https://reviews.llvm.org/D109396




More information about the All-commits mailing list