Home
last modified time | relevance | path

Searched refs:isInvalid (Results 1 – 25 of 160) sorted by relevance

1234567

/external/clang/lib/Sema/
DSemaCoroutine.cpp186 if (Result.isInvalid()) in buildMemberCall()
206 if (Result.isInvalid()) in buildCoawaitCalls()
218 if (R.isInvalid()) return ExprError(); in ActOnCoawaitExpr()
223 if (Awaitable.isInvalid()) in ActOnCoawaitExpr()
234 if (R.isInvalid()) return ExprError(); in BuildCoawaitExpr()
269 if (PromiseRef.isInvalid()) in buildPromiseCall()
284 if (Awaitable.isInvalid()) in ActOnCoyieldExpr()
289 if (Awaitable.isInvalid()) in ActOnCoyieldExpr()
301 if (R.isInvalid()) return ExprError(); in BuildCoyieldExpr()
338 if (R.isInvalid()) return StmtError(); in BuildCoreturnStmt()
[all …]
DTreeTransform.h1775 if (ForEachStmt.isInvalid()) in RebuildObjCForCollectionStmt()
1988 if (Result.isInvalid()) in RebuildUnaryExprOrTypeTrait()
2058 if (BaseResult.isInvalid()) in RebuildMemberExpr()
2164 if (Result.isInvalid() || ResultTy->isDependentType()) in RebuildInitList()
2186 if (Result.isInvalid()) in RebuildDesignatedInitExpr()
2960 if (Result.isInvalid()) in RebuildPackExpansion()
3080 if (E.isInvalid()) in TransformStmt()
3192 if (Parens.isInvalid()) { in TransformInitializer()
3244 if (OutPattern.isInvalid()) in TransformExprs()
3250 if (Out.isInvalid()) in TransformExprs()
[all …]
DSemaStmt.cpp44 if (FE.isInvalid()) in ActOnExprStmt()
49 if (FE.isInvalid()) in ActOnExprStmt()
398 if (LHS.isInvalid()) in ActOnCaseStmt()
421 if (LHS.isInvalid()) in ActOnCaseStmt()
427 if (RHS.isInvalid()) in ActOnCaseStmt()
591 if (CondResult.isInvalid()) in ActOnStartOfSwitchStmt()
649 if (CondResult.isInvalid()) return StmtError(); in ActOnStartOfSwitchStmt()
654 if (CondResult.isInvalid()) return StmtError(); in ActOnStartOfSwitchStmt()
658 if (CondResult.isInvalid()) in ActOnStartOfSwitchStmt()
835 if (ConvLo.isInvalid()) { in ActOnFinishSwitchStmt()
[all …]
DSemaExprCXX.cpp115 if (SS.isInvalid()) in getDestructorName()
405 if (result.isInvalid()) return ExprError(); in BuildCXXTypeId()
426 if (Result.isInvalid()) return ExprError(); in BuildCXXTypeId()
677 if (Res.isInvalid()) in BuildCXXThrow()
1019 bool ListInitialization = LParenLoc.isInvalid(); in BuildCXXTypeConstructExpr()
1069 if (Result.isInvalid() || !ListInitialization) in BuildCXXTypeConstructExpr()
1362 if (result.isInvalid()) return ExprError(); in BuildCXXNew()
1380 if (!ConvertedSize.isInvalid() && in BuildCXXNew()
1443 if (ConvertedSize.isInvalid()) in BuildCXXNew()
1614 if (FullInit.isInvalid()) in BuildCXXNew()
[all …]
DSemaExpr.cpp479 if (MissingNilLoc.isInvalid()) in DiagnoseSentinelCalls()
501 if (result.isInvalid()) return ExprError(); in DefaultFunctionArrayConversion()
622 if (result.isInvalid()) return ExprError(); in DefaultLvalueConversion()
717 if (Res.isInvalid()) in DefaultFunctionArrayLvalueConversion()
720 if (Res.isInvalid()) in DefaultFunctionArrayLvalueConversion()
735 if (Res.isInvalid()) in CallExprUnaryConversions()
739 if (Res.isInvalid()) in CallExprUnaryConversions()
752 if (Res.isInvalid()) in UsualUnaryConversions()
803 if (Res.isInvalid()) in DefaultArgumentPromotion()
829 if (Temp.isInvalid()) in DefaultArgumentPromotion()
[all …]
DSemaCast.cpp138 if (SrcExpr.isInvalid()) in checkNonOverloadPlaceholders()
256 if (Op.SrcExpr.isInvalid()) in BuildCXXNamedCast()
267 if (Op.SrcExpr.isInvalid()) in BuildCXXNamedCast()
279 if (Op.SrcExpr.isInvalid()) in BuildCXXNamedCast()
291 if (Op.SrcExpr.isInvalid()) in BuildCXXNamedCast()
578 if (SrcExpr.isInvalid()) // if conversion failed, don't report another error in CheckDynamicCast()
731 if (SrcExpr.isInvalid()) // if conversion failed, don't report another error in CheckConstCast()
846 if (SrcExpr.isInvalid()) // if conversion failed, don't report another error in CheckReinterpretCast()
855 if (SrcExpr.isInvalid()) // if conversion failed, don't report another error in CheckReinterpretCast()
883 if (SrcExpr.isInvalid()) in CheckStaticCast()
[all …]
DSemaCXXScopeSpec.cpp78 if (!SS.isSet() || SS.isInvalid()) in computeDeclContext()
160 if (!SS.isSet() || SS.isInvalid()) in isDependentScopeSpecifier()
209 if (loc.isInvalid()) loc = SS.getRange().getBegin(); in RequireCompleteDeclContext()
804 if (SS.isInvalid()) in ActOnCXXNestedNameSpecifier()
817 if (SS.isInvalid() || DS.getTypeSpecType() == DeclSpec::TST_error) in ActOnCXXNestedNameSpecifierDecltype()
849 if (SS.isInvalid()) in IsInvalidUnlessNestedName()
868 if (SS.isInvalid()) in ActOnCXXNestedNameSpecifier()
957 if (SS.isEmpty() || SS.isInvalid()) in SaveNestedNameSpecifierAnnotation()
1030 if (SS.isInvalid()) return true; in ActOnCXXEnterDeclaratorScope()
1056 if (SS.isInvalid()) in ActOnCXXExitDeclaratorScope()
[all …]
DSemaPseudoObject.cpp413 if (getExpr.isInvalid()) return ExprError(); in buildRValueOperation()
453 if (opLHS.isInvalid()) return ExprError(); in buildAssignmentOperation()
459 if (result.isInvalid()) return ExprError(); in buildAssignmentOperation()
474 if (result.isInvalid()) return ExprError(); in buildAssignmentOperation()
495 if (result.isInvalid()) return ExprError(); in buildIncDecOperation()
516 if (result.isInvalid()) return ExprError(); in buildIncDecOperation()
522 if (result.isInvalid()) return ExprError(); in buildIncDecOperation()
801 if (!msg.isInvalid() && captureSetValueAsResult) { in buildSet()
823 if (result.isInvalid()) return ExprError(); in buildRValueOperation()
890 if (result.isInvalid()) return ExprError(); in buildAssignmentOperation()
[all …]
/external/clang/lib/Parse/
DParseExpr.cpp149 if (!LHS.isInvalid()) in ParseExpressionWithLeadingExtension()
299 if (TernaryMiddle.isInvalid()) { in ParseRHSOfBinaryExpression()
369 if (RHS.isInvalid()) { in ParseRHSOfBinaryExpression()
392 if (!RHS.isInvalid() && RHSIsInitList) { in ParseRHSOfBinaryExpression()
406 if (RHS.isInvalid()) { in ParseRHSOfBinaryExpression()
419 if (!RHS.isInvalid() && RHSIsInitList) { in ParseRHSOfBinaryExpression()
431 if (!LHS.isInvalid()) { in ParseRHSOfBinaryExpression()
433 if (TernaryMiddle.isInvalid()) { in ParseRHSOfBinaryExpression()
928 if (Ty.isInvalid()) in ParseCastExpression()
964 if (!Res.isInvalid() && !Res.get()) { in ParseCastExpression()
[all …]
DParseStmt.cpp43 } while (!Res.isInvalid() && !Res.get()); in ParseStatement()
109 assert((Attrs.empty() || Res.isInvalid() || Res.isUsable()) && in ParseStatementOrDeclaration()
112 if (Attrs.empty() || Res.isInvalid()) in ParseStatementOrDeclaration()
372 if (!TryConsumeToken(tok::semi) && !Res.isInvalid()) { in ParseStatementOrDeclarationAfterAttributes()
391 if (Expr.isInvalid()) { in ParseExprStatement()
435 if(TryBlock.isInvalid()) in ParseSEHTryBlock()
450 if(Handler.isInvalid()) in ParseSEHTryBlock()
494 if(FilterExpr.isInvalid()) in ParseSEHExceptBlock()
505 if(Block.isInvalid()) in ParseSEHExceptBlock()
528 if(Block.isInvalid()) { in ParseSEHFinallyBlock()
[all …]
DParseDecl.cpp258 if (T.isInvalid()) in ParseAttributeWithTypeArg()
310 if (ArgExpr.isInvalid()) { in ParseAttributeArgsCommon()
974 if (!Changes[Index].KeywordLoc.isInvalid()) { in ParseAvailabilityAttribute()
1285 if (MatchingCType.isInvalid()) { in ParseTypeTagForDatatypeAttribute()
1884 if (AsmLabel.isInvalid()) { in ParseAsmAttributesAfterDeclarator()
1951 if (ThisRes.isInvalid()) { in ParseDeclarationAfterDeclaratorAndAttributes()
2039 if (Init.isInvalid()) { in ParseDeclarationAfterDeclaratorAndAttributes()
2110 if (Init.isInvalid()) { in ParseDeclarationAfterDeclaratorAndAttributes()
2469 if (ArgExpr.isInvalid()) { in ParseAlignmentSpecifier()
2623 if (DS.getSourceRange().isInvalid()) { in ParseDeclarationSpecifiers()
[all …]
DParseExprCXX.cpp1251 if (!Stmt.isInvalid() && !TrailingReturnType.isInvalid()) in ParseLambdaExpressionAfterIntroducer()
1317 if (!Result.isInvalid() && !DeclaratorInfo.isInvalidType()) in ParseCXXCasts()
1369 if (Ty.isInvalid() || RParenLoc.isInvalid()) in ParseCXXTypeid()
1378 if (Result.isInvalid()) in ParseCXXTypeid()
1383 if (RParenLoc.isInvalid()) in ParseCXXTypeid()
1417 if (Ty.isInvalid()) in ParseCXXUuidof()
1428 if (Result.isInvalid()) in ParseCXXUuidof()
1558 if (Expr.isInvalid()) return Expr; in ParseThrowExpression()
1573 if (!Expr.isInvalid()) in ParseCoyieldExpression()
1612 if (Init.isInvalid()) in ParseCXXTypeConstructExpression()
[all …]
DParseObjc.cpp274 if (T.getCloseLocation().isInvalid()) in ParseObjCAtInterfaceDeclaration()
283 assert(LAngleLoc.isInvalid() && "Cannot have already parsed protocols"); in ParseObjCAtInterfaceDeclaration()
536 if (boundType.isInvalid()) in parseObjCTypeParamListOrProtocolRefs()
1306 if (!type.isInvalid()) in ParseObjCTypeName()
2406 if (Res.isInvalid()) { in ParseObjCThrowStmt()
2434 if (!operand.isInvalid()) in ParseObjCSynchronizedStmt()
2443 if (!operand.isInvalid()) in ParseObjCSynchronizedStmt()
2449 if (!operand.isInvalid()) in ParseObjCSynchronizedStmt()
2459 if (operand.isInvalid()) in ParseObjCSynchronizedStmt()
2462 if (body.isInvalid()) in ParseObjCSynchronizedStmt()
[all …]
DParseDeclCXX.cpp272 if (SS.isInvalid() || Tok.isNot(tok::identifier)) { in ParseNamespaceAlias()
305 Lang.isInvalid() in ParseLinkage()
451 if (SS.isInvalid() || Tok.isNot(tok::identifier)) { in ParseUsingDirective()
526 if (SS.isInvalid()) { in ParseUsingDeclaration()
714 if (AssertExpr.isInvalid()) { in ParseStaticAssertDeclaration()
741 if (AssertMessage.isInvalid()) { in ParseStaticAssertDeclaration()
775 if (Result.isInvalid()) { in ParseDecltypeSpecifier()
814 if (Result.isInvalid()) { in ParseDecltypeSpecifier()
837 if (T.getCloseLocation().isInvalid()) { in ParseDecltypeSpecifier()
844 if (Result.isInvalid()) { in ParseDecltypeSpecifier()
[all …]
/external/clang/tools/libclang/
DCXSourceLocation.cpp139 if (SLoc.isInvalid()) { in clang_getLocation()
170 if (SLoc.isInvalid()) in clang_getLocationForOffset()
214 if (Loc.isInvalid()) in clang_Location_isInSystemHeader()
225 if (Loc.isInvalid()) in clang_Location_isFromMainFile()
246 if (!location.ptr_data[0] || Loc.isInvalid()) { in clang_getExpansionLocation()
289 if (!location.ptr_data[0] || Loc.isInvalid()) { in clang_getPresumedLocation()
297 if (PreLoc.isInvalid()) { in clang_getPresumedLocation()
330 if (!location.ptr_data[0] || Loc.isInvalid()) in clang_getSpellingLocation()
341 if (FID.isInvalid()) in clang_getSpellingLocation()
368 if (!location.ptr_data[0] || Loc.isInvalid()) in clang_getFileLocation()
[all …]
DCXStoredDiagnostic.cpp45 if (Diag.getLocation().isInvalid()) in getLocation()
84 if (Diag.getLocation().isInvalid()) in getNumRanges()
98 if (Diag.getLocation().isInvalid()) in getNumFixIts()
/external/clang/lib/Basic/
DSourceManager.cpp518 if (FID.isInvalid()) in getPreviousFileID()
538 if (FID.isInvalid()) in getNextFileID()
1042 if (!PrevFID.isInvalid()) { in isAtStartOfImmediateMacroExpansion()
1077 if (!NextFID.isInvalid()) { in isAtEndOfImmediateMacroExpansion()
1163 static bool isInvalid(SourceLocation Loc, bool *Invalid) { in isInvalid() function
1164 bool MyInvalid = Loc.isInvalid(); in isInvalid()
1172 if (isInvalid(Loc, Invalid)) return 0; in getSpellingColumnNumber()
1179 if (isInvalid(Loc, Invalid)) return 0; in getExpansionColumnNumber()
1186 if (isInvalid(Loc, Invalid)) return 0; in getPresumedColumnNumber()
1285 if (FID.isInvalid()) { in getLineNumber()
[all …]
/external/clang/lib/AST/
DSelectorLocationsKind.cpp28 if (EndLoc.isInvalid()) in getStandardSelLoc()
36 if (ArgLoc.isInvalid()) in getStandardSelLoc()
58 if (Loc.isInvalid()) in getArgLoc()
/external/jmonkeyengine/engine/src/core/com/jme3/font/
DLetters.java81 if (l.isInvalid()) { in update()
84 if (l.isInvalid(block)) { in update()
117 while (cursor.isInvalid(block, ellipsisWidth) && !cursor.isLineStart()) { in update()
131 } else if (current.isInvalid(block)) { in update()
254 while (!cursor.isTail() && !cursor.isInvalid()) { in invalidate()
/external/clang/lib/Edit/
DCommit.cpp221 if (loc.isInvalid()) in canInsert()
239 if (locInfo.first.isInvalid()) in canInsert()
247 if (loc.isInvalid()) in canInsertAfterToken()
270 if (loc.isInvalid()) in canInsertAfterToken()
274 if (locInfo.first.isInvalid()) in canInsertAfterToken()
299 if (range.isInvalid()) in canRemoveRange()
/external/clang/include/clang/Basic/
DSourceLocation.h47 bool isInvalid() const { return ID == 0; } in isInvalid() function
109 bool isInvalid() const { return ID == 0; } in isInvalid() function
208 bool isInvalid() const { return !isValid(); } in isInvalid() function
262 bool isInvalid() const { return !isValid(); } in isInvalid() function
370 bool isInvalid() const { return Filename == nullptr; } in isInvalid() function
DPlistSupport.h92 if (L.isInvalid()) return; in EmitLocation()
108 if (R.isInvalid()) return; in EmitRange()
/external/clang/include/clang/Sema/
DOwnership.h159 bool isInvalid() const { return Invalid; }
198 bool isInvalid() const { return PtrWithInvalid & 0x01; }
277 assert(!R.isInvalid() && "operation was asserted to never fail!");
282 assert(!R.isInvalid() && "operation was asserted to never fail!");
/external/clang/include/clang/Edit/
DFileOffset.h26 bool isInvalid() const { return FID.isInvalid(); } in isInvalid() function
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp130 assert(SM || Loc.isInvalid()); in emitDiagnostic()
235 if (Loc.isInvalid()) { in emitIncludeStackRecursively()
241 if (PLoc.isInvalid()) in emitIncludeStackRecursively()
264 if (Loc.isInvalid()) { in emitImportStack()
402 if (I->isInvalid()) continue; in mapDiagnosticRanges()
439 if (Begin.isInvalid() || End.isInvalid()) continue; in mapDiagnosticRanges()

1234567