Searched refs:getNumArgs (Results 1 - 25 of 107) sorted by relevance

12345

/external/clang/lib/Index/
H A DGlobalSelector.cpp29 for (unsigned i = 0, e = GlobSel.isUnarySelector() ? 1 : GlobSel.getNumArgs();
36 return AST.Selectors.getSelector(GlobSel.getNumArgs(), Ids.data());
56 for (unsigned i = 0, e = Sel.isUnarySelector() ? 1 : Sel.getNumArgs();
63 Selector GlobSel = ProgImpl.getSelectors().getSelector(Sel.getNumArgs(),
H A DASTVisitor.h133 for (unsigned i = 0; i != TL.getNumArgs(); ++i)
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DObjCMessage.h136 unsigned getNumArgs() const { function in class:clang::ento::ObjCMessage
139 return msgE->getNumArgs();
145 assert(i < getNumArgs() && "Invalid index for argument");
154 assert(i < getNumArgs() && "Invalid index for argument");
165 assert(i < getNumArgs() && "Invalid index for argument");
249 unsigned getNumArgs() const { function in class:clang::ento::CallOrObjCMessage
251 return Msg.getNumArgs();
254 return Ctor->getNumArgs();
255 return CallE.get<const CallExpr *>()->getNumArgs();
259 assert(i < getNumArgs());
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DUnixAPIChecker.cpp79 if (CE->getNumArgs() < 2) {
113 if (CE->getNumArgs() < 3) {
139 if (CE->getNumArgs() < 1)
182 if (CE->getNumArgs() != 1)
H A DMacOSXAPIChecker.cpp54 if (CE->getNumArgs() < 1)
H A DCheckSecuritySyntaxOnly.cpp277 if (FPT->getNumArgs() != 1)
311 if (FPT->getNumArgs() != 2)
349 if (FPT->getNumArgs() != 1)
430 int numArgs = FPT->getNumArgs();
464 if (FTP->getNumArgs() == 1) {
474 else if (FTP->getNumArgs() != 0)
509 if (FTP->getNumArgs() != 0)
580 if (FTP->getNumArgs() != (identifierid < 4 ? 1 : 2))
584 for (unsigned i = 0; i < FTP->getNumArgs(); i++)
H A DNoReturnFunctionChecker.cpp124 switch (Sel.getNumArgs()) {
H A DBasicObjCFoundationChecks.cpp264 if (FD->getIdentifier() != II || CE->getNumArgs() != 3)
363 if (CE->getNumArgs() != 1)
579 unsigned variadicArgsBegin = msg.getSelector().getNumArgs();
583 unsigned variadicArgsEnd = msg.getNumArgs() - 1;
/external/clang/lib/Sema/
H A DTargetAttributesSema.cpp32 if (Attr.getNumArgs() != 1) {
77 if (Attr.getNumArgs() != 0) {
92 if (Attr.getNumArgs() != 0) {
127 if (Attr.getNumArgs() != 0) {
156 if (Attr.getNumArgs() != 0) {
205 if (Attr.getNumArgs() != 0) {
H A DSemaChecking.cpp62 if (format_idx < TheCall->getNumArgs()) {
75 unsigned argCount = call->getNumArgs();
129 assert(TheCall->getNumArgs() == 1 &&
287 unsigned ArgNo = TheCall->getNumArgs()-1;
495 if (TheCall->getNumArgs() < NumVals+NumOrders+1) {
497 << 0 << NumVals+NumOrders+1 << TheCall->getNumArgs()
500 } else if (TheCall->getNumArgs() > NumVals+NumOrders+1) {
503 << 0 << NumVals+NumOrders+1 << TheCall->getNumArgs()
653 if (TheCall->getNumArgs() < 1) {
655 << 0 << 1 << TheCall->getNumArgs()
[all...]
H A DSemaDeclAttr.cpp130 return cast<FunctionProtoType>(FnTy)->getNumArgs();
204 if (Attr.getNumArgs() != Num) {
217 if (Attr.getNumArgs() < Num) {
305 for(unsigned Idx = Sidx; Idx < Attr.getNumArgs(); ++Idx) {
481 assert(Size == Attr.getNumArgs());
511 assert(Size == Attr.getNumArgs());
583 assert(Size == Attr.getNumArgs());
614 assert(Size == Attr.getNumArgs());
664 assert(Size == Attr.getNumArgs());
798 if (Attr.getParameterName() && Attr.getNumArgs() >
[all...]
H A DSemaExceptionSpec.cpp143 NewProto->getNumArgs(),
167 NewProto->getNumArgs(),
668 assert(Target->getNumArgs() == Source->getNumArgs() &&
670 for (unsigned i = 0, E = Target->getNumArgs(); i != E; ++i) {
/external/clang/lib/Basic/
H A DIdentifierTable.cpp300 unsigned getNumArgs() const { return ExtraKindOrNumArgs - NUM_EXTRA_KINDS; } function in class:clang::MultiKeywordSelector
307 return keyword_begin()+getNumArgs();
310 assert(i < getNumArgs() && "getIdentifierInfoForSlot(): illegal index");
320 Profile(ID, keyword_begin(), getNumArgs());
325 unsigned Selector::getNumArgs() const {
333 return SI->getNumArgs();
371 if (getNumArgs() == 0)
/external/llvm/utils/TableGen/
H A DCodeGenInstruction.cpp41 NumDefs = OutDI->getNumArgs();
52 for (unsigned i = 0, e = InDI->getNumArgs()+OutDI->getNumArgs(); i != e; ++i){
91 if (unsigned NumArgs = MIOpInfo->getNumArgs())
190 for (unsigned i = 0, e = MIOpInfo->getNumArgs(); i != e; ++i)
495 for (unsigned i = 0, e = Result->getNumArgs(); i != e; ++i) {
518 if (AliasOpNo >= Result->getNumArgs())
537 if (AliasOpNo >= Result->getNumArgs())
558 if (AliasOpNo != Result->getNumArgs())
H A DPseudoLoweringEmitter.cpp30 for (unsigned i = 0, e = Dag->getNumArgs(); i != e; ++i) {
99 if (Insn.Operands.size() != Dag->getNumArgs())
/external/clang/lib/Lex/
H A DMacroInfo.cpp95 getNumArgs() != Other.getNumArgs() ||
H A DMacroArgs.cpp149 assert(Arg < MI->getNumArgs() && "Invalid argument number!");
152 if (PreExpArgTokens.size() < MI->getNumArgs())
153 PreExpArgTokens.resize(MI->getNumArgs());
/external/clang/include/clang/AST/
H A DTemplateBase.h600 return getArgs() + getNumArgs();
605 return getArgs() + getNumArgs();
610 assert(Idx < getNumArgs() && "Template argument out of range");
616 assert(Idx < getNumArgs() && "Template argument out of range");
H A DTypeLoc.h1085 unsigned getNumArgs() const {
1088 return cast<FunctionProtoType>(getTypePtr())->getNumArgs();
1105 for (unsigned i = 0, e = getNumArgs(); i != e; ++i)
1112 return getNumArgs() * sizeof(ParmVarDecl*);
1240 unsigned getNumArgs() const {
1241 return getTypePtr()->getNumArgs();
1281 initializeArgLocs(Context, getNumArgs(), getTypePtr()->getArgs(),
1291 return getNumArgs() * sizeof(TemplateArgumentLocInfo);
1657 unsigned getNumArgs() const {
1658 return getTypePtr()->getNumArgs();
[all...]
H A DExprObjC.h128 /// getNumArgs - Return the number of actual arguments to this call.
129 unsigned getNumArgs() const { return SelName.getNumArgs(); } function in class:clang::ObjCSelectorExpr
554 return reinterpret_cast<SourceLocation*>(getArgs() + getNumArgs());
557 return reinterpret_cast<const SourceLocation*>(getArgs() + getNumArgs());
845 unsigned getNumArgs() const { return NumArgs; } function in class:clang::ObjCMessageExpr
887 getNumArgs()),
898 return Sel.getNumArgs();
/external/clang/lib/AST/
H A DSelectorLocationsKind.cpp25 unsigned NumSelArgs = Sel.getNumArgs();
H A DStmtProfile.cpp493 if (S->getNumArgs() == 1) {
502 if (S->getNumArgs() == 1) {
511 if (S->getNumArgs() == 1) {
532 if (S->getNumArgs() == 1) {
637 UnaryOp = S->getNumArgs() == 1? UO_PreInc
642 UnaryOp = S->getNumArgs() == 1? UO_PreDec
672 for (unsigned I = 0, N = S->getNumArgs(); I != N; ++I)
H A DDeclarationName.cpp95 unsigned LN = LHSSelector.getNumArgs(), RN = RHSSelector.getNumArgs();
140 switch (Sel.getNumArgs()) {
/external/clang/lib/Serialization/
H A DASTCommon.cpp68 unsigned N = Sel.getNumArgs();
/external/clang/include/clang/Lex/
H A DMacroInfo.h191 unsigned getNumArgs() const { return NumArguments; } function in class:clang::MacroInfo

Completed in 371 milliseconds

12345