diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-12 16:34:32 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-12 16:34:32 +0000 |
commit | 99b28e7e6b136acd8b294a807550e66f78c07f44 (patch) | |
tree | 68378b27c8f86de75bd82e4b780fb9667cb49b33 /lib/AST/CommentLexer.cpp | |
parent | 140d5130434582aa2712a67b48f7db9c0563b34c (diff) |
Always initialize variable. If opening quote is the last character in comment, we will be using an uninitialized value. There is already a test for that in unittests/AST/CommentLexer.cpp, but it seems like we were lucky with the value that got loaded into the variable so the test passed.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160133 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/CommentLexer.cpp')
0 files changed, 0 insertions, 0 deletions