[PATCH] D146089: [Sema] Fix null pointer dereference handleAlwaysInlineAttr.
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 15 05:59:41 PDT 2023
erichkeane added inline comments.
================
Comment at: clang/test/Sema/attr-alwaysinline.cpp:36
+ return x;
+}
+
----------------
Can you add a test that shows that we warn on instantiation? This shouldn't be a dependent declrefexpr when instantiated.
Additionally, this would make sure that we're properly propoagating `always_inline`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146089/new/
https://reviews.llvm.org/D146089
More information about the cfe-commits
mailing list