diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-07-21 19:28:10 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-07-21 19:28:10 +0000 |
commit | 952c15dd52a004861edea256479ad80de3148263 (patch) | |
tree | e920b3d3cb21c138d1b8fdf5de053ecc9646c496 /clang/lib/Driver/Driver.cpp | |
parent | c9ec735aa8871078ca9d9b53f1131103fc1a41b5 (diff) | |
download | bcm5719-llvm-952c15dd52a004861edea256479ad80de3148263.tar.gz bcm5719-llvm-952c15dd52a004861edea256479ad80de3148263.zip |
Misc fixes for -Wreorder:
1. Make it work correctly with anonymous unions.
2. Don't compute it if the warning isn't enabled.
3. Optimize the algorithm slightly to make it linear time in the
case where we don't produce any warnings.
llvm-svn: 76630
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
0 files changed, 0 insertions, 0 deletions