[clang-tidy] Fix failure in 'misc-misplaced-widening-cast' test.
authorDaniel Marjamaki <daniel.marjamaki@evidente.se>
Fri, 12 Feb 2016 09:38:38 +0000 (09:38 +0000)
committerDaniel Marjamaki <daniel.marjamaki@evidente.se>
Fri, 12 Feb 2016 09:38:38 +0000 (09:38 +0000)
commit1fba76a3b936d288980020af62021ee4b3651781
tree3d428de4f174459115efc106be7f10c2a8c096ab
parent057df3d423729606aa5ffc3c6c830ed940716eae
[clang-tidy] Fix failure in 'misc-misplaced-widening-cast' test.

I added portability warnings when int results are casted to long. I forgot to handle uint, ulong and ulonglong.

Tested on x86 and powerpc targets, hope it works now on all buildbots.

llvm-svn: 260667
clang-tools-extra/clang-tidy/misc/MisplacedWideningCastCheck.cpp