summaryrefslogtreecommitdiff
path: root/lib/ubsan/ubsan_handlers.cc
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-04-27 20:48:17 +0000
committerVedant Kumar <vsk@apple.com>2017-04-27 20:48:17 +0000
commit33780624aebb9e414150ca504b734742552e6f7a (patch)
tree5e5d9ab877d1de5a664b9c6d411d2a726b399c87 /lib/ubsan/ubsan_handlers.cc
parent57470fcc23ff27e2dbbcc2a04254a3879977d9ce (diff)
[ubsan] Make the cast overflow message less redundant
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@301589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ubsan/ubsan_handlers.cc')
-rw-r--r--lib/ubsan/ubsan_handlers.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ubsan/ubsan_handlers.cc b/lib/ubsan/ubsan_handlers.cc
index 4e025a8dd..de13ab893 100644
--- a/lib/ubsan/ubsan_handlers.cc
+++ b/lib/ubsan/ubsan_handlers.cc
@@ -390,7 +390,7 @@ static void handleFloatCastOverflow(void *DataPtr, ValueHandle From,
ScopedReport R(Opts, Loc, ET);
Diag(Loc, DL_Error,
- "value %0 is outside the range of representable values of type %2")
+ "%0 is outside the range of representable values of type %2")
<< Value(*FromType, From) << *FromType << *ToType;
}