From a15e7eaea9e63f58d1a7e72ed167cbb244da438a Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 27 Feb 2010 14:15:42 +0000 Subject: [PATCH] Fix thinko. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97323 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Lex/Preprocessor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h index f7e83d587f..1ae0a7ea3f 100644 --- a/include/clang/Lex/Preprocessor.h +++ b/include/clang/Lex/Preprocessor.h @@ -580,7 +580,7 @@ public: 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(); -- 2.40.0