• Shucai Xiao's avatar
    Convert value to json (#592) · a5648d9c
    Shucai Xiao authored
    
    
    * Add initial serialization
    
    * Formatting
    
    * Add unit tests
    
    * Formatting
    
    * Add tests for serialization
    
    * Formatting
    
    * Use or not and
    
    * Add value test
    
    * Formatting
    
    * Add more tests
    
    * Add shape serialization
    
    * Formatting
    
    * Add serializtion for literal and argument
    
    * Formatting
    
    * Serialize empty types
    
    * Formatting
    
    * Tidy fixes
    
    * Formatting
    
    * Fix tidy issues
    
    * Formatting
    
    * Reformat value type macro
    
    * Formatting
    
    * Handle enum types
    
    * Formatting
    
    * Add float_equal
    
    * Fix tidy issue
    
    * Use declval for better sfinae
    
    * Formatting
    
    * backup code change
    
    * Fix maro name
    
    * Add more test cases to improve coverage
    
    * Formatting
    
    * Add more tests
    
    * Formatting
    
    * Fix assertion
    
    * code backup
    
    * clang format
    
    * Fix bug with keyless assignment
    
    * Formatting
    
    * add implementation of converting json to migraphx::value
    
    * clang format
    
    * code backup
    
    * clang format
    
    * code backup
    
    * clang format
    
    * code backup
    
    * code refactor
    
    * add unit tests
    
    * separate json conversion from serialization
    
    * clang format
    
    * add the missing files
    
    * refine code
    
    * clang format
    
    * fix cppcheck error
    
    * clang format
    
    * fix review comments
    
    * clang format
    
    * code backup
    
    * fix cppcheck error
    
    * refine an implementation
    
    * clang format
    
    * fix review comments
    
    * clang format
    
    * fix review comments and add more unit tests
    
    * clang format
    
    * code backup to try
    
    * fix review comments and add more unit tests
    
    * clang format
    
    * some refinement
    
    * clang format
    
    * fix review comments
    
    * remove unnecessary code
    
    * add assignment of null
    Co-authored-by: default avatarPaul <pfultz2@yahoo.com>
    Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
    a5648d9c
value.cpp 13.4 KB