[cfe-commits] [patch] a bit of refactoring in the include path code

Rafael Espindola espindola at google.com
Sat Oct 3 08:59:13 PDT 2009


The attached patch adds a function AddGnuCPlusPlusIncludePaths to
factor out a bit of duplicated code.  The bits about FreeBsd and
DragonFly should be functionally equivalents, but I think they are
(and were) incomplete. Can someone with one of those systems verify
that the there is no such thing as

/usr/include/c++/4.2/*freebsd*

or

/usr/include/c++/4.1/*dragon*

Every other gnu libstdc++ installation uses a directory named after
the triple, that is why I find this strange.

Cheers,
-- 
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: include-path.patch
Type: application/octet-stream
Size: 7754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20091003/e1b72bf2/attachment.obj>


More information about the cfe-commits mailing list