[cfe-commits] [patch] Reorder header search a bit

Rafael Espindola espindola at google.com
Thu Nov 19 13:32:38 PST 2009


The attached patch reorder the header search a bit so that it matches
gcc exactly. The changes are

*) the ../backward is the last in libstdc++ to be searched
*) If compiling c++ the c++ headers are searched first

I don't know if some code actually depends on this. I just found it by
looking at gcc -v and clang -v.

Cheers,
-- 
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reorder.patch
Type: text/x-diff
Size: 2007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20091119/78a8c175/attachment.patch>


More information about the cfe-commits mailing list