[cfe-commits] [patch] Fix uninitialized variables causing assert in TokenConcatenation::AvoidConcat

Michael Spencer bigcheesegs at gmail.com
Mon Jun 14 23:50:44 PDT 2010


The test case in the attached patch caused an assert to fail in
TokenConcatenation::AvoidConcat due to uninitialized variables in
PrintPreprocessedOutput.cpp/PrintPreprocessedTokens. The rest of the
patch fixes it.

Thanks to coppro for helping me figure out exactly what the problem
was and what the proper fix was.

- Michael Spencer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preprocessed-output-macro-first-token.patch
Type: application/octet-stream
Size: 2122 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100615/5ce21dde/attachment.obj>


More information about the cfe-commits mailing list