[clang] df88d61 - [Driver] Remove unused getInstalledDir
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Fri May 10 19:15:22 PDT 2024
Author: Fangrui Song
Date: 2024-05-10T19:15:17-07:00
New Revision: df88d610ab10c1e3f22d7f5daf3794158972c584
URL: https://github.com/llvm/llvm-project/commit/df88d610ab10c1e3f22d7f5daf3794158972c584
DIFF: https://github.com/llvm/llvm-project/commit/df88d610ab10c1e3f22d7f5daf3794158972c584.diff
LOG: [Driver] Remove unused getInstalledDir
The uses have been removed by commit 2b5cd8be3af43e5aa5b76b6aeb1edd3141b803ca
Added:
Modified:
clang/include/clang/Driver/Driver.h
Removed:
################################################################################
diff --git a/clang/include/clang/Driver/Driver.h b/clang/include/clang/Driver/Driver.h
index 2ffc52bcb7ad3..cc1538372d5f8 100644
--- a/clang/include/clang/Driver/Driver.h
+++ b/clang/include/clang/Driver/Driver.h
@@ -424,11 +424,6 @@ class Driver {
return ClangExecutable.c_str();
}
- /// Get the path to where the clang executable was installed.
- const char *getInstalledDir() const {
- return Dir.c_str();
- }
-
bool isSaveTempsEnabled() const { return SaveTemps != SaveTempsNone; }
bool isSaveTempsObj() const { return SaveTemps == SaveTempsObj; }
More information about the cfe-commits
mailing list