- Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclangClang issues not falling into any other categoryClang issues not falling into any other category
Description
| Bugzilla Link | 38491 |
| Resolution | FIXED |
| Resolved on | Aug 12, 2019 06:50 |
| Version | trunk |
| OS | Windows NT |
| Blocks | #14079 #41819 |
| CC | @amykhuang,@CaseyCarter,@zmodem,@nico,@rnk |
Extended Description
C:\Temp>type allocator.cpp
#include <stdlib.h>
__declspec(allocator) void * meow(size_t n) {
return malloc(n);
}
C:\Temp>cl /EHsc /nologo /W4 /c allocator.cpp
allocator.cpp
C:\Temp>clang-cl -m32 /EHsc /nologo /W4 /c allocator.cpp
allocator.cpp(3,12): warning: __declspec attribute 'allocator' is not supported [-Wignored-attributes]
__declspec(allocator) void * meow(size_t n) {
^
1 warning generated.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclangClang issues not falling into any other categoryClang issues not falling into any other category