================
Comment at: lib/Tooling/Tooling.cpp:312-315
@@ -307,2 +311,6 @@
+ // FIXME: getCompileCommands can change the state of the file system (e.g.
+ // prepare generated headers), so it needs to run right before we invoke
the
+ // tool, as the next file may require a different (incompatible) state of
+ // the file system.
std::vector<CompileCommand> CompileCommandsForFile =
----------------
klimek wrote:
> I'd rephrase this to say what state we want to be in rather than what the
> current state is.
Done. See r221600.
http://reviews.llvm.org/D6162
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits