| /llvm-project-15.0.7/clang/test/CXX/module/module.interface/ |
| H A D | p3.cpp | 3 export module p3; 12 export { // expected-note 3{{export block begins here}} 19 export struct {} struct_; 21 export union {} union_; 23 export enum {} enum_; 24 export enum E : int; 28 export namespace B = A; 33 export using Int = int; 36 export extern "C++" { extern "C" int extern_c; } 37 export { // expected-note {{export block}} [all …]
|
| H A D | p6.cpp | 5 export module X; 16 export struct Y; 21 export struct Y; // OK 39 export template <typename T> 45 export template <typename U> 52 export void foo(); 71 export template <typename T> 78 export template <typename T> 84 export template <typename T> 103 export class foo; [all …]
|
| H A D | p1.cpp | 8 export int a; // expected-error {{after the module declaration}} 12 export 20 export int b; // #1 22 export int c; // #2 27 export int d1; // expected-error {{export declaration appears within anonymous namespace}} 29 export int d2; // expected-error {{export declaration appears within anonymous namespace}} 33 export export int e; // expected-error {{within another export declaration}} 34 export { export int f; } // expected-error {{within another export declaration}} expected-note {{ex… 37 export int priv; // expected-error {{export declaration cannot be used in a private module fragment…
|
| H A D | p2-2.cpp | 5 export module X; 7 export template <typename T> 17 export template <typename T> X<T>::iterator; // expected-error {{cannot export… 18 export template <typename T> void X<T>::foo(); // expected-error {{cannot export… 19 export template <typename T> template <typename U> U X<T>::bar(); // expected-error {{cannot export… 21 export struct Y { 30 export struct Y::iterator; // expected-error {{cannot export 'iterator' as it is not … 31 export void Y::foo(); // expected-error {{cannot export 'foo' as it is not at na… 32 export template <typename U> U Y::bar(); // expected-error {{cannot export 'bar' as it is not at na… 34 export {
|
| H A D | p2.cpp | 11 export module X; 12 export int x; 15 export module Y; 16 export int y; 19 export module p2; 20 export import X; 25 export int g(); 29 export namespace B { 37 export namespace D {}
|
| /llvm-project-15.0.7/lldb/include/lldb/ |
| H A D | module.modulemap | 8 module * { export * } 58 module * { export * } 61 export * 68 module * { export * } 78 module * { export * } 85 module * { export * } 92 module * { export * } 99 module * { export * } 108 module * { export * } 115 module * { export * } [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/ |
| H A D | module.modulemap | 4 module * { export * } 15 module * { export * } 48 module * { export * } 216 export * 226 export * 244 export * 282 export * 289 export * 370 export * 426 export * [all …]
|
| /llvm-project-15.0.7/clang/include/clang/ |
| H A D | module.modulemap | 7 module * { export * } 25 module * { export * } 75 module * { export * } 83 export * 113 module * { export * } 125 module * { export * } 142 module * { export * } 155 module * { export * } 161 module * { export * } 167 module * { export * } [all …]
|
| /llvm-project-15.0.7/lld/test/COFF/ |
| H A D | export.test | 1 # RUN: yaml2obj %p/Inputs/export.yaml -o %t.obj 3 # RUN: lld-link /out:%t.dll /dll %t.obj /export:exportfn1 /export:exportfn2 7 CHECK1: DLL name: export.test.tmp.dll 13 # RUN: lld-link /out:%t.dll /dll %t.obj /export:exportfn1,@5 /export:exportfn2 17 CHECK2: DLL name: export.test.tmp.dll 28 # RUN: lld-link /out:%t.dll /dll %t.obj /export:exportfn1,@5,noname /export:exportfn2 32 CHECK3: DLL name: export.test.tmp.dll 42 # RUN: lld-link /out:%t.dll /dll %t.obj /export:f1=exportfn1 /export:f2=exportfn2 /implib:%t.lib 70 # RUN: lld-link /out:%t.DLL /dll %t.obj /export:exportfn1 /export:exportfn2 \ 71 # RUN: /export:exportfn1 /export:exportfn2,@5 >& %t.log [all …]
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | module.modulemap.in | 6 export * 22 export * 26 export * 30 export * 36 export * 43 export * 47 export * 51 export * 57 export * 115 export * [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objdump/MachO/ |
| H A D | bad-trie.test | 2 … malformed object (unsupported exported symbol kind: 3 in flags: 0x13 in export trie data at node:… 5 …acho-trie-bad-export-info-malformed-uleb128': truncated or malformed object (export info size malf… 8 …acho-trie-bad-export-info-malformed-uleb128_too_big': truncated or malformed object (export info s… 11 …INFO_SIZE_TOO_BIG: macho-trie-export-info-size-too-big': truncated or malformed object (export inf… 17 …mport-name-start': truncated or malformed object (import name of re-export in export trie data at … 20 …-import-name-end': truncated or malformed object (import name of re-export in export trie data at … 25 RUN: not llvm-objdump --macho --exports-trie %p/Inputs/macho-trie-not-export-node 2>&1 | FileCheck … 26 NOT_EXPORT_NODE: macho-trie-not-export-node': truncated or malformed object (node is not an export … 29 LOOP_OF_CHILDERN: macho-trie-node-loop': truncated or malformed object (loop in childern in export … 34 RUN: not llvm-objdump --macho --exports-trie %p/Inputs/macho-inconsistant-export 2>&1 | FileCheck -… [all …]
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | merge-concepts-cxx-modules.cpp | 12 export module same_as; 13 export template <class T, class U> 17 export module concepts; 18 export import same_as; 20 export template <class T> 25 export module format; 26 export import concepts; 27 export import same_as; 29 export template <class T> void foo() in foo() 34 export module conflicting; [all …]
|
| H A D | cxx20-import-diagnostics-a.cpp | 42 export module B; 50 export module C; 58 export module AOK1; 61 export import C; 63 export int theAnswer (); 73 export import C; // expected-error {{export declaration can only be used within a module interface … 79 export module BC; 81 export import B; 103 export module D; 109 export module D; [all …]
|
| H A D | cxx20-10-2-ex1.cpp | 11 export int x; 19 export module M1; 20 export namespace {} // expected-error {{declaration does not introduce any names to be exported}} 21 export namespace { 25 export int a2; // expected-error {{export declaration appears within anonymous namespace}} 27 export static int b; // expected-error {{declaration of 'b' with internal linkage cannot be exporte… 28 export int f(); // OK 30 export namespace N {} // namespace N 31 export using namespace N; // expected-error {{ISO C++20 does not permit using directive to be expor…
|
| /llvm-project-15.0.7/clang/test/Modules/Inputs/macro-reexport/ |
| H A D | module.modulemap | 2 module b2 { header "b2.h" export * } 3 module b1 { header "b1.h" export * } 6 module a1 { header "a1.h" export * } 7 module a2 { header "a2.h" export * } 10 module c1 { header "c1.h" export * } 13 module d1 { header "d1.h" export * } 14 module d2 { header "d2.h" export * } 17 module e1 { header "e1.h" export * } 18 module e2 { header "e2.h" export * } 21 module f1 { header "f1.h" export * }
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | module-intializer.cpp | 47 export module N; 49 export struct Quack { 53 export Quack Duck; 77 export module O; 79 export struct Bark { 83 export Bark Dog; 137 export module M; 139 export import O; 142 export struct Baa { 149 export Baa Sheep(10);
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | dllexport.ll | 42 ; CHECK-GNU-NOT: -export:f 43 ; CHECK-GNU: .ascii " -export:g" 44 ; CHECK-GNU: .ascii " -export:h" 45 ; CHECK-GNU-NOT: -export:i 46 ; CHECK-GNU: .ascii " -export:j" 47 ; CHECK-GNU: .ascii " -export:k" 48 ; CHECK-GNU: .ascii " -export:l" 54 ; CHECK-GNU: .ascii " -export:r" 55 ; CHECK-GNU: .ascii " -export:s" 56 ; CHECK-GNU: .ascii " -export:t" [all …]
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | modules-ts.cppm | 10 export module foo; 32 export { 37 export int c; 40 export void f() {} 43 export struct T { 52 export {} // expected-error {{export declaration cannot be empty}} 53 export { // expected-note {{begins here}} 56 export { // expected-note {{begins here}} 77 // Cannot export within another export. This isn't precisely covered by the 81 export { // expected-note {{export block begins here}} [all …]
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | module.modulemap | 21 export * 28 export * 34 export * 40 export * 87 export mmx 93 export sse 98 export sse2 103 export sse3 118 export sse3 132 export aes [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/Windows/ |
| H A D | dllexport.ll | 43 ; CHECK-GNU-NOT: -export:f 44 ; CHECK-GNU: .ascii " -export:g" 45 ; CHECK-GNU: .ascii " -export:h" 46 ; CHECK-GNU-NOT: -export:i 47 ; CHECK-GNU: .ascii " -export:j" 48 ; CHECK-GNU: .ascii " -export:k" 49 ; CHECK-GNU: .ascii " -export:l" 55 ; CHECK-GNU: .ascii " -export:r" 56 ; CHECK-GNU: .ascii " -export:s" 57 ; CHECK-GNU: .ascii " -export:t" [all …]
|
| /llvm-project-15.0.7/clang/test/Modules/Inputs/merge-template-members/ |
| H A D | module.modulemap | 1 module def { header "def.h" export * } 2 module update { header "update.h" export * } 4 module a1 { header "a1.h" export * } 5 module a2 { header "a2.h" export * } 6 module b1 { header "b1.h" export * } 7 module b2 { header "b2.h" export * } 8 module merge { header "merge.h" export * } 9 module c { header "c.h" export * }
|
| /llvm-project-15.0.7/clang/test/Modules/Inputs/cxx-lookup/ |
| H A D | module.modulemap | 1 module A { header "a.h" export * } 2 module B { header "b.h" export * } 4 module C2 { header "c2.h" export * } 5 module C1 { header "c1.h" export * } 7 module X { header "x.h" export * } 8 module Y { header "y.h" export * } 9 module na { header "na.h" export * } 10 module nb { header "nb.h" export * }
|
| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | export-dynamic-symbol.s | 5 ## For an executable, --export-dynamic-symbol exports a symbol if it is non-local and defined. 6 # RUN: ld.lld -pie --export-dynamic-symbol foo --export-dynamic-symbol qux %t.o -o %t 10 # RUN: ld.lld -pie --export-dynamic-symbol-list=%t2.list %t.o -o %t 13 ## --export-dynamic exports all non-local defined symbols. 14 ## --export-dynamic-symbol is shadowed. 15 # RUN: ld.lld -pie --export-dynamic --export-dynamic-symbol foo %t.o -o %t.start 24 ## --export-dynamic-symbol does not imply -u: %t1.a(%t1.o) is not fetched. 28 # RUN: ld.lld --export-dynamic-symbol bar %t1.a %t.o -o %t.nofetch 32 # RUN: ld.lld -shared --export-dynamic-symbol foo %t.o -o %t.noop 34 # RUN: ld.lld -shared --export-dynamic-symbol-list %t2.list %t.o -o %t.noop [all …]
|
| /llvm-project-15.0.7/clang/test/Modules/Inputs/macro-hiding/ |
| H A D | module.modulemap | 2 module a1 { header "a1.h" export * } 3 module a2 { header "a2.h" export * } 6 module b1 { header "b1.h" export * } 7 module b2 { header "b2.h" export * } 10 module c1 { header "c1.h" export * } 13 module d1 { header "d1.h" export * } 16 module e1 { header "e1.h" export * } 17 module e2 { header "e2.h" export * }
|
| /llvm-project-15.0.7/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/c++/v1/ |
| H A D | module.modulemap | 2 module math { header "math.h" export * } 3 module stdlib { header "stdlib.h" export * } 4 module stddef { header "stddef.h" export * } 5 module stdio { textual header "stdio.h" export * } 8 module stdint { textual header "stdint.h" export * } 9 module type_traits { header "type_traits" export * } 10 module cstddef { header "cstddef" export * } 11 module __config { header "__config" export * }
|