Add protection from min/max macros

llvm-svn: 145407
GitOrigin-RevId: ab4f438239424dd39b83338ab0b4faa41245e506
24 files changed