diff options
author | Ahmed Charles <ace2001ac@gmail.com> | 2012-02-13 06:30:56 +0000 |
---|---|---|
committer | Ahmed Charles <ace2001ac@gmail.com> | 2012-02-13 06:30:56 +0000 |
commit | b83a67e1e3fe210bd99a82eccd3dc5b1b44f1503 (patch) | |
tree | a8eb88c098f90f4406774107d82dac131287200e /lib/CodeGen/MachineModuleInfoImpls.cpp | |
parent | 4eaca023dce4f204f937526c803c3430cf541a1b (diff) |
Fix various issues (or do cleanups) found by enabling certain MSVC warnings.
- 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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150364 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineModuleInfoImpls.cpp')
0 files changed, 0 insertions, 0 deletions