mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-06 08:40:56 +00:00
Bug 1324328 follow-up: Make hasCustomAnnotation's second argument a StringRef
This commit is contained in:
parent
65c49d82e4
commit
880f7fac36
@ -352,7 +352,7 @@ inline const FieldDecl *getBaseRefCntMember(QualType T) {
|
||||
return Clazz ? getBaseRefCntMember(Clazz) : 0;
|
||||
}
|
||||
|
||||
inline bool hasCustomAnnotation(const Decl *D, const char *Spelling) {
|
||||
inline bool hasCustomAnnotation(const Decl *D, StringRef Spelling) {
|
||||
iterator_range<specific_attr_iterator<AnnotateAttr>> Attrs =
|
||||
D->specific_attrs<AnnotateAttr>();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user