[PATCH] D150338: [-Wunsafe-buffer-usage] Improving insertion of the [[clang::unsafe_buffer_usage]] attribute
NAKAMURA Takumi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 14 22:03:18 PDT 2023
chapuni reopened this revision.
chapuni added a comment.
This revision is now accepted and ready to land.
Excuse me, I have reverted this due to circular deps.
`clangAnalysis` should not depend on `clangSema`.
================
Comment at: clang/include/clang/Analysis/Analyses/UnsafeBufferUsage.h:19
#include "clang/AST/Stmt.h"
+#include "clang/Sema/Sema.h"
----------------
This `#include` may be avoided since you declare `class clang::Sema`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150338/new/
https://reviews.llvm.org/D150338
More information about the cfe-commits
mailing list