[cfe-commits] r94668 - /cfe/trunk/tools/CIndex/CIndexer.cpp
Chandler Carruth
chandlerc at gmail.com
Tue Jan 26 23:37:16 PST 2010
Author: chandlerc
Date: Wed Jan 27 01:37:16 2010
New Revision: 94668
URL: http://llvm.org/viewvc/llvm-project?rev=94668&view=rev
Log:
Fix libCIndex.so's lookup of the clang executable on CMake out-of-tree builds.
Modified:
cfe/trunk/tools/CIndex/CIndexer.cpp
Modified: cfe/trunk/tools/CIndex/CIndexer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/CIndex/CIndexer.cpp?rev=94668&r1=94667&r2=94668&view=diff
==============================================================================
--- cfe/trunk/tools/CIndex/CIndexer.cpp (original)
+++ cfe/trunk/tools/CIndex/CIndexer.cpp Wed Jan 27 01:37:16 2010
@@ -69,7 +69,7 @@
// We now have the CIndex directory, locate clang relative to it.
CIndexPath.eraseComponent();
- CIndexPath.eraseComponent();
+ CIndexPath.appendComponent("..");
CIndexPath.appendComponent("bin");
CIndexPath.appendComponent("clang");
#endif
More information about the cfe-commits
mailing list