[all-commits] [llvm/llvm-project] 3466b8: [Support] Add const to `FileError::getFileName`
Ben Barham via All-commits
all-commits at lists.llvm.org
Mon Mar 14 11:45:47 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3466b8e23d9c1e2604bf366e208cff887070a4ff
https://github.com/llvm/llvm-project/commit/3466b8e23d9c1e2604bf366e208cff887070a4ff
Author: Ben Barham <ben_barham at apple.com>
Date: 2022-03-14 (Mon, 14 Mar 2022)
Changed paths:
M llvm/include/llvm/Support/Error.h
Log Message:
-----------
[Support] Add const to `FileError::getFileName`
`getFileName` returns a `StringRef`, there's no reason it shouldn't be
const.
Differential Revision: https://reviews.llvm.org/D121495
More information about the All-commits
mailing list