In microsoft, support __fastcall on functions without prototype #13080
Labels
bugzilla
Issues migrated from bugzilla
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
wontfix
Issue is real, but we can't or won't fix it. Not invalid
Extended Description
handleFunctionTypeAttr in SemaType.cpp
C:\src\chrome\src>type test.c
void __fastcall f() {
}
C:\src\chrome\src>cl /c test.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
test.c
C:\src\chrome\src>....\llvm-build\bin\Release\clang.exe -c test.c
test.c:1:6: error: function with no prototype cannot use fastcall calling convention
void __fastcall f() {
^
1 error generated.
This is used in lzma_sdk if _MSC_VER is defined.
The text was updated successfully, but these errors were encountered: