Step 43 TDD test: Memory strategy code generation
Tests canonical annotation classes (DeallocateAnnotation, LifetimeAnnotation, ReclaimAnnotation, OwnerAnnotation, AllocateAnnotation) exist and inherit from Annotation. Tests C++ generation: @Deallocate(Explicit)->raw pointers, @Lifetime(RAII)->unique_ptr, @Reclaim(Tracing)->shared_ptr, @Owner(Shared_ARC)->shared_ptr. Verifies old DerefStrategy backward compat. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -142,6 +142,9 @@ target_include_directories(step41_test PRIVATE src)
|
||||
add_executable(step42_test tests/step42_test.cpp)
|
||||
target_include_directories(step42_test PRIVATE src)
|
||||
|
||||
add_executable(step43_test tests/step43_test.cpp)
|
||||
target_include_directories(step43_test PRIVATE src)
|
||||
|
||||
add_executable(whetstone_editor src/main.cpp)
|
||||
target_include_directories(whetstone_editor PRIVATE src)
|
||||
# find_package(SDL2 REQUIRED) # Commented out for now to avoid build issues
|
||||
|
||||
Reference in New Issue
Block a user