ormris added inline comments.
================ Comment at: lib/CodeGen/CGDebugInfo.cpp:2992 + std::string NameString = Name.str(); + llvm::raw_string_ostream ParameterizedName(NameString); + ParameterizedName << "<"; ---------------- JDevlieghere wrote: > Why not use Name.str() directly? I got "error: invalid initialization of non-const reference ... from rvalue ...". Using NameString fixed the issue. Repository: rC Clang https://reviews.llvm.org/D44842 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits