Home
last modified time | relevance | path

Searched refs:static_var (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/clang/test/CXX/temp/temp.spec/temp.explicit/
H A Dp10.cpp9 static T static_var; member
23 T X0<T>::static_var = 1; // expected-error{{cannot initialize}} member in X0<T>
32 extern template int X0<int>::static_var; // expected-error{{follows explicit instantiation definiti…
H A Dp9.cpp13 static T static_var; member
27 T X0<T>::static_var = 1; member in X0<T>
35 return X0<int*>::static_var; in test()
H A Dp9-linkage.cpp13 static T static_var; member
27 T X0<T>::static_var = 0; member in X0<T>
38 return X0<int*>::static_var; in test()
/llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/
H A Dgeneric-to-nvvm-ir.ll10 ; CHECK-DAG: @static_var = {{.*}}addrspace(1) {{.*}} !dbg !{{[0-9]+}}
11 @static_var = externally_initialized global i8 0, align 1, !dbg !4
24 ; CHECK-DAG: addrspacecast (i8 addrspace(1)* @static_var to i8*)
25 %1 = load i8, i8* @static_var, align 1
46 !4 = !DIGlobalVariableExpression(var: !DIGlobalVariable(name: "static_var", scope: !0, file: !1, li…
49 ; CHECK-DAG: [[GVVAR]] = !DIGlobalVariable(name: "static_var", scope: [[CUNODE]],{{.*}} type: [[TYP…
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Posix/
H A Ddlclose-test.cpp92 static int static_var; variable
97 return &static_var; in get_address_of_static_var()
/llvm-project-15.0.7/clang/test/Modules/
H A Dmodule-private.cpp61 static int static_var; member
68 template<> __module_private__ int public_class<int>::static_var = 17; // expected-error{{member spe… member in public_class<int>
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dmemtag-globals.cpp17 static int static_var = 0; in func() local
H A Dhwasan-globals.cpp20 static int static_var = 0; in func() local
H A Dasan-globals.cpp23 static int static_var = 0; in func() local
/llvm-project-15.0.7/lldb/test/API/python_api/frame/get-variables/
H A Dmain.c8 static int static_var = 123; in main() local
/llvm-project-15.0.7/clang/test/SemaCUDA/
H A Ddevice-use-host-var.cu119 static int static_var; in dev_fun() local
120 *out = static_var; in dev_fun()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A DMicrosoftExtensions.cpp211 extern const int static_var; // expected-note {{previous declaration is here}}
212 static const int static_var = 3; // expected-warning {{redeclaring non-static 'static_var' as stati… variable
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/misc/
H A Dunused-parameters.cpp46 static bool static_var = useLambda([] (int a) { return a; }); in __anona59f28040102() variable