[PATCH] D17130: Debloat some headers

Alexander Riccio via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 11 00:43:09 PST 2016


ariccio added inline comments.

================
Comment at: llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:143
@@ -144,3 +142,3 @@
   void addAbortedBlock(const ExplodedNode *node, const CFGBlock *block) {
-    blocksAborted.push_back(std::make_pair(block, node));
+    blocksAborted.emplace_back(block, node);
   }
----------------
I did this as a drive by "fix", I thought it was a tad bit simpler than explicitly calling `make_pair`. I can change it back if you'd like.


http://reviews.llvm.org/D17130





More information about the cfe-commits mailing list