Skip to content

Commit

Permalink
Bug 1649967 - Add missing annotation attributes to builds with clang-…
Browse files Browse the repository at this point in the history
…plugin enabled; r=froydnj

Differential Revision: https://phabricator.services.mozilla.com/D81958
  • Loading branch information
june wilde committed Jul 6, 2020
1 parent 6010898 commit 99fcac8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mfbt/Attributes.h
Original file line number Diff line number Diff line change
Expand Up @@ -775,9 +775,9 @@
# define MOZ_IS_REFPTR MOZ_IS_SMARTPTR_TO_REFCOUNTED
# define MOZ_NO_ARITHMETIC_EXPR_IN_ARGUMENT \
__attribute__((annotate("moz_no_arith_expr_in_arg")))
# define MOZ_OWNING_REF
# define MOZ_NON_OWNING_REF
# define MOZ_UNSAFE_REF(reason)
# define MOZ_OWNING_REF __attribute__((annotate("moz_owning_ref")))
# define MOZ_NON_OWNING_REF __attribute__((annotate("moz_non_owning_ref")))
# define MOZ_UNSAFE_REF(reason) __attribute__((annotate("moz_unsafe_ref")))
# define MOZ_NO_ADDREF_RELEASE_ON_RETURN \
__attribute__((annotate("moz_no_addref_release_on_return")))
# define MOZ_MUST_USE_TYPE __attribute__((annotate("moz_must_use_type")))
Expand Down

0 comments on commit 99fcac8

Please sign in to comment.