diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-05-19 01:06:46 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-05-19 01:06:46 +0000 |
commit | 6a5d1d42b7b840f081b6aaa78cba45c6bb21d410 (patch) | |
tree | d13660ca9b02d67b51023caed1e4441d989adf6f /tools/llvmc/Configuration.cpp | |
parent | 4411eebff24e2de571c1a405f8d3a7f1ccfb3030 (diff) |
For PR514:
* Make sure the "etcdir" gets checked for configuration files so that
the installed location for config files is checked.
* Remove the st.in file (moved to projects/Stacker/tools/stkrc)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc/Configuration.cpp')
-rw-r--r-- | tools/llvmc/Configuration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvmc/Configuration.cpp b/tools/llvmc/Configuration.cpp index 3b9d221fe3..e29ece2058 100644 --- a/tools/llvmc/Configuration.cpp +++ b/tools/llvmc/Configuration.cpp @@ -562,7 +562,7 @@ LLVMC_ConfigDataProvider::ReadConfigData(const std::string& ftype) { if (!confFile.readable()) confFile.clear(); } - if (!confFile.isEmpty()) { + if (confFile.isEmpty()) { // Okay, try the LLVM installation directory confFile = sys::Path::GetLLVMConfigDir(); confFile.appendFile(ftype); |