Home
last modified time | relevance | path

Searched refs:PtrArray (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-sizeof-expression.cpp207 C *PtrArray[10]; in Test5() local
245 sum += sizeof(PtrArray) / sizeof(PtrArray[1]); in Test5()
247 sum += sizeof(A10) / sizeof(PtrArray[0]); in Test5()
249 sum += sizeof(PC) / sizeof(PtrArray[0]); in Test5()
253 sum += sizeof(ArrayC) / sizeof(PtrArray[0]); in Test5()
294 C *PtrArray[10]; in ValidExpressions() local
314 sum += sizeof(PtrArray) / sizeof(PtrArray[0]); in ValidExpressions()
316 sum = sizeof(PtrArray) / sizeof(PtrArray1[0]); in ValidExpressions()
318 sum += sizeof(PtrArray) / sizeof(A[0]); in ValidExpressions()
/external/llvm-project/compiler-rt/lib/xray/tests/unit/
Dsegmented_array_test.cpp314 using PtrArray = Array<int *>; in TEST() typedef
315 PtrArray::AllocatorType Alloc(16384); in TEST()
331 using PtrArray = Array<int *>; in TEST() typedef
332 PtrArray::AllocatorType Alloc(4096); in TEST()
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp300 llvm::GlobalVariable *PtrArray = new llvm::GlobalVariable( in EmitPointerToInitFunc() local
303 PtrArray->setSection(ISA->getSection()); in EmitPointerToInitFunc()
304 addUsedGlobal(PtrArray); in EmitPointerToInitFunc()
308 PtrArray->setComdat(C); in EmitPointerToInitFunc()
/external/llvm-project/clang/lib/CodeGen/
DCGDeclCXX.cpp440 llvm::GlobalVariable *PtrArray = new llvm::GlobalVariable( in EmitPointerToInitFunc() local
443 PtrArray->setSection(ISA->getSection()); in EmitPointerToInitFunc()
444 addUsedGlobal(PtrArray); in EmitPointerToInitFunc()
448 PtrArray->setComdat(C); in EmitPointerToInitFunc()