[cfe-commits] r99594 - /cfe/trunk/tools/CIndex/CIndex.cpp
Ted Kremenek
kremenek at apple.com
Thu Mar 25 18:34:51 PDT 2010
Author: kremenek
Date: Thu Mar 25 20:34:51 2010
New Revision: 99594
URL: http://llvm.org/viewvc/llvm-project?rev=99594&view=rev
Log:
Return translation units from clang_createTranslationUnitFromSource()
if even they contain errors.
Modified:
cfe/trunk/tools/CIndex/CIndex.cpp
Modified: cfe/trunk/tools/CIndex/CIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/CIndex/CIndex.cpp?rev=99594&r1=99593&r2=99594&view=diff
==============================================================================
--- cfe/trunk/tools/CIndex/CIndex.cpp (original)
+++ cfe/trunk/tools/CIndex/CIndex.cpp Thu Mar 25 20:34:51 2010
@@ -1078,9 +1078,8 @@
// stderr and stdout in the file system, all with different buffers
// but writing to the same device.
fflush(stderr);
-#endif
+#endif
}
- return 0;
}
return Unit.take();
More information about the cfe-commits
mailing list