diff options
| author | Richard Trieu <rtrieu@google.com> | 2014-04-15 23:47:53 +0000 |
|---|---|---|
| committer | Richard Trieu <rtrieu@google.com> | 2014-04-15 23:47:53 +0000 |
| commit | ab66ae5002625eb25b6fe127fceff403d4bf7654 (patch) | |
| tree | 9bf017a77f8192cbdaf0b25f8b50bb7d6de38449 /lib/CodeGen/CodeGenAction.cpp | |
| parent | 566d966c0941b253b8e4e75db5be3b93791f710e (diff) | |
| download | clang-ab66ae5002625eb25b6fe127fceff403d4bf7654.tar.gz clang-ab66ae5002625eb25b6fe127fceff403d4bf7654.tar.bz2 clang-ab66ae5002625eb25b6fe127fceff403d4bf7654.tar.xz | |
Make -Wabsolute-value C++-aware.
Warn on std::abs() with unsigned argument.
Suggest std::abs as replacement for the C absolute value functions.
Suggest C++ headers if the specific std::abs overload is not found.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206340 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions
