summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-11-14 17:04:23 +0000
committerTed Kremenek <kremenek@apple.com>2010-11-14 17:04:23 +0000
commitb9ce6567580e950898b8c2834468178e30805a73 (patch)
treebaa69de71a9a9600fa56fe6a895140b9774d2a63 /lib/CodeGen/CGExprAgg.cpp
parent249c9458e2cc5b671634baefe8517d7598883a20 (diff)
downloadclang-b9ce6567580e950898b8c2834468178e30805a73.tar.gz
clang-b9ce6567580e950898b8c2834468178e30805a73.tar.bz2
clang-b9ce6567580e950898b8c2834468178e30805a73.tar.xz
Clean up initialization of LangOptions object by splitting part of it into a parent class
'LangOptionsBase' that default initializes all flags to 0. Now the ctor of LangOptions only initializes the flags that might be non-zero (significantly simplifying things). This also appeases Valgrind on Mac OS X, which no longer reports that one of the flags may be uninitialized. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119045 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions