diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-05-11 15:06:20 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-05-11 15:06:20 +0000 |
commit | 958647c36decf8670f8dbfa27de4ffe48ea9f38e (patch) | |
tree | fb30d2502c3b36b9bc306e164c457003782c85af /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 062bf473c142e4f2000177acded090a7c5e2eab0 (diff) | |
download | llvm-958647c36decf8670f8dbfa27de4ffe48ea9f38e.zip llvm-958647c36decf8670f8dbfa27de4ffe48ea9f38e.tar.gz llvm-958647c36decf8670f8dbfa27de4ffe48ea9f38e.tar.bz2 |
DebugInfo: Simplify constant value emission.
This code looks to have become dead at some time in the past. I tried to
reproduce cases where LLVM would emit constants with dataN, but could
not. Upon inspection it seems the code doesn't do that anymore - the
only time a size is provided by isTypeSigned is when the type is signed,
and in those cases we use sdata. dataN is only used for unsigned types
and isTypeSigned doesn't provide a value for sizeInBits in that case.
Remove the dead cases/size plumbing.
llvm-svn: 208494
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions