[clang][Diagnostics][NFC] Use getFileID() directly
authorTimm Bäder <tbaeder@redhat.com>
Mon, 22 May 2023 13:39:48 +0000 (15:39 +0200)
committerTimm Bäder <tbaeder@redhat.com>
Wed, 31 May 2023 07:57:16 +0000 (09:57 +0200)
commitbb6c036ef378de321d5b7fc0ada317f91c88570d
tree45d66b443a7e0bece5cf914c412810a6397591c5
parentb0bab14b8b5305ddcb4e8b4d8a0e64004fc5425e
[clang][Diagnostics][NFC] Use getFileID() directly

Instead of calling getDecomposedLoc() and then only using the FileID.
clang/lib/Frontend/TextDiagnostic.cpp