tra added inline comments.

================
Comment at: include/clang/Driver/Action.h:36
@@ -35,1 +35,3 @@
+///
+/// Actions are usually owned by a Compilation.
 class Action {
----------------
There's no API to pass ownership to Compilation explicitly, so the only way for 
an Action to be owned by Compilation is to create it with MakeAction. 

Perhaps "Actions created with MakeAction<>() are owned by Compilation"

BTW, should we (can we?) make MakeAction<>() the only way to create actions?


http://reviews.llvm.org/D15911



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

Reply via email to