Handle static local vars in the llvm::Module.
Run clang with -print-file-name=include, seems that is needed by clang's testsuite.
Ignore -o -, this is by default what we do in cling
Send the output of grep to /dev/null
Commit a module pass (commented out) that might be useful in future. Please note that we need to link against libLLVMipo
Apply this (even now commented) when not in fsyntax-only mode.
When we have no module don't try to dump it.
IPO.h is used only when we need to create a llvm IPO pass.
This check is ambiguous remove it.

When there are class specializations, and a concrete specialization is deleted
find will give back the less concrete one and the check will fail, signaling
a wrong behavior, which is incorrect.