HomeSort by relevance Sort by last modified time
    Searched refs:__declspec (Results 1 - 25 of 620) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/llvm/test/tools/llvm-readobj/Inputs/
cxx-cli-aux.cpp 2 __declspec(appdomain) int PerAppDomain = 0;
  /external/clang/test/Sema/
dllexport.c 7 __declspec(dllexport) typedef int typedef1; // expected-warning{{'dllexport' attribute only applies to variables and functions}}
8 typedef __declspec(dllexport) int typedef2; // expected-warning{{'dllexport' attribute only applies to variables and functions}}
9 typedef int __declspec(dllexport) typedef3; // expected-warning{{'dllexport' attribute only applies to variables and functions}}
10 typedef __declspec(dllexport) void (*FunTy)(); // expected-warning{{'dllexport' attribute only applies to variables and functions}}
11 enum __declspec(dllexport) Enum { EnumVal }; // expected-warning{{'dllexport' attribute only applies to variables and functions}} function
12 struct __declspec(dllexport) Record {}; // expected-warning{{'dllexport' attribute only applies to variables and functions}} function
21 __declspec(dllexport) extern int ExternGlobalDecl;
24 __declspec(dllexport) int GlobalDef;
27 __declspec(dllexport) int GlobalInit1 = 1;
28 int __declspec(dllexport) GlobalInit2 = 1
80 __declspec(dllexport) inline void inlineFunc1() {} function
102 __declspec(dllexport) inline void redecl5() {} \/\/ expected-error{{redeclaration of 'redecl5' cannot add 'dllexport' attribute}} function
144 void __declspec(dllimport) __declspec(dllexport) precedence1B() {} \/\/ expected-warning{{'dllimport' attribute ignored}} function
147 void __declspec(dllexport) __declspec(dllimport) precedence2B() {} \/\/ expected-warning{{'dllimport' attribute ignored}} function
    [all...]
dllimport.c 7 __declspec(dllimport) typedef int typedef1; // expected-warning{{'dllimport' attribute only applies to variables and functions}}
8 typedef __declspec(dllimport) int typedef2; // expected-warning{{'dllimport' attribute only applies to variables and functions}}
9 typedef int __declspec(dllimport) typedef3; // expected-warning{{'dllimport' attribute only applies to variables and functions}}
10 typedef __declspec(dllimport) void (*FunTy)(); // expected-warning{{'dllimport' attribute only applies to variables and functions}}
11 enum __declspec(dllimport) Enum { EnumVal }; // expected-warning{{'dllimport' attribute only applies to variables and functions}} function
12 struct __declspec(dllimport) Record {}; // expected-warning{{'dllimport' attribute only applies to variables and functions}} function
21 __declspec(dllimport) extern int ExternGlobalDecl;
24 __declspec(dllimport) int GlobalDecl;
32 __declspec(dllimport) extern int ExternGlobalInit = 1; // expected-error{{definition of dllimport data}}
33 __declspec(dllimport) int GlobalInit1 = 1; // expected-error{{definition of dllimport data}
122 __declspec(dllimport) void def() {} \/\/ expected-error{{dllimport cannot be applied to non-inline function definition}} function
129 __declspec(dllimport) inline void inlineFunc1() {} function
167 __declspec(dllimport) inline void redecl7() {} function
    [all...]
MicrosoftCompatibility.c 14 __declspec(noreturn) void f6( void ) { function
18 __declspec(align(32768)) struct S1 { int a; } s; /* expected-error {{requested alignment must be 8192 bytes or smaller}} */
19 struct __declspec(aligned) S2 {}; /* expected-warning {{__declspec attribute 'aligned' is not supported}} */ function
21 struct __declspec(appdomain) S3 {}; /* expected-warning {{__declspec attribute 'appdomain' is not supported}} */ function
23 __declspec(__noreturn__) void f7(void); /* expected-warning {{__declspec attribute '__noreturn__' is not supported}} */
  /external/clang/test/CodeGen/
ms-declspecs.cpp 4 extern __declspec(selectany) int x1;
5 extern "C" __declspec(selectany) int x2;
6 extern "C++" __declspec(selectany) int x3;
8 __declspec(selectany) int x4;
10 __declspec(selectany) int x5;
windows-on-arm-dllimport-dllexport.c 3 __declspec(dllexport) int export_int;
5 __declspec(dllimport) int import_int;
7 __declspec(dllexport) void export_declared_function();
9 __declspec(dllexport) void export_implemented_function() {
12 __declspec(dllimport) void import_function(int);
dllexport.c 14 __declspec(dllexport) extern int ExternGlobalDecl;
18 __declspec(dllexport) int GlobalDef;
22 __declspec(dllexport) int GlobalInit = 1;
26 __declspec(dllexport) extern int GlobalDeclInit;
31 __declspec(dllexport) extern int GlobalRedecl1;
32 __declspec(dllexport) int GlobalRedecl1;
35 __declspec(dllexport) extern int GlobalRedecl2;
48 __declspec(dllexport) void def(void) {} function
53 __declspec(dllexport) inline void inlineFunc(void) {} function
54 __declspec(dllexport) inline void externInlineFunc(void) { function
102 void __declspec(dllimport) __declspec(dllexport) precedence1B(void) {} function
107 void __declspec(dllexport) __declspec(dllimport) precedence2B(void) {} function
    [all...]
ms-declspecs.c 3 __declspec(selectany) int x1 = 1;
4 const __declspec(selectany) int x2 = 2;
9 __declspec(selectany) int x3;
10 extern __declspec(selectany) int x4;
14 struct __declspec(align(16)) S {
23 __declspec(naked) void t3() {} function
26 void __declspec(nothrow) t22();
30 __declspec(noinline) void t2() {} function
33 __declspec(noreturn) void f20_t(void);
ms-align-tentative.c 3 char __declspec(align(8192)) x;
6 typedef char __declspec(align(8192)) T;
10 T __declspec(align(8192)) z;
13 int __declspec(align(16)) redef;
14 int __declspec(align(32)) redef = 8;
17 struct __declspec(align(64)) S {
windows-on-arm-stack-probe-size.c 10 __declspec(dllimport) void initialise(signed char buffer[4096]);
12 __declspec(dllexport) signed char function(unsigned index) {
  /external/clang/test/SemaCXX/
ms-novtable.cpp 3 struct __declspec(novtable) S {};
4 enum __declspec(novtable) E {}; // expected-warning{{'novtable' attribute only applies to classes}}
5 int __declspec(novtable) I; // expected-warning{{'novtable' attribute only applies to classes}}
6 typedef struct T __declspec(novtable) U; // expected-warning{{'novtable' attribute only applies to classes}}
7 auto z = []() __declspec(novtable) { return nullptr; }; // expected-warning{{'novtable' attribute only applies to classes}}
declspec-thread.cpp 3 __thread __declspec(thread) int a; // expected-error {{already has a thread-local storage specifier}}
4 __declspec(thread) __thread int b; // expected-error {{already has a thread-local storage specifier}}
5 __declspec(thread) int c(); // expected-warning {{only applies to variables}}
6 __declspec(thread) int d;
8 __declspec(thread) int e = foo(); // expected-error {{must be a constant expression}} expected-note {{thread_local}}
11 __declspec(thread) HasCtor f; // expected-error {{must be a constant expression}} expected-note {{thread_local}}
14 __declspec(thread) HasDtor g; // expected-error {{non-trivial destruction}} expected-note {{thread_local}}
20 __declspec(thread) HasDefaultedDefaultCtor h;
26 __declspec(thread) HasConstexprCtor i(42);
29 __declspec(thread) int a; // expected-error {{must have global storage}
    [all...]
attr-selectany.cpp 4 __declspec(selectany) void foo() { } // expected-error{{'selectany' can only be applied to data items with external linkage}}
6 __declspec(selectany) int x1 = 1;
8 const __declspec(selectany) int x2 = 2; // expected-error{{'selectany' can only be applied to data items with external linkage}}
10 extern const __declspec(selectany) int x3 = 3;
13 const __declspec(selectany) int x4 = 4;
16 extern __declspec(selectany) int x5;
18 static __declspec(selectany) int x6 = 2; // expected-error{{'selectany' can only be applied to data items with external linkage}}
23 extern __declspec(selectany) int x7; // expected-warning{{attribute declaration must precede definition}}
33 __declspec(selectany) X x(1);
36 __declspec(selectany) auto x8 = Internal(); // expected-error {{'selectany' can only be applied to data items (…)
    [all...]
dllimport.cpp 18 __declspec(dllimport) typedef int typedef1; // expected-warning{{'dllimport' attribute only applies to variables, functions and classes}}
19 typedef __declspec(dllimport) int typedef2; // expected-warning{{'dllimport' attribute only applies to variables, functions and classes}}
20 typedef int __declspec(dllimport) typedef3; // expected-warning{{'dllimport' attribute only applies to variables, functions and classes}}
21 typedef __declspec(dllimport) void (*FunTy)(); // expected-warning{{'dllimport' attribute only applies to variables, functions and classes}}
22 enum __declspec(dllimport) Enum {}; // expected-warning{{'dllimport' attribute only applies to variables, functions and classes}}
24 enum class __declspec(dllimport) EnumClass {}; // expected-warning{{'dllimport' attribute only applies to variables, functions and classes}}
34 __declspec(dllimport) extern int ExternGlobalDecl;
37 __declspec(dllimport) int GlobalDecl;
42 __declspec(dllimport) extern int ExternGlobalInit = 1; // expected-error{{definition of dllimport data}}
43 __declspec(dllimport) int GlobalInit1 = 1; // expected-error{{definition of dllimport data}
    [all...]
dllexport.cpp 19 __declspec(dllexport) typedef int typedef1; // expected-warning{{'dllexport' attribute only applies to variables, functions and classes}}
20 typedef __declspec(dllexport) int typedef2; // expected-warning{{'dllexport' attribute only applies to variables, functions and classes}}
21 typedef int __declspec(dllexport) typedef3; // expected-warning{{'dllexport' attribute only applies to variables, functions and classes}}
22 typedef __declspec(dllexport) void (*FunTy)(); // expected-warning{{'dllexport' attribute only applies to variables, functions and classes}}
23 enum __declspec(dllexport) Enum {}; // expected-warning{{'dllexport' attribute only applies to variables, functions and classes}}
25 enum class __declspec(dllexport) EnumClass {}; // expected-warning{{'dllexport' attribute only applies to variables, functions and classes}}
35 __declspec(dllexport) extern int ExternGlobalDecl;
38 __declspec(dllexport) int GlobalDef;
41 __declspec(dllexport) int GlobalInit1 = 1;
42 int __declspec(dllexport) GlobalInit2 = 1
    [all...]
  /external/clang/test/CodeGenCXX/
inline-dllexport-member.cpp 4 struct __declspec(dllexport) s {
ms-novtable.cpp 13 struct __declspec(novtable) A1 {
19 struct __declspec(novtable) B1 : virtual A1 {} b1;
21 struct __declspec(novtable) C : virtual A2 {} c;
PR19955.cpp 4 extern int __declspec(dllimport) var;
5 extern void __declspec(dllimport) fun();
pr20897.cpp 4 // __declspec(dllexport) causes us to export the implicit constructor.
5 struct __declspec(dllexport) Derived : virtual Base {
19 // __declspec(dllexport) causes us to export the implicit copy constructor.
20 struct __declspec(dllexport) Derived2 : virtual Base {
dllexport-members.cpp 44 __declspec(dllexport) void normalDef();
45 __declspec(dllexport) void normalInclass() { referencedNonExportedInClass(); }
46 __declspec(dllexport) void normalInlineDef();
47 __declspec(dllexport) inline void normalInlineDecl();
66 __declspec(dllexport) virtual void virtualDef();
67 __declspec(dllexport) virtual void virtualInclass() {}
68 __declspec(dllexport) virtual void virtualInlineDef();
69 __declspec(dllexport) virtual inline void virtualInlineDecl();
79 __declspec(dllexport) static void staticDef();
80 __declspec(dllexport) static void staticInclass() {
    [all...]
dllimport-rtti.cpp 4 struct __declspec(dllimport) S {
  /external/compiler-rt/test/asan/TestCases/Windows/
dll_and_lib.cc 10 extern "C" __declspec(dllexport) int f1() {
15 extern "C" __declspec(dllexport) int f2() {
  /external/clang/test/Rewriter/
missing-dllimport.c 7 __declspec(dllimport) int __cdecl foo(void);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
polarity.h 11 #define POLARITY __declspec(dllexport)
13 #define POLARITY __declspec(dllimport)
  /external/clang/test/Layout/
ms-x86-empty-layout.c 29 long long __declspec(align(2)) FlexArrayMemb[0];
41 long long __declspec(align(8)) FlexArrayMemb[0];
53 struct __declspec(align(4)) EmptyPackedAligned4LongLongMemb {
68 long long __declspec(align(8)) FlexArrayMemb[0];

Completed in 1420 milliseconds

1 2 3 4 5 6 7 8 91011>>