[PATCH] D23329: [NFC] Reducing allocations in AST attributes

Eugene via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 9 11:45:50 PDT 2016


kevgs added a comment.

My test case is:

clang++ -std=c++14 -fsyntax-only test.cc

#include <algorithm>
#include <iostream>
#include <vector>
int main() {

  std::vector<int> v = {1, 2, 3};
  std::for_each(v.begin(), v.end(), [](auto i) { std::cout << i; });
  return 0;

}


https://reviews.llvm.org/D23329





More information about the cfe-commits mailing list