Merge remote-tracking branch 'origin/master' into topic/johanna/table-changes

This commit is contained in:
Johanna Amann 2020-07-13 17:11:55 -07:00
commit 7c37226eaa
39 changed files with 714 additions and 251 deletions

View file

@ -3,6 +3,7 @@
#pragma once
#include <vector>
#include <string>
#include "Obj.h"
#include "BroList.h"
@ -75,6 +76,12 @@ public:
void Describe(ODesc* d) const override;
void DescribeReST(ODesc* d, bool shorten = false) const;
/**
* Returns the deprecation string associated with a &deprecated attribute
* or an empty string if this is not such an attribute.
*/
std::string DeprecationMessage() const;
bool operator==(const Attr& other) const
{
if ( tag != other.tag )