Searched defs:linkage (Results 1 - 4 of 4) sorted by relevance

/external/clang/test/SemaCXX/
H A Dextern-c.cpp15 extern int test2_x; // expected-note {{declared with C language linkage here}}
19 float test2_x; // expected-error {{declaration of 'test2_x' in global scope conflicts with declaration with C language linkage}}
35 extern int test4_b; // expected-note {{declared with C language linkage here}}
39 static float test4_b; // expected-error {{declaration of 'test4_b' in global scope conflicts with declaration with C language linkage}}
51 extern int test5_b; // expected-note {{declared with C language linkage here}}
56 static float test5_b; // expected-error {{declaration of 'test5_b' in global scope conflicts with declaration with C language linkage}}
80 namespace linkage { namespace
96 void linkage_from_outer_1(); // expected-error {{different language linkage}}
97 void linkage_from_outer_2(); // expected-error {{different language linkage}}
130 int lookup_in_global_g; // expected-error {{conflicts with declaration with C language linkage}}
[all...]
/external/llvm/examples/ExceptionDemo/
H A DExceptionDemo.cpp209 /// @param linkage function linkage
218 llvm::GlobalValue::LinkageTypes linkage,
224 llvm::Function::Create(functType, linkage, functName, &module);
213 createFunction(llvm::Module &module, llvm::Type *retType, const ArgTypes &theArgTypes, const ArgNames &theArgNames, const std::string &functName, llvm::GlobalValue::LinkageTypes linkage, bool declarationOnly, bool isVarArg) argument
/external/llvm/bindings/ocaml/llvm/
H A Dllvm.mli76 (** The linkage of a global value, accessed with {!linkage} and
115 internal linkage. *)
1213 (** [linkage g] returns the linkage of the global value [g].
1215 val linkage : llvalue -> Linkage.t var
1217 (** [set_linkage l g] sets the linkage of the global value [g] to [l].
/external/clang/tools/c-index-test/
H A Dc-index-test.c1189 const char *linkage = 0; local
1196 case CXLinkage_NoLinkage: linkage = "NoLinkage"; break;
1197 case CXLinkage_Internal: linkage = "Internal"; break;
1198 case CXLinkage_UniqueExternal: linkage = "UniqueExternal"; break;
1199 case CXLinkage_External: linkage = "External"; break;
1202 if (linkage) {
1204 printf("linkage=%s\n", linkage);
3987 " c-index-test -test-print-linkage-source {<args>}*\n"
4072 else if (argc > 2 && strcmp(argv[1], "-test-print-linkage
[all...]

Completed in 189 milliseconds