Skip to content
  • Ahmed Charles's avatar
    Fix various issues (or do cleanups) found by enabling certain MSVC warnings. · 32e983e4
    Ahmed Charles authored
    - Use unsigned literals when the desired result is unsigned. This mostly allows unsigned/signed mismatch warnings to be less noisy even if they aren't on by default.
    - Remove misplaced llvm_unreachable.
    - Add static to a declaration of a function on MSVC x86 only.
    - Change some instances of calling a static function through a variable to simply calling that function while removing the unused variable.
    
    llvm-svn: 150364
    32e983e4
Loading