Home
last modified time | relevance | path

Searched refs:functionPointer (Results 1 – 5 of 5) sorted by relevance

/llvm-project/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITCAPITest.cpp330 auto *functionPointer = reinterpret_cast<int (*)()>( in TEST_F() local
333 EXPECT_EQ(42, functionPointer()); in TEST_F()
377 auto *functionPointer = reinterpret_cast<int (*)()>( in TEST_F() local
380 EXPECT_EQ(42, functionPointer()); in TEST_F()
397 auto *functionPointer = reinterpret_cast<int (*)()>( in TEST_F() local
400 EXPECT_EQ(42, functionPointer()); in TEST_F()
459 auto *functionPointer = reinterpret_cast<int (*)()>( in TEST_F() local
462 EXPECT_EQ(42, functionPointer()); in TEST_F()
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Davoid-non-const-global-variables.cpp231 typedef int (*functionPointer)(); typedef
232 functionPointer fp1 = &dummyFunction;
236 functionPointer fp2 = &dummyFunction;
/llvm-project/clang/test/Sema/
H A Dattr-swiftcall.c19 void (*functionPointer)(void) SWIFTCALL; variable
/llvm-project/clang/test/SemaCXX/
H A Dattr-swiftcall.cpp16 void (*functionPointer)(void) SWIFTCALL; variable
/llvm-project/clang/docs/
H A DBlockLanguageSpec.rst131 pointerToFunctionThatReturnsIntWithCharArg functionPointer;
132 ^ pointerToFunctionThatReturnsIntWithCharArg (float x) { return functionPointer; }
138 ^ int ((*)(float x))(char) { return functionPointer; }
144 ^(float x) { return functionPointer; }