Minor formatting change in merge so [[noreturn]] is consistently
on same line as function declarations.

* 'noreturn' of https://github.com/MaxKellermann/zeek:
  threading/MsgThread: add [[noreturn]] to InternalError()
  Flare: add [[noreturn]] to bad_pipe_op()
  Obj: add [[noreturn]] attributes to Internal(),  bad_ref()
  Reporter: add [[noreturn]] attribute to several methods
This commit is contained in:
Jon Siwek 2020-02-21 15:29:45 -08:00
commit 3996a54302
6 changed files with 18 additions and 8 deletions

View file

@ -93,7 +93,7 @@ public:
BadTag(text, tag_to_text_func(t1), tag_to_text_func(t2)); \
}
void Internal(const char* msg) const;
[[noreturn]] void Internal(const char* msg) const;
void InternalWarning(const char* msg) const;
virtual void Describe(ODesc* d) const { /* FIXME: Add code */ };
@ -152,7 +152,7 @@ private:
// Prints obj to stderr, primarily for debugging.
extern void print(const BroObj* obj);
extern void bad_ref(int type);
[[noreturn]] extern void bad_ref(int type);
// Sometimes useful when dealing with BroObj subclasses that have their
// own (protected) versions of Error.