aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-01-09 11:58:06 +0100
committerNikita Popov <npopov@redhat.com>2023-01-09 11:58:06 +0100
commitb24909c4c7e7c6ea47def893b061c9bc65caba15 (patch)
tree65c79a8ee55bcccde4376e05228557ac363a0ffa /clang/lib/Basic/Module.cpp
parente6375ca6dc5ba263ad3d9b6d779c5cf5b0f2e9ba (diff)
downloadllvm-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