summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseExprCXX.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2015-05-20 20:41:27 +0000
committerAlex Lorenz <arphaman@gmail.com>2015-05-20 20:41:27 +0000
commitc6277793dd0e8d045a5bfc64a18236217ac1680a (patch)
treee8acadd2164ecc03e3a1d463509c814f7f113e12 /clang/lib/Parse/ParseExprCXX.cpp
parent558850ac5954c156347754614b67abfe7d86b2e8 (diff)
downloadbcm5719-llvm-c6277793dd0e8d045a5bfc64a18236217ac1680a.tar.gz
bcm5719-llvm-c6277793dd0e8d045a5bfc64a18236217ac1680a.zip
AsmParser: Require a terminating null character when creating memory buffer.
This commit modifies the memory buffer creation in the AsmParser library so that it requires a terminating null character. The LLLexer in the AsmParser library checks for EOF only when it sees a null character, thus it would be best to require it when creating a memory buffer so that the memory buffer constructor can verify that a terminating null character is indeed present. Reviewers: Duncan P. N. Exon Smith, Matthias Braun Differential Revision: http://reviews.llvm.org/D9883 llvm-svn: 237833
Diffstat (limited to 'clang/lib/Parse/ParseExprCXX.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud