[PATCH] D144404: [clang] Extract function for generated part of clang::hasAttribute (NFC)
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 28 14:37:10 PST 2023
erichkeane added inline comments.
================
Comment at: clang/lib/Basic/Attributes.cpp:39
-#include "clang/Basic/AttrHasAttributeImpl.inc"
+ int res = hasAttributeImpl(Syntax, Name, ScopeName, Target, LangOpts);
+ if (res)
----------------
Why is this not just return `hasAttributeImpl(...)`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144404/new/
https://reviews.llvm.org/D144404
More information about the cfe-commits
mailing list