[clang] nonblocking/nonallocating attributes: 2nd pass caller/callee analysis (PR #99656)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 25 20:46:13 PDT 2024
================
@@ -2551,6 +3807,9 @@ void clang::sema::AnalysisBasedWarnings::IssueWarnings(
SourceLocation())) {
CallableVisitor(CallAnalyzers).TraverseTranslationUnitDecl(TU);
}
+
+ if (S.Context.hasAnyFunctionEffects())
----------------
Sirraide wrote:
This does seem like it would be the right time to perform this analysis, yeah.
https://github.com/llvm/llvm-project/pull/99656
More information about the cfe-commits
mailing list