[all-commits] [llvm/llvm-project] d91223: [CUDA][FIX] Fix name conflict in getNVPTXTargetFea...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Mar 23 20:14:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d91223274145a0c33ab01641902650b249921a43
      https://github.com/llvm/llvm-project/commit/d91223274145a0c33ab01641902650b249921a43
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-03-23 (Wed, 23 Mar 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Cuda.cpp
    M clang/lib/Driver/ToolChains/Cuda.h

  Log Message:
  -----------
  [CUDA][FIX] Fix name conflict in getNVPTXTargetFeatures

Summary:
There was a naming conflict in the getNVPTXTargetFeatures function that
prevented some compilers from correctly disambiguating between the
enumeration and variable of the same name. Rename the variable to avoid
this.




More information about the All-commits mailing list