Step 67 TDD test: Optimization annotations

Tests HotColdAnnotation, InlineAnnotation, PureAnnotation, ConstExprAnnotation
classes exist. Tests C++ generation: @Hot->__attribute__((hot)),
@Cold->__attribute__((cold)), @Inline(Always)->always_inline,
@Pure->[[nodiscard]], @ConstExpr->constexpr.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Bill
2026-02-07 08:30:09 -07:00
parent 1a1416472b
commit 89778c4b02
2 changed files with 206 additions and 0 deletions

View File

@@ -190,6 +190,9 @@ target_include_directories(step65_test PRIVATE src)
add_executable(step66_test tests/step66_test.cpp)
target_include_directories(step66_test PRIVATE src)
add_executable(step67_test tests/step67_test.cpp)
target_include_directories(step67_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