[all-commits] [llvm/llvm-project] c113cb: [clang][Diagnostic][NFC] Simplify emitDiagnosticLoc
Timm Bäder via All-commits
all-commits at lists.llvm.org
Wed May 31 00:50:49 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c113cbb51005108d1380a4b9d501ddeb1366a406
https://github.com/llvm/llvm-project/commit/c113cbb51005108d1380a4b9d501ddeb1366a406
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][Diagnostic][NFC] Simplify emitDiagnosticLoc
We don't use the offset returned from SourceManager::getDecomposedLoc
here, so we might as well just use getFileID().
Differential Revision: https://reviews.llvm.org/D151093
More information about the All-commits
mailing list