/external/clang/test/CXX/basic/basic.link/ |
p9.cpp | 6 // First bullet: two names with external linkage that refer to
|
p6.cpp | 8 // have linkage. If there is a visible declaration of an entity 9 // with linkage having the same name and type, ignoring entities 12 // receives the linkage of the previous declaration.
|
/external/clang/test/CodeGen/ |
2010-02-15-DbgStaticVar.c | 2 // Test to check intentionally empty linkage name for a static variable.
|
linkage-redecl.c | 18 extern void f(int x) { } // still has internal linkage
|
/external/clang/test/CodeGenObjC/ |
debug-info-linkagename.m | 3 // Linkage name should not use 001 prefix in debug info.
|
undefined-protocol2.m | 4 // by a definition in another TU, so external is the correct linkage
|
/external/clang/test/PCH/ |
undefined-internal.c | 13 // expected-warning@5{{function 'f' has internal linkage but is not defined}}
|
/external/clang/test/SemaCXX/ |
linkage-invalid-decl.cpp | 3 // This invalid declaration used to call infinite recursion in linkage
|
anonymous-struct.cpp | 27 typedef struct { // expected-note {{use a tag name here to establish linkage prior to definition}} 38 } A; // expected-error {{unsupported: typedef changes linkage of anonymous type, but linkage was already computed}}
|
extern-c.cpp | 15 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...] |
linkage2.cpp | 11 extern int x; // expected-error {{declaration of 'x' has a different language linkage}} 12 extern int y; // OK, has internal linkage, so no language linkage. 13 void f(); // expected-error {{declaration of 'f' has a different language linkage}} 17 // This is OK. Both test2_f don't have language linkage since they have 18 // internal linkage. 79 // This is OK. The variables have internal linkage and therefore no language 80 // linkage. 96 // FIXME: This should be invalid. The function has no language linkage, but 116 void __attribute__((overloadable)) test9_f(int c); // expected-error {{declaration of 'test9_f' has a different language linkage}} [all...] |
/external/llvm/test/Transforms/GlobalOpt/ |
2010-10-19-WeakOdr.ll | 3 ; PR8389: Globals with weak_odr linkage type must not be modified
|
/external/swiftshader/third_party/LLVM/test/Linker/ |
ConstantGlobals3.ll | 1 ; Test that appending linkage works correctly when arrays are the same size.
|
/external/swiftshader/third_party/LLVM/test/Transforms/GlobalOpt/ |
2010-10-19-WeakOdr.ll | 3 ; PR8389: Globals with weak_odr linkage type must not be modified
|
/external/clang/test/Sema/ |
warn-extern-main.c | 12 int main; // expected-warning{{variable named 'main' with external linkage has undefined behavior}} 15 extern int main; // expected-warning{{variable named 'main' with external linkage has undefined behavior}} 25 extern int main; // expected-warning{{variable named 'main' with external linkage has undefined behavior}}
|
/external/v8/src/compiler/ |
js-frame-specialization.cc | 8 #include "src/compiler/linkage.h" 37 if (index == Linkage::kOsrContextSpillSlotIndex) { 62 if (index == Linkage::kJSCallClosureParamIndex) { 65 } else if (index == Linkage::GetJSCallArgCountParamIndex(parameters_count)) { 68 } else if (index == Linkage::GetJSCallContextParamIndex(parameters_count)) {
|
/external/clang/docs/ |
LTOVisibility.rst | 6 referenced from outside the current LTO unit. A *linkage unit* is a set of 7 translation units linked together into an executable or DSO, and a linkage 8 unit's *LTO unit* is the subset of the linkage unit that is linked together 10 linkage unit's LTO unit is empty. Each linkage unit has only a single LTO unit. 19 ODR violation to define a class with hidden LTO visibility in multiple linkage 20 units. A class with public LTO visibility may be defined in multiple linkage 33 other classes receive hidden LTO visibility. Classes with internal linkage 38 LTO visibility regardless of its object file visibility, linkage or other 44 1. As a corollary of the above rules, if a linkage unit is produced from [all...] |
/external/swiftshader/third_party/subzero/src/ |
IceGlobalInits.h | 47 // conventions and linkage types. 75 return Linkage == llvm::GlobalValue::InternalLinkage; 77 llvm::GlobalValue::LinkageTypes getLinkage() const { return Linkage; } 80 Linkage = L; 83 return Linkage == llvm::GlobalValue::ExternalLinkage; 96 /// Returns textual name of linkage. 107 llvm::GlobalValue::LinkageTypes Linkage) 108 : Kind(Kind), Linkage(Linkage) {} 110 /// Returns true if linkage is defined correctly for the global declaration [all...] |
/external/clang/include/clang/Basic/ |
Visibility.h | 18 #include "clang/Basic/Linkage.h" 60 LinkageInfo(Linkage L, Visibility V, bool E) 79 Linkage getLinkage() const { return (Linkage)linkage_; } 83 void setLinkage(Linkage L) { linkage_ = L; } 85 void mergeLinkage(Linkage L) { 92 void mergeExternalVisibility(Linkage L) { 93 Linkage ThisL = getLinkage(); 127 /// Merge both linkage and visibility. 133 /// Merge linkage and conditionally merge visibility [all...] |
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/Basic/ |
Visibility.h | 18 #include "clang/Basic/Linkage.h" 60 LinkageInfo(Linkage L, Visibility V, bool E) 79 Linkage getLinkage() const { return (Linkage)linkage_; } 83 void setLinkage(Linkage L) { linkage_ = L; } 85 void mergeLinkage(Linkage L) { 92 void mergeExternalVisibility(Linkage L) { 93 Linkage ThisL = getLinkage(); 127 /// Merge both linkage and visibility. 133 /// Merge linkage and conditionally merge visibility [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/Basic/ |
Visibility.h | 18 #include "clang/Basic/Linkage.h" 60 LinkageInfo(Linkage L, Visibility V, bool E) 79 Linkage getLinkage() const { return (Linkage)linkage_; } 83 void setLinkage(Linkage L) { linkage_ = L; } 85 void mergeLinkage(Linkage L) { 92 void mergeExternalVisibility(Linkage L) { 93 Linkage ThisL = getLinkage(); 127 /// Merge both linkage and visibility. 133 /// Merge linkage and conditionally merge visibility [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/clang/include/clang/Basic/ |
Visibility.h | 18 #include "clang/Basic/Linkage.h" 60 LinkageInfo(Linkage L, Visibility V, bool E) 79 Linkage getLinkage() const { return (Linkage)linkage_; } 83 void setLinkage(Linkage L) { linkage_ = L; } 85 void mergeLinkage(Linkage L) { 92 void mergeExternalVisibility(Linkage L) { 93 Linkage ThisL = getLinkage(); 127 /// Merge both linkage and visibility. 133 /// Merge linkage and conditionally merge visibility [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Basic/ |
Visibility.h | 18 #include "clang/Basic/Linkage.h" 60 LinkageInfo(Linkage L, Visibility V, bool E) 79 Linkage getLinkage() const { return (Linkage)linkage_; } 83 void setLinkage(Linkage L) { linkage_ = L; } 85 void mergeLinkage(Linkage L) { 92 void mergeExternalVisibility(Linkage L) { 93 Linkage ThisL = getLinkage(); 127 /// Merge both linkage and visibility. 133 /// Merge linkage and conditionally merge visibility [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/clang/include/clang/Basic/ |
Visibility.h | 18 #include "clang/Basic/Linkage.h" 60 LinkageInfo(Linkage L, Visibility V, bool E) 79 Linkage getLinkage() const { return (Linkage)linkage_; } 83 void setLinkage(Linkage L) { linkage_ = L; } 85 void mergeLinkage(Linkage L) { 92 void mergeExternalVisibility(Linkage L) { 93 Linkage ThisL = getLinkage(); 127 /// Merge both linkage and visibility. 133 /// Merge linkage and conditionally merge visibility [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/clang/include/clang/Basic/ |
Visibility.h | 18 #include "clang/Basic/Linkage.h" 60 LinkageInfo(Linkage L, Visibility V, bool E) 79 Linkage getLinkage() const { return (Linkage)linkage_; } 83 void setLinkage(Linkage L) { linkage_ = L; } 85 void mergeLinkage(Linkage L) { 92 void mergeExternalVisibility(Linkage L) { 93 Linkage ThisL = getLinkage(); 127 /// Merge both linkage and visibility. 133 /// Merge linkage and conditionally merge visibility [all...] |