Index: src/IceClFlags.h |
diff --git a/src/IceClFlags.h b/src/IceClFlags.h |
index bf51999d2f1be23ea4def3fbc05f8d6a0ccd4bef..0a2fc56dbe0bb15c77b094547d0f013ae1cc8269 100644 |
--- a/src/IceClFlags.h |
+++ b/src/IceClFlags.h |
@@ -74,6 +74,9 @@ public: |
/// User defined constructor. |
ClFlags() { resetClFlags(); } |
+ /// The command line flags. |
+ static ClFlags Flags; |
+ |
/// \brief Parse commmand line options for Subzero. |
/// |
/// This is done use cl::ParseCommandLineOptions() and the static variables of |
@@ -155,6 +158,8 @@ private: |
bool GenerateUnitTestMessages; |
}; |
+inline const ClFlags &getFlags() { return ClFlags::Flags; } |
+ |
} // end of namespace Ice |
#endif // SUBZERO_SRC_ICECLFLAGS_H |