[clang] 3f65691 - [NFC] Remove const from return value of function

Juan Manuel MARTINEZ CAAMAÑO via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 6 01:46:47 PST 2022


Author: Juan Manuel MARTINEZ CAAMAÑO
Date: 2022-12-06T04:46:33-05:00
New Revision: 3f65691737641c3b46bee11c9cf0e52046af3a49

URL: https://github.com/llvm/llvm-project/commit/3f65691737641c3b46bee11c9cf0e52046af3a49
DIFF: https://github.com/llvm/llvm-project/commit/3f65691737641c3b46bee11c9cf0e52046af3a49.diff

LOG: [NFC] Remove const from return value of function

Added: 
    

Modified: 
    clang/lib/Driver/ToolChains/ROCm.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/Driver/ToolChains/ROCm.h b/clang/lib/Driver/ToolChains/ROCm.h
index 600c8b39f4b31..5c1431f3270cf 100644
--- a/clang/lib/Driver/ToolChains/ROCm.h
+++ b/clang/lib/Driver/ToolChains/ROCm.h
@@ -266,7 +266,7 @@ class RocmInstallationDetector {
   void detectHIPRuntime();
 
   /// Get the values for --rocm-device-lib-path arguments
-  const ArrayRef<std::string> getRocmDeviceLibPathArg() const {
+  ArrayRef<std::string> getRocmDeviceLibPathArg() const {
     return RocmDeviceLibPathArg;
   }
 


        


More information about the cfe-commits mailing list