I think this commit broke lambdas inside templated functions where codegen 
asserts:
    template <typename Type>
    bool Func(Type Value) {
      auto Function = []() {
        return __FUNCTION__;
      };
      return Function();
    }

    int main() {
      return Func(1);
    }

  -

    (cast<ConstantArrayType>(E->getType())->getSize() - 1 == 
FunctionName.size() && "Computed __func__ length differs from type!")

http://llvm-reviews.chandlerc.com/D1491

COMMIT
  http://llvm-reviews.chandlerc.com/rL189219
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to