Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6
# f34a5205 03-May-2024 Fangrui Song <i@maskray.me>

[clang,test] Convert text files from CRLF to LF

Skip files with intentional CRLF line endings.


Revision tags: llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3
# 0b34d7e9 19-Feb-2024 Timm Bäder <tbaeder@redhat.com>

[clang][Interp] Fix calling static operators

They don't have an instance pointer anywhere but get one passed
via their CallExpr.


Revision tags: llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0
# 5bdd5d06 16-Sep-2023 faisal vali <faisalv@yahoo.com>

Fix PR#62594 : static lambda call operator is not convertible to function pointer on win32

See issue https://github.com/llvm/llvm-project/issues/62594

This code does not work on win32:

auto lsta

Fix PR#62594 : static lambda call operator is not convertible to function pointer on win32

See issue https://github.com/llvm/llvm-project/issues/62594

This code does not work on win32:

auto lstatic = []() static { return 0; };
int (*f2)(void) = lstatic;

Since a calling convention such as CC_X86ThisCall can rightly interfere with the implicit pointer to function conversion if erroneously marked on a static function, the fix entails checking the 'static' specifier on the lambda declarator prior to assigning it a calling convention of an non-static member (which pre-c++23 made sense).

show more ...