[cfe-commits] r38664 - /cfe/cfe/trunk/Basic/SourceManager.cpp
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:23:37 PDT 2007
Author: sabre
Date: Wed Jul 11 11:23:37 2007
New Revision: 38664
URL: http://llvm.org/viewvc/llvm-project?rev=38664&view=rev
Log:
This matters for -E.
Modified:
cfe/cfe/trunk/Basic/SourceManager.cpp
Modified: cfe/cfe/trunk/Basic/SourceManager.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Basic/SourceManager.cpp?rev=38664&r1=38663&r2=38664&view=diff
==============================================================================
--- cfe/cfe/trunk/Basic/SourceManager.cpp (original)
+++ cfe/cfe/trunk/Basic/SourceManager.cpp Wed Jul 11 11:23:37 2007
@@ -206,7 +206,7 @@
while (1) {
// Skip over the contents of the line.
// TODO: Vectorize this? This is very performance sensitive for programs
- // with lots of diagnostics.
+ // with lots of diagnostics and in -E mode.
const unsigned char *NextBuf = (const unsigned char *)Buf;
while (*NextBuf != '\n' && *NextBuf != '\r' && *NextBuf != '\0')
++NextBuf;
More information about the cfe-commits
mailing list