diff options
author | Nikita Popov <npopov@redhat.com> | 2023-01-09 11:58:06 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-01-09 11:58:06 +0100 |
commit | b24909c4c7e7c6ea47def893b061c9bc65caba15 (patch) | |
tree | 65c79a8ee55bcccde4376e05228557ac363a0ffa /clang/lib/Basic/Module.cpp | |
parent | e6375ca6dc5ba263ad3d9b6d779c5cf5b0f2e9ba (diff) | |
download | llvm-b24909c4c7e7c6ea47def893b061c9bc65caba15.zip llvm-b24909c4c7e7c6ea47def893b061c9bc65caba15.tar.gz llvm-b24909c4c7e7c6ea47def893b061c9bc65caba15.tar.bz2 |
[Attributes] Avoid repeated attribute set lookup (NFC)
Perform the hasAttribute() check on the AttributeSet we need to
fetch anyway, rather than going through hasAttributeAtIndex().
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions