Handle NullPtr like Null.
Catch up with Rewrite API change
Catch up with Rewrite API change
-lclangRewrite -> -lclangRewriteCore
Disable exceptions and RTTI like LLVM now does.
InitializeSourceManager wants the source language now, use C++ for now.
use IK rather than a IK_CXX for InitializeSourceManager
fixed a couple of unused-var warnings
Now support llvm 3.2
fixed a crash bug

When get base class decl from a template specialization type,
the templated decl can be a typedef name decl. In such case,
invoke getBaseDeclFromType on the underlying type of the
typedef name decl.
Don't check if pointer is non-zero before delete
forgot to update a couple newly added passes
we don't need to check null pointers before deleting them
Improved command line options handling.

Module Getopt::Tabular was used to parse command line options.
It provides support for automatic input parameter validation and
--help text generation.

New options --skip-initial-passes, --verbose, and --sanity-checks
were added.
Don't save crash report in temporary directory.

After parallelization of creduce crash reports were being saved
into temporary directory (which is current for pass_clang). This
patch works around this bug.

Also, crash file now uses extension of original file instead of
".c".
Fixed extraction of $toreduce_base.

fileparse interpreted @suffixes as a list of patterns, and 'file.cc'
was split into 'file.' and 'cc' instead of 'file' and '.cc'
(because 'cc' matches '.c'), resulting in strange names of output
files (file..orig and file..best).

This fix also enables use of additional file extensions like '.h'
or '.ii'
Merge pull request #13 from annulen/options

Improved command line options handling.
Merge pull request #15 from annulen/fix_fileparse

Fixed extraction of $toreduce_base.
Merge pull request #14 from annulen/fix_oops_location

Don't save crash report in temporary directory.
add command line option to "sanitize" a test case, meaning the
C-Reduce will try to eliminate details that reveal possibly-sensitive
information about the original test case; this will take more time and
not necessarily be reliable
fix indentation