[PATCH] D11227: [llvm-cxxdump] Don't rely on global state

Davide Italiano dccitaliano at gmail.com
Wed Jul 15 10:50:52 PDT 2015


davide created this revision.
davide added reviewers: majnemer, rafael.
davide added a subscriber: llvm-commits.

It seems that llvm-cxxdump (and other tools) rely on a static global state for error. It doesn't seem great, and I can't see a reason why we need to do that (but I may miss it).
At least in the llvm-cxxdump case the conversion seems straightforward enough, so I tried to do it.

http://reviews.llvm.org/D11227

Files:
  llvm-cxxdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11227.29795.patch
Type: text/x-patch
Size: 5884 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150715/f32f97c5/attachment.bin>


More information about the llvm-commits mailing list