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; } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits