aprantl marked an inline comment as done.
aprantl added inline comments.
================
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:2488
+ auto RemapPath = [&](std::string &Path) {
+ Path = remapDIPath(Path);
+ StringRef Relative(Path);
----------------
Is this legal?
remapDIPath takes a StringRef to Path. Is the sret value going to be a
temporary or are we modifying the contents of the string while reading from it
in remapDIPath?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76385/new/
https://reviews.llvm.org/D76385
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits