thiagomacieira added inline comments.

================
Comment at: lib/Driver/Distro.cpp:139
 
+  File = VFS.getBufferForFile("/usr/lib/os-release");
+  if (File) {
----------------
mgorny wrote:
> Technically speaking, the spec says you are supposed to read 
> `/etc/os-release` first and fall back to `/usr/lib/os-release` only if the 
> former does not exist.
You're right, I'll adapt.


https://reviews.llvm.org/D53125



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to