summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:56:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:19 +0100
commit2131bf4ebd3bab7bb0b3f3587078e3d51833db18 (patch)
tree8191d6f1519f81c53b1b13b126a1605a57a09fdf /idlc
parent18f40d26ec03dbd23f254c2cfe95e4783fd33449 (diff)
New loplugin:dynexcspec: Add @throws documentation, idlc
Change-Id: I3c269d84906cc49d79d5f32f0dd3f15afd2f588e
Diffstat (limited to 'idlc')
-rw-r--r--idlc/inc/options.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/idlc/inc/options.hxx b/idlc/inc/options.hxx
index 709cfc6b6614..ab910b29af2f 100644
--- a/idlc/inc/options.hxx
+++ b/idlc/inc/options.hxx
@@ -45,8 +45,10 @@ public:
static bool checkArgument(std::vector< std::string > & rArgs, char const * arg, size_t len);
static bool checkCommandFile(std::vector< std::string > & rArgs, char const * filename);
+ /// @throws IllegalArgument
bool initOptions(std::vector< std::string > & rArgs)
throw(IllegalArgument);
+ /// @throws IllegalArgument
static bool badOption(char const * reason, std::string const & rArg)
throw(IllegalArgument);
bool setOption(char const * option, std::string const & rArg);
@@ -61,6 +63,7 @@ public:
const OString& getProgramName() const { return m_program;}
bool isValid(const OString& option);
+ /// @throws IllegalArgument
const OString& getOption(const OString& option)
throw( IllegalArgument );