diff options
author | Morris Hafner <mmha@users.noreply.github.com> | 2025-07-30 03:34:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-30 03:34:52 +0200 |
commit | 1132562bf3760a929dd53c372cad29fe939e7a7a (patch) | |
tree | e4f05b21a75bb066ff8b523a39653c217a01e6c4 /clang/lib/CIR/CodeGen/CIRGenModule.cpp | |
parent | fe25445ded152df6cba2efcf053924f3f9f0e3c7 (diff) | |
download | llvm-1132562bf3760a929dd53c372cad29fe939e7a7a.zip llvm-1132562bf3760a929dd53c372cad29fe939e7a7a.tar.gz llvm-1132562bf3760a929dd53c372cad29fe939e7a7a.tar.bz2 |
[CIR] Add support for C++ conversion operators (#151066)
This fairly simple addition enables codegen for C++ conversion operators
Diffstat (limited to 'clang/lib/CIR/CodeGen/CIRGenModule.cpp')
-rw-r--r-- | clang/lib/CIR/CodeGen/CIRGenModule.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CIR/CodeGen/CIRGenModule.cpp b/clang/lib/CIR/CodeGen/CIRGenModule.cpp index 750fe97..623b84f 100644 --- a/clang/lib/CIR/CodeGen/CIRGenModule.cpp +++ b/clang/lib/CIR/CodeGen/CIRGenModule.cpp @@ -1298,6 +1298,7 @@ void CIRGenModule::emitTopLevelDecl(Decl *decl) { decl->getDeclKindName()); break; + case Decl::CXXConversion: case Decl::CXXMethod: case Decl::Function: { auto *fd = cast<FunctionDecl>(decl); |