Add DeclarationAnnotation

This commit is contained in:
Jason Cobb
2019-12-19 21:45:16 -05:00
parent bc71f61467
commit be14d5f28d
3 changed files with 13 additions and 0 deletions
+2
View File
@@ -231,6 +231,8 @@ public:
/// @returns null when it is not accessible as a function.
virtual FunctionTypePointer functionType(bool /*_internal*/) const { return {}; }
DeclarationAnnotation& annotation() const override;
protected:
virtual Visibility defaultVisibility() const { return Visibility::Public; }