Skip to content
Commit 96b329c4 authored by Ted Kremenek's avatar Ted Kremenek
Browse files

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.

llvm-svn: 119045
parent fee455fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment