================
@@ -1039,6 +1058,177 @@ Expected<ConceptReference *> 
ASTNodeImporter::import(ConceptReference *From) {
   return ConceptRef;
 }
 
+StringRef ASTNodeImporter::ImportASTStringRef(StringRef FromStr) {
----------------
balazske wrote:

Probably an explanation can be added about use of this function. A `StringRef` 
can be a pointer to any string and normally the object where the string resides 
should be imported (if there is such case), not only the string. If there is no 
such object (and the string was originally allocated in the same way) then this 
function can be used.

https://github.com/llvm/llvm-project/pull/138838
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to