[PATCH] D10431: PR21174 - clang only searches current working directory for precompiled include file

Kim Gräsman kim.grasman at gmail.com
Fri Jul 10 15:11:21 PDT 2015


kimgr added a comment.

Thanks! I just looked at this again, and I think I found a bug, see inline.

I can't sign this off, I'm just a happy user, so here's a friendly owner ping!


================
Comment at: lib/Driver/Tools.cpp:398
@@ +397,3 @@
+              FoundPTH = !UsePCH;
+            }
+          }
----------------
Add a `break;` here so we don't continue searching after a valid path has been found


http://reviews.llvm.org/D10431







More information about the cfe-commits mailing list