Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITCAPITest.cpp342 auto *functionPointer = reinterpret_cast<int (*)()>( in TEST_F() local
345 EXPECT_EQ(42, functionPointer()); in TEST_F()
389 auto *functionPointer = reinterpret_cast<int (*)()>( in TEST_F() local
392 EXPECT_EQ(42, functionPointer()); in TEST_F()
409 auto *functionPointer = reinterpret_cast<int (*)()>( in TEST_F() local
412 EXPECT_EQ(42, functionPointer()); in TEST_F()
471 auto *functionPointer = reinterpret_cast<int (*)()>( in TEST_F() local
474 EXPECT_EQ(42, functionPointer()); in TEST_F()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Davoid-non-const-global-variables.cpp219 typedef int (*functionPointer)(); typedef
220 functionPointer fp1 = &dummyFunction;
224 functionPointer fp2 = &dummyFunction;
/llvm-project-15.0.7/clang/test/Sema/
H A Dattr-swiftcall.c19 void (*functionPointer)(void) SWIFTCALL; variable
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dattr-swiftcall.cpp16 void (*functionPointer)(void) SWIFTCALL; variable
/llvm-project-15.0.7/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; }