[cfe-commits] r97323 - /cfe/trunk/include/clang/Lex/Preprocessor.h

Benjamin Kramer benny.kra at googlemail.com
Sat Feb 27 06:15:42 PST 2010


Author: d0k
Date: Sat Feb 27 08:15:42 2010
New Revision: 97323

URL: http://llvm.org/viewvc/llvm-project?rev=97323&view=rev
Log:
Fix thinko.

Modified:
    cfe/trunk/include/clang/Lex/Preprocessor.h

Modified: cfe/trunk/include/clang/Lex/Preprocessor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/Preprocessor.h?rev=97323&r1=97322&r2=97323&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/Preprocessor.h (original)
+++ cfe/trunk/include/clang/Lex/Preprocessor.h Sat Feb 27 08:15:42 2010
@@ -580,7 +580,7 @@
       return II->getName();
 
     // Resize the buffer if we need to copy into it.
-    if (!Tok.needsCleaning())
+    if (Tok.needsCleaning())
       Buffer.resize(Tok.getLength());
 
     const char *Ptr = Buffer.data();





More information about the cfe-commits mailing list