Skip to content
Snippets Groups Projects
Verified Commit c00aba63 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

C++11 modernization: use [[noreturn]] attribute (instead of GNU extension)

parent 1dceab18
No related branches found
No related tags found
No related merge requests found
...@@ -314,9 +314,9 @@ public: ...@@ -314,9 +314,9 @@ public:
expr_t var_expectation_model_discount {nullptr}; expr_t var_expectation_model_discount {nullptr};
//! Error handler with explicit location //! Error handler with explicit location
void error(const Dynare::parser::location_type& l, const string& m) __attribute__((noreturn)); [[noreturn]] void error(const Dynare::parser::location_type& l, const string& m);
//! Error handler using saved location //! Error handler using saved location
void error(const string& m) __attribute__((noreturn)); [[noreturn]] void error(const string& m);
//! Warning handler using saved location //! Warning handler using saved location
void warning(const string& m); void warning(const string& m);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment