[all-commits] [llvm/llvm-project] 31efec: Remove a top-level "using namespace" from TargetTr...

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


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

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

  Log Message:
  -----------
  Remove a top-level "using namespace" from TargetTransformInfoImpl.h

Move it into the implementation of the function that needs it.

Avoids polluting the namespace of all files including the header.




More information about the All-commits mailing list