• Shucai Xiao's avatar
    Exclude param from deadcode elimiation (#910) · 4b86a0aa
    Shucai Xiao authored
    
    
    * always keep parameters
    
    * clang format
    
    * fix tidy error
    
    * clang format
    
    * add more unit tests to have more code coverage
    
    * fixed a bug to ensure get_parameter_names to return ordered parameter names
    
    * clang format
    
    * remove unnecessary print out
    
    * refine a code change
    
    * clang format
    
    * add a unit test to check parameter is not removed by dead code elimination
    
    * clang format
    
    * rename a function name
    Co-authored-by: default avatarChris Austen <causten@users.noreply.github.com>
    4b86a0aa
dead_code_elimination_test.cpp 7.01 KB