Remove trailing spaces

This commit is contained in:
Philippe Canal
2014-08-03 21:05:42 -05:00
committed by sftnight
parent 417dfa1c6f
commit 576ca3ca96
94 changed files with 1284 additions and 1284 deletions

View File

@@ -36,8 +36,8 @@ namespace cling {
return value;
}
MetaLexer::MetaLexer(llvm::StringRef line)
: bufferStart(line.data()), curPos(line.data())
MetaLexer::MetaLexer(llvm::StringRef line)
: bufferStart(line.data()), curPos(line.data())
{ }
void MetaLexer::Lex(Token& Tok) {
@@ -50,7 +50,7 @@ namespace cling {
// INTENTIONAL FALL THROUGHs
return LexPunctuator(C, Tok);
case '/':
case '/':
if (*curPos != '/')
return LexPunctuator(C, Tok);
else {
@@ -153,7 +153,7 @@ namespace cling {
Tok.startToken(curPos);
while (true) {
bool escape = false;
while ( (escape || *curPos != start)
while ( (escape || *curPos != start)
&& *curPos != '\0' && *curPos != '\r' && *curPos != '\n') {
escape = ( (*curPos) == '\\' );
++curPos;