aaron.ballman added inline comments.

================
Comment at: clang/lib/Driver/Types.cpp:305
+  P.clear();
+  for (auto Phase : getInfo(Id).Phases)
+    P.push_back(Phase);
----------------
Can't you use the local `Phases` object instead of calling `getInfo()` again? 
This seems like it wants to be `P = Phases;`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64098/new/

https://reviews.llvm.org/D64098



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

Reply via email to