aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Lex/Preprocessor.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-02-27 14:15:42 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-02-27 14:15:42 +0000
commita15e7eaea9e63f58d1a7e72ed167cbb244da438a (patch)
tree2a7b082b28f80c73af45fed38e17cb0f7fde2c46 /include/clang/Lex/Preprocessor.h
parentddeea5644367c9c153c9fee9e51bdea85ce43cbd (diff)
Fix thinko.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97323 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/Preprocessor.h')
-rw-r--r--include/clang/Lex/Preprocessor.h2
1 files changed, 1 insertions, 1 deletions
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();