]> granicus.if.org Git - clang/commit
Lexer::ReadToEndOfLine: Only build the string if it's actually used and do so in...
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 18 May 2012 19:32:16 +0000 (19:32 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 18 May 2012 19:32:16 +0000 (19:32 +0000)
commit3093b20d824a953d8bc7a786dd952414898f8d6d
tree03754db02ab0c0c437ca9d6e04e1f3de656a16b5
parent6e629882ea67dbcd4dd2b0ccf636d2f758b86284
Lexer::ReadToEndOfLine: Only build the string if it's actually used and do so in a less malloc-intensive way.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157064 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/Lexer.h
lib/Lex/Lexer.cpp
lib/Lex/PPDirectives.cpp