[all-commits] [llvm/llvm-project] 11511e: Remove "using namespace llvm" from ReleaseModeMode...

Pavel Labath via All-commits all-commits at lists.llvm.org
Wed Mar 2 06:32:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11511e9357e823dc7f1a38a4466a3a7e3f633a18
      https://github.com/llvm/llvm-project/commit/11511e9357e823dc7f1a38a4466a3a7e3f633a18
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2022-03-02 (Wed, 02 Mar 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/ReleaseModeModelRunner.h

  Log Message:
  -----------
  Remove "using namespace llvm" from ReleaseModeModelRunner.h

A using directive in a header pollutes the namespace of all files which
include that header. It seems this snuck in in D115764 by moving some
code from a cpp file.




More information about the All-commits mailing list