aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGVTables.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-04-10 08:36:24 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-04-10 08:36:24 +0000
commitf65076ebf5e8bc5ae7b77fe3c3a65dc5db8d763f (patch)
treef9249bf8d189c3335a127097de19c2e2aa38ea8e /lib/CodeGen/CGVTables.cpp
parent8cf9049185c72dc453ebb946d39420f3f78dec76 (diff)
Enhance the diagnostic for literal float -> int conversions to suggest
rewriting the literal when the value is integral. It is not uncommon to see code written as: const int kBigNumber = 42e5; Without any real awareness that this is no longer an ICE. The note helps automate and ease the process of fixing code that violates the warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129243 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGVTables.cpp')
0 files changed, 0 insertions, 0 deletions