Skip to content
  1. May 01, 2012
    • Argyrios Kyrtzidis's avatar
      Store the source range of a CXXOperatorCallExpr in the Expr object instead of · d8e07697
      Argyrios Kyrtzidis authored
      calculating it recursively.
      
      boost::assign::tuple_list_of uses the trick of chaining call operator expressions in order to declare a "list of tuples", e.g:
          std::vector<tuple> v = boost::assign::tuple_list_of(1, "foo")(2, "bar")(3, "qqq");
      
      Due to CXXOperatorCallExpr calculating its source range recursively we would get
      significant slowdowns with a large number of chained call operator expressions and the
      potential for stack overflow.
      
      rdar://11350116
      
      llvm-svn: 155848
      d8e07697
  2. Apr 30, 2012
  3. Apr 29, 2012
Loading