[all-commits] [llvm/llvm-project] a806b3: [clang][Diagnostics][NFC] Remove unnecessary Strin...
Timm Bäder via All-commits
all-commits at lists.llvm.org
Wed May 31 01:37:10 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a806b3f49667f3aa0800572b84f91b77654e29fd
https://github.com/llvm/llvm-project/commit/a806b3f49667f3aa0800572b84f91b77654e29fd
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2023-05-31 (Wed, 31 May 2023)
Changed paths:
M clang/lib/Frontend/TextDiagnostic.cpp
Log Message:
-----------
[clang][Diagnostics][NFC] Remove unnecessary StringRef
Seems unnecessary to create a StringRef here just so we can drop the
trailing null bytes. We can do that with the std::string we
create anyway.
Differential Revision: https://reviews.llvm.org/D151300
More information about the All-commits
mailing list