[cfe-commits] [PATCH] simple fix for the pretty printer
Cornelius
c.r1 at gmx.de
Tue Dec 15 06:13:03 PST 2009
Hi,
I tried out the pretty printer for
corni at schleptop:~/remote/llvm/llvm-mainline-git-cmake-build/bin$ cat
test.cpp
#include <cstdio>
int main() {
printf("hello");
return 0;
}
and it crashed with an assertation, the attached patch fixes it.
This is my first patch to clang, and i've no idea whether my approach is
actually right, kills kittens or breaks your computer ;)
Cornelius
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-the-pretty-printer-for-a-hello-world-example.patch
Type: text/x-diff
Size: 863 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20091215/d52080fe/attachment.patch>
More information about the cfe-commits
mailing list