11#include "llvm/ADT/BitVector.h"
18 llvm::BitVector NonNullArgs;
23 NonNullArgs.resize(Args.size());
26 if (!
Attr->args_size()) {
30 for (
auto Idx :
Attr->args()) {
31 unsigned ASTIdx = Idx.getASTIndex();
32 if (ASTIdx >= Args.size())
34 NonNullArgs[ASTIdx] =
true;
Attr - This represents one attribute.
llvm::iterator_range< specific_attr_iterator< T > > specific_attrs() const
Represents a function declaration or definition.
llvm::BitVector collectNonNullArgs(const FunctionDecl *F, const llvm::ArrayRef< const Expr * > &Args)
The JSON file list parser is used to communicate input to InstallAPI.