[all-commits] [llvm/llvm-project] 9d6a61: [analyzer] Prevent misuses of -analyze-function
Balazs Benics via All-commits
all-commits at lists.llvm.org
Wed Feb 2 02:31:58 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9d6a6159730171bc0faf78d7f109d6543f4c93c2
https://github.com/llvm/llvm-project/commit/9d6a6159730171bc0faf78d7f109d6543f4c93c2
Author: Balazs Benics <balazs.benics at sigmatechnology.se>
Date: 2022-02-02 (Wed, 02 Feb 2022)
Changed paths:
M clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
A clang/test/Analysis/analyze-function-guide.cpp
Log Message:
-----------
[analyzer] Prevent misuses of -analyze-function
Sometimes when I pass the mentioned option I forget about passing the
parameter list for c++ sources.
It would be also useful newcomers to learn about this.
This patch introduces some logic checking common misuses involving
`-analyze-function`.
Reviewed-By: martong
Differential Revision: https://reviews.llvm.org/D118690
More information about the All-commits
mailing list