mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
Generalize my previous fix for -print-options.
Always print options that differ from their implicit default. At least for simple option types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176572 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1090,7 +1090,7 @@ public:
|
||||
|
||||
// Make sure we initialize the value with the default constructor for the
|
||||
// type.
|
||||
opt_storage() : Value(DataType()) {}
|
||||
opt_storage() : Value(DataType()), Default(DataType()) {}
|
||||
|
||||
template<class T>
|
||||
void setValue(const T &V, bool initial = false) {
|
||||
|
||||
Reference in New Issue
Block a user