[PATCH] D44842: Add Parameters to DW_AT_name Attribute of Template Variables

Jonas Devlieghere via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 27 02:58:04 PDT 2018


JDevlieghere added inline comments.


================
Comment at: lib/CodeGen/CGDebugInfo.cpp:2992
+      std::string NameString = Name.str();
+      llvm::raw_string_ostream ParameterizedName(NameString);
+      ParameterizedName << "<";
----------------
Why not use Name.str() directly?


Repository:
  rC Clang

https://reviews.llvm.org/D44842





More information about the cfe-commits mailing list