MaskRay added inline comments.
================
Comment at: clang/lib/CodeGen/CodeGenAction.cpp:477
+ StringRef Message = D.getMessage();
+ if (Message.startswith("error: "))
+ Message = Message.substr(7);
----------------
`StringRef::consume_front`
I know you are moving code, but do you know why it needs to chop off the
`error: ` prefix (why does the message get a prefix here?)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97449/new/
https://reviews.llvm.org/D97449
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits