/external/clang/test/Index/ |
linkage.c | 1 // RUN: c-index-test -test-print-linkage-source %s | FileCheck %s 14 // CHECK: EnumDecl=Baz:3:6 (Definition)linkage=External 15 // CHECK: EnumConstantDecl=Qux:3:12 (Definition)linkage=External 16 // CHECK: VarDecl=x:4:5linkage=External 17 // CHECK: FunctionDecl=foo:5:6linkage=External 18 // CHECK: VarDecl=w:6:12linkage=Internal 19 // CHECK: FunctionDecl=bar:7:6 (Definition)linkage=External 20 // CHECK: ParmDecl=y:7:14 (Definition)linkage=NoLinkage 21 // CHECK: VarDecl=z:8:14 (Definition)linkage=NoLinkage 22 // CHECK: VarDecl=k:9:7 (Definition)linkage=NoLinkag [all...] |
/external/llvm/include/llvm/ |
GlobalValue.h | 31 /// @brief An enumeration for the kinds of linkage for global values. 48 ExternalWeakLinkage,///< ExternalWeak linkage description. 61 LinkageTypes linkage, const Twine &Name) 63 Linkage(linkage), Visibility(DefaultVisibility), Alignment(0), 70 // Linkage and Visibility from turning into negative values. 71 LinkageTypes Linkage : 5; // The linkage of this global 120 static bool isExternalLinkage(LinkageTypes Linkage) { 121 return Linkage == ExternalLinkage [all...] |
/external/clang/include/clang/Basic/ |
Linkage.h | 1 //===--- Linkage.h - Linkage enumeration and utilities ----------*- C++ -*-===// 10 // This file defines the Linkage enumeration and various utility 19 /// \brief Describes the different kinds of linkage 21 enum Linkage { 22 /// \brief No linkage, which means that the entity is unique and 26 /// \brief Internal linkage, which indicates that the entity can 31 /// \brief External linkage within a unique namespace. From the 33 /// linkage. However, since they reside in an anonymous namespace, 35 /// equivalent to having internal linkage from the code-generatio [all...] |
/external/clang/test/CodeGenCXX/ |
2003-11-02-WeakLinkage.cpp | 2 // The template should compile to linkonce linkage, not weak linkage.
|
/external/clang/test/SemaCXX/ |
attr-weak.cpp | 3 static int test0 __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}} 4 static void test1() __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}} 10 int test3 __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}} 11 void test4() __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}} 20 static void test6() __attribute__((weak)); // expected-error {{weak declaration cannot have internal linkage}}
|
undefined-internal.cpp | 7 static void foo(); // expected-warning {{function 'test1::foo' has internal linkage but is not defined}} 8 template <class T> static void bar(); // expected-warning {{function 'test1::bar<int>' has internal linkage but is not defined}} 18 void foo(); // expected-warning {{function 'test2::<anonymous namespace>::foo' has internal linkage but is not defined}} 19 extern int var; // expected-warning {{variable 'test2::<anonymous namespace>::var' has internal linkage but is not defined}} 20 template <class T> void bar(); // expected-warning {{function 'test2::<anonymous namespace>::bar<int>' has internal linkage but is not defined}} 52 A(); // expected-warning {{function 'test4::<anonymous namespace>::A::A' has internal linkage but is not defined}} 53 ~A();// expected-warning {{function 'test4::<anonymous namespace>::A::~A' has internal linkage but is not defined}} 54 virtual void foo(); // expected-warning {{function 'test4::<anonymous namespace>::A::foo' has internal linkage but is not defined}} 56 virtual void baz(); // expected-warning {{function 'test4::<anonymous namespace>::A::baz' has internal linkage but is not defined}} 78 static int var; // expected-warning {{variable 'test5::B<test5::<anonymous>::A>::var' has internal linkage but is not defined} [all...] |
/external/clang/test/CodeGen/ |
2010-12-01-CommonGlobal.c | 2 // Don't crash on a common-linkage constant global.
|
linkage-redecl.c | 11 extern void f(int x) { } // still has internal linkage
|
/external/chromium/testing/gmock/test/ |
gmock_link_test.h | 241 // Tests the linkage of the ReturnVoid action. 249 // Tests the linkage of the Return action. 258 // Tests the linkage of the ReturnNull action. 266 // Tests the linkage of the ReturnRef action. 275 // Tests the linkage of the Assign action. 284 // Tests the linkage of the SetArgPointee action. 293 // Tests the linkage of the SetArrayArgument action. 306 // Tests the linkage of the SetErrnoAndReturn action. 318 // Tests the linkage of the Invoke(function) and Invoke(object, method) actions. 330 // Tests the linkage of the InvokeWithoutArgs action [all...] |
/bionic/libc/kernel/arch-x86/asm/ |
semaphore_32.h | 15 #include <linux/linkage.h>
|
/bionic/libc/kernel/common/linux/ |
rwsem.h | 15 #include <linux/linkage.h>
|
/dalvik/tests/087-gc-after-link/ |
info.txt | 1 This test causes a linkage error, which calls dvmFreeClassInnards on
|
/development/ndk/platforms/android-3/include/linux/ |
rwsem.h | 15 #include <linux/linkage.h>
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
semaphore_32.h | 15 #include <linux/linkage.h>
|
/external/clang/test/CXX/basic/basic.link/ |
p9.cpp | 6 // First bullet: two names with external linkage that refer to
|
/external/clang/test/CodeGenObjC/ |
debug-info-linkagename.m | 3 // Linkage name should not use 001 prefix in debug info.
|
/external/kernel-headers/original/linux/ |
mutex-debug.h | 4 #include <linux/linkage.h>
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
rwsem.h | 15 #include <linux/linkage.h>
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
rwsem.h | 15 #include <linux/linkage.h>
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/ |
rwsem.h | 15 #include <linux/linkage.h>
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/asm/ |
semaphore_32.h | 15 #include <linux/linkage.h>
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
rwsem.h | 15 #include <linux/linkage.h>
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/ |
rwsem.h | 15 #include <linux/linkage.h>
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/asm/ |
semaphore_32.h | 15 #include <linux/linkage.h>
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/ |
rwsem.h | 15 #include <linux/linkage.h>
|