Searched refs:getLocStart (Results 1 - 25 of 100) sorted by relevance

1234

/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DStackAddrEscapeChecker.cpp58 << SM.getExpansionLineNumber(CL->getLocStart())
64 SourceLocation L = ARE->getLocStart();
71 SourceLocation L = BD->getLocStart();
H A DMacOSXAPIChecker.cpp77 if (CE->getLocStart().isMacroID()) {
H A DTraversalChecker.cpp48 SourceLocation Loc = Parent->getLocStart();
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmtAsm.cpp48 S.Diag(E2->getLocStart(), diag::err_invalid_asm_cast_lvalue)
51 S.Diag(E2->getLocStart(), diag::warn_invalid_asm_cast_lvalue)
93 return StmtError(Diag(AsmString->getLocStart(),diag::err_asm_wide_character)
99 return StmtError(Diag(Literal->getLocStart(),diag::err_asm_wide_character)
108 return StmtError(Diag(Literal->getLocStart(),
115 return StmtError(Diag(OutputExpr->getLocStart(),
119 if (RequireCompleteType(OutputExpr->getLocStart(), Exprs[i]->getType(),
131 return StmtError(Diag(Literal->getLocStart(),diag::err_asm_wide_character)
141 return StmtError(Diag(Literal->getLocStart(),
151 return StmtError(Diag(InputExpr->getLocStart(),
[all...]
H A DSemaStmtAttr.cpp31 << St->getLocStart();
62 << A.getName() << St->getLocStart();
H A DSemaChecking.cpp62 SourceRange range(call->getArg(desiredArgCount)->getLocStart(),
80 S.Diag(ValArg->getLocStart(), diag::err_builtin_annotation_first_arg)
89 S.Diag(StrArg->getLocStart(), diag::err_builtin_annotation_second_arg)
105 QualType ResultType = S.CheckAddressOfOperand(Arg, TheCall->getLocStart());
411 return Diag(TheCall->getLocStart(), diag::err_invalid_neon_type_code)
430 if (DiagnoseAssignmentResult(ConvTy, Arg->getLocStart(), LHSTy, RHSTy,
459 return Diag(TheCall->getLocStart(), diag::err_argument_invalid_range)
489 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer)
506 Diag(DRE->getLocStart(), diag::ext_typecheck_convert_discards_qualifiers)
524 Diag(DRE->getLocStart(), dia
[all...]
H A DAnalysisBasedWarnings.cpp471 CharSourceRange::getCharRange(If->getLocStart(),
472 Then->getLocStart()));
483 CharSourceRange::getCharRange(If->getLocStart(),
484 Else->getLocStart()));
498 S.Diag(Use.getUser()->getLocStart(), diag::warn_uninit_var)
510 S.Diag(Use.getUser()->getLocStart(), diag::note_uninit_var_use)
581 Fixit1 = FixItHint::CreateRemoval(SourceRange(BO->getLocStart(),
644 S.Diag(User->getLocStart(), diag::note_uninit_var_use)
654 S.Diag(Use.getUser()->getLocStart(), diag::warn_maybe_uninit_var)
687 S.Diag(DRE->getLocStart(),
[all...]
H A DSemaInit.cpp185 S.Diag(Str->getLocStart(),
191 S.Diag(Str->getLocStart(),
353 SourceLocation Loc = ILE->getLocStart();
433 SourceLocation Loc = ILE->getLocStart();
435 Loc = ILE->getSyntacticForm()->getLocStart();
626 SemaRef.Diag(ParentIList->getInit(Index)->getLocStart(),
637 SourceRange(ParentIList->getInit(Index)->getLocStart(),
662 SemaRef.Diag(StructuredSubobjectInitList->getLocStart(),
666 StructuredSubobjectInitList->getLocStart(), "{")
723 SemaRef.Diag(IList->getInit(Index)->getLocStart(), D
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransGCCalls.cpp44 E->getLocStart(), E->getSourceRange());
48 E->getLocStart(), E->getSourceRange());
H A DTransAutoreleasePool.cpp140 scope.CompoundParent->getLocStart());
145 scope.CompoundParent->getLocStart());
244 return SourceRange((*rangeS)->getLocStart(), (*rangeE)->getLocEnd());
259 ScopeRange = SourceRange((*scope.Begin)->getLocStart(),
260 (*scope.End)->getLocStart());
331 (*scope.Begin)->getLocStart());
333 (*scope.End)->getLocStart());
H A DTransUnbridgedCasts.cpp211 E->getLocStart())) {
228 E->getLocStart());
233 SourceLocation insertLoc = E->getSubExpr()->getLocStart();
253 SourceLocation InsertLoc = WrapE->getLocStart();
371 Pass.TA.reportError(err, E->getLocStart(),
383 Pass.TA.reportNote(note, retS->getLocStart());
H A DTransAPIUses.cpp83 Pass.TA.reportError(err, parm->getLocStart(), parm->getSourceRange());
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Analysis/
H A DReachableCode.cpp89 if (S->getLocStart().isInvalid())
115 if (p1->second->getLocStart() < p2->second->getLocStart())
117 if (p2->second->getLocStart() < p1->second->getLocStart())
150 if (S->getLocStart().isMacroID()) {
233 return CE->getLocStart();
246 return S->getLocStart();
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
H A DRawCommentList.h111 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
172 return SM.isBeforeInTranslationUnit(LHS.getLocStart(), RHS.getLocStart());
H A DExprObjC.h47 SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; }
74 SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
115 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
154 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
323 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
375 SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; }
407 SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; }
450 SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; }
507 SourceLocation getLocStart() const LLVM_READONLY {
508 return isFreeIvar() ? Loc : getBase()->getLocStart();
[all...]
H A DStmtCXX.h44 SourceLocation getLocStart() const LLVM_READONLY { return CatchLoc; }
88 SourceLocation getLocStart() const LLVM_READONLY { return getTryLoc(); }
192 SourceLocation getLocStart() const LLVM_READONLY { return ForLoc; }
278 SourceLocation getLocStart() const LLVM_READONLY { return KeywordLoc; }
H A DStmtObjC.h58 SourceLocation getLocStart() const LLVM_READONLY { return ForLoc; }
107 SourceLocation getLocStart() const LLVM_READONLY { return AtCatchLoc; }
135 SourceLocation getLocStart() const LLVM_READONLY { return AtFinallyLoc; }
240 SourceLocation getLocStart() const LLVM_READONLY { return AtTryLoc; }
297 SourceLocation getLocStart() const LLVM_READONLY { return AtSynchronizedLoc; }
330 SourceLocation getLocStart() const LLVM_READONLY { return AtThrowLoc; }
359 SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; }
H A DExprCXX.h89 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
210 SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
400 SourceLocation getLocStart() const { function in class:clang::UserDefinedLiteral
403 return getArg(0)->getLocStart();
442 SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
470 SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
502 SourceLocation getLocStart() const LLVM_READONLY {
503 return SubExpr->getLocStart();
592 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
637 return SourceRange(getLocStart(), getLocEn
642 SourceLocation getLocStart() const { function in class:clang::MSPropertyRefExpr
[all...]
H A DExpr.h817 SourceLocation getLocStart() const LLVM_READONLY {
818 return SourceExpr ? SourceExpr->getLocStart() : Loc;
977 SourceLocation getLocStart() const LLVM_READONLY;
1183 SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
1267 SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
1313 SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
1381 SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
1413 SourceLocation getLocStart() const LLVM_READONLY { return Val->getLocStart(); }
1574 SourceLocation getLocStart() cons
[all...]
H A DStmt.h364 SourceLocation getLocStart() const LLVM_READONLY;
473 SourceLocation getLocStart() const LLVM_READONLY { return StartLoc; }
528 SourceLocation getLocStart() const LLVM_READONLY { return SemiLoc; }
601 SourceLocation getLocStart() const LLVM_READONLY { return LBracLoc; }
655 SourceLocation getLocStart() const LLVM_READONLY { return KeywordLoc; }
705 SourceLocation getLocStart() const LLVM_READONLY { return KeywordLoc; }
744 SourceLocation getLocStart() const LLVM_READONLY { return KeywordLoc; }
785 SourceLocation getLocStart() const LLVM_READONLY { return IdentLoc; }
833 SourceLocation getLocStart() const LLVM_READONLY { return AttrLoc; }
893 SourceLocation getLocStart() cons
[all...]
H A DComment.h205 SourceLocation getLocStart() const LLVM_READONLY {
341 return SourceRange(getLocStart().getLocWithOffset(-1),
548 setSourceRange(SourceRange(Content.front()->getLocStart(),
550 setLocation(Content.front()->getLocStart());
644 return getLocStart().getLocWithOffset(1);
650 getLocStart().getLocWithOffset(1 + Name.size()));
670 setSourceRange(SourceRange(getLocStart(), NewLocEnd));
686 setSourceRange(SourceRange(getLocStart(), NewLocEnd));
1087 setSourceRange(SourceRange(Blocks.front()->getLocStart(),
1089 setLocation(Blocks.front()->getLocStart());
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
H A DSelectorLocationsKind.cpp52 return Arg->getLocStart();
57 SourceLocation Loc = Arg->getLocStart();
H A DRawCommentList.cpp221 !SourceMgr.isBeforeInTranslationUnit(Comments.back()->getLocStart(),
222 RC.getLocStart())) {
246 onlyWhitespaceBetween(SourceMgr, C1.getLocEnd(), C2.getLocStart(),
248 SourceRange MergedRange(C1.getLocStart(), C2.getLocEnd());
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCUDARuntime.cpp47 CGF.EmitCall(E->getCallee()->getType(), Callee, E->getLocStart(),
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp19 if (S->getLocStart().isMacroID())

Completed in 247 milliseconds

1234