================
Comment at: lib/Tooling/CompilationDatabase.cpp:118
@@ +117,3 @@
+
+ void run(const driver::Action *A) {
+ bool setCollect = false;
----------------
I'd change the signature to have a bool Collect parameter, and then remove the
member and do:
{
bool CollectChildren = Collect;
...
case CompileJobClass:
CollectChildren = true;
...
for (...)
run(*I, CollectChildren);
http://llvm-reviews.chandlerc.com/D2039
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits