[cfe-commits] Fix search path for clang on latest DragonFly releases [revised patches]

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Dec 13 12:02:47 PST 2012

> Per request from Rafael, I have applied these release 3.1 patches to trunk.
> They applied cleanly.  The resulting diff is attached.
> Please review to significantly improve clang's support on DragonFly!

+  bool UseGCC47;


+  llvm::sys::fs::exists("/usr/lib/gcc47", UseGCC47);

UseGCC47 can be used uninitialized. From the code I guess you can use
the simpler ]

UseGCC47 = llvm::sys::fs::exists("/usr/lib/gcc47");

The patch has grown quite a bit no? Can you split it? For example,
just gcc47 bits, the hash-style bits, etc.

> Thanks,
> John


More information about the cfe-commits mailing list