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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user