Bug 1324328 follow-up: Make hasCustomAnnotation's second argument a StringRef

This commit is contained in:
Ehsan Akhgari 2016-12-28 21:20:43 -05:00
Родитель 65c49d82e4
Коммит 880f7fac36
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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>();