diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-12-09 06:47:34 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-12-09 06:47:34 +0000 |
commit | 4ec4089b302d4ab2ec3deac089c7834d27aa39ee (patch) | |
tree | 62a578720e57aac555097873719e5df8f5884a21 /lib/Analysis/FormatString.cpp | |
parent | d4e6e7e4a8c1f64162e14220579abab53e0ca10c (diff) |
Teach isConstantInitializer that numeric literals are constants, rather than
having it evaluate them. No change in functionality, but a speed up of about 5%
on some translation units in SPEC 445.gobmk.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146248 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/FormatString.cpp')
0 files changed, 0 insertions, 0 deletions