Home
last modified time | relevance | path

Searched refs:stack_int (Results 1 – 3 of 3) sorted by relevance

/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Downing-memory.cpp154 int stack_int = 42; in test_owner_function_calls() local
155 int *unowned_int1 = &stack_int; in test_owner_function_calls()
156 takes_owner(&stack_int); // BAD in test_owner_function_calls()
164 takes_owner_and_more(42, &stack_int, 42.0f); // BAD in test_owner_function_calls()
183 int stack_int = 42; in test_unowned_function_calls() local
184 int *unowned_int1 = &stack_int; in test_unowned_function_calls()
187 takes_pointer(&stack_int); // Ok in test_unowned_function_calls()
368 int stack_int = 42; in test_templates() local
369 int *stack_ptr1 = &stack_int; in test_templates()
374 Owner1.setVal(&stack_int); // Bad since non-owner assignment in test_templates()
/llvm-project/lldb/test/API/macosx/stack-corefile/
H A DTestStackCorefile.py26 stack_int = frame.GetValueForVariablePath("stack_int")
30 self.assertEqual(stack_int.GetValueAsUnsigned(), 5)
57 stack_int = frame.GetValueForVariablePath("stack_int")
66 self.assertEqual(stack_int.GetValueAsUnsigned(), 5)
H A Dmain.c5 int stack_int = 5; in main() local
13 return stack_int; // break here; in main()