Index: src/IceCfg.h |
diff --git a/src/IceCfg.h b/src/IceCfg.h |
index 92a16809787878c0ff82fc75c77211a926f2e21e..b39673bc111b8e90b332814538d589b7f4786550 100644 |
--- a/src/IceCfg.h |
+++ b/src/IceCfg.h |
@@ -50,10 +50,15 @@ public: |
GlobalContext *getContext() const { return Ctx; } |
uint32_t getSequenceNumber() const { return SequenceNumber; } |
+ static constexpr VerboseMask defaultVerboseMask() { |
+ return IceV_All & ~IceV_Status; |
+ } |
/// Returns true if any of the specified options in the verbose mask are set. |
/// If the argument is omitted, it checks if any verbose options at all are |
/// set. |
- bool isVerbose(VerboseMask Mask = IceV_All) const { return VMask & Mask; } |
+ bool isVerbose(VerboseMask Mask = defaultVerboseMask()) const { |
+ return VMask & Mask; |
+ } |
void setVerbose(VerboseMask Mask) { VMask = Mask; } |
/// \name Manage the name and return type of the function being translated. |