[cfe-commits] [PATCH] remove unused STL header includes
dgregor at apple.com
Sat Apr 23 10:09:18 CDT 2011
On Apr 23, 2011, at 4:02 AM, Jay Foad wrote:
> These patches remove unnecessary #includes of STL header files. Found
> by grepping for e.g. "#include <vector>" in files that don't mention
> std::vector. (And no files should be using "using namespace std",
> according to the coding standards.)
> Tested with "make all check-all", LLVM and Clang, on my Ubuntu system.
> I suppose there is a chance that the headers on my system are a bit
> more permissive than they need to be, and I've removed some #includes
> that are technically still required, but that seems fairly unlikely to
> OK to commit?
Looks okay to me. We'll know pretty quickly if any extra headers were removed :)
More information about the cfe-commits