[all-commits] [llvm/llvm-project] 480d52: [CIR][NFC] Fix build warning in getCIRSourceLangua...
Andy Kaylor via All-commits
all-commits at lists.llvm.org
Fri Aug 22 14:57:54 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 480d528053f635d381a471f613631a4ecae321ca
https://github.com/llvm/llvm-project/commit/480d528053f635d381a471f613631a4ecae321ca
Author: Andy Kaylor <akaylor at nvidia.com>
Date: 2025-08-22 (Fri, 22 Aug 2025)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenModule.cpp
M clang/lib/CIR/CodeGen/CIRGenModule.h
Log Message:
-----------
[CIR][NFC] Fix build warning in getCIRSourceLanguage (#155029)
The getCIRSourceLanguage wasn't returning a value if the source language
was anything other than C or C++. This change updates that function to
return a std::optional value and only adds the source language attribute
if one was returned.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list