[clang] Extract ParsedAttrInfo::hasSpelling method (NFC)
authorAnders Waldenborg <anders@0x63.nu>
Thu, 9 Mar 2023 21:55:38 +0000 (22:55 +0100)
committerAnders Waldenborg <anders@0x63.nu>
Mon, 13 Mar 2023 15:47:51 +0000 (16:47 +0100)
commit446f78092ffa75274866ec40411a1c0dbec2f13d
treef9636abdaf6875f6c894203a83c188d9efdc5eff
parentf5f1813defb5810223de8f916380808a8ed34584
[clang] Extract ParsedAttrInfo::hasSpelling method (NFC)

This intends to simplify this checking when it is done in more places.

No functional change intended.

Differential Revision: https://reviews.llvm.org/D145769
clang/include/clang/Basic/ParsedAttrInfo.h
clang/lib/Sema/ParsedAttr.cpp