Searched defs:Range (Results 101 - 125 of 165) sorted by relevance

1234567

/external/clang/lib/Sema/
H A DSema.cpp1294 SourceRange Range = E.get()->getSourceRange(); local
1306 PP.getLocForEndOfToken(Range.getEnd());
1308 << /*zero-arg*/ 1 << Range
1323 Diag(Loc, PD) << /*not zero-arg*/ 0 << Range;
H A DAnalysisBasedWarnings.cpp506 SourceRange Range; local
532 Range = IS->getCond()->getSourceRange();
542 Range = CO->getCond()->getSourceRange();
554 Range = BO->getLHS()->getSourceRange();
571 Range = cast<WhileStmt>(Term)->getCond()->getSourceRange();
573 Fixit1 = FixItHint::CreateReplacement(Range, FixitStr);
578 Range = cast<ForStmt>(Term)->getCond()->getSourceRange();
581 Fixit1 = FixItHint::CreateRemoval(Range);
583 Fixit1 = FixItHint::CreateReplacement(Range, FixitStr);
590 Range
[all...]
H A DSemaCast.cpp1590 SourceRange Range) {
1595 if (Diags.getDiagnosticLevel(DiagID, Range.getBegin()) ==
1637 Diag(Range.getBegin(), DiagID) << SrcType << DestType << Range; local
1588 CheckCompatibleReinterpretCast(QualType SrcType, QualType DestType, bool IsDereference, SourceRange Range) argument
H A DSemaExprMember.cpp203 SourceRange Range(Loc);
204 if (SS.isSet()) Range.setBegin(SS.getRange().getBegin());
217 << Range << nameInfo.getName();
223 << IsField << RepClass << nameInfo.getName() << ContextClass << Range; local
226 << nameInfo.getName() << Range;
229 << Range;
/external/clang/lib/StaticAnalyzer/Checkers/
H A DBasicObjCFoundationChecks.cpp109 SourceRange Range,
186 SourceRange Range,
193 R->addRange(Range);
184 generateBugReport(ExplodedNode *N, StringRef Msg, SourceRange Range, const Expr *E, CheckerContext &C) const argument
H A DMallocChecker.cpp312 void ReportBadFree(CheckerContext &C, SVal ArgVal, SourceRange Range,
314 void ReportMismatchedDealloc(CheckerContext &C, SourceRange Range,
317 void ReportOffsetFree(CheckerContext &C, SVal ArgVal, SourceRange Range,
320 void ReportUseAfterFree(CheckerContext &C, SourceRange Range,
322 void ReportDoubleFree(CheckerContext &C, SourceRange Range, bool Released,
1213 SourceRange Range,
1254 R->addRange(Range);
1260 SourceRange Range,
1294 R->addRange(Range);
1301 SourceRange Range, cons
1212 ReportBadFree(CheckerContext &C, SVal ArgVal, SourceRange Range, const Expr *DeallocExpr) const argument
1259 ReportMismatchedDealloc(CheckerContext &C, SourceRange Range, const Expr *DeallocExpr, const RefState *RS, SymbolRef Sym) const argument
1300 ReportOffsetFree(CheckerContext &C, SVal ArgVal, SourceRange Range, const Expr *DeallocExpr, const Expr *AllocExpr) const argument
1353 ReportUseAfterFree(CheckerContext &C, SourceRange Range, SymbolRef Sym) const argument
1377 ReportDoubleFree(CheckerContext &C, SourceRange Range, bool Released, SymbolRef Sym, SymbolRef PrevSym) const argument
[all...]
/external/clang/tools/libclang/
H A DCXCursor.cpp661 CXCursor cxcursor::MakePreprocessingDirectiveCursor(SourceRange Range, argument
664 { Range.getBegin().getPtrEncoding(),
665 Range.getEnd().getPtrEncoding(),
673 SourceRange Range(SourceLocation::getFromPtrEncoding(C.data[0]),
676 return TU->mapRangeFromPreamble(Range);
H A DIndexing.cpp296 SourceRange Range, const MacroArgs *Args) {
300 /// \param Range The SourceRange that was skipped. The range begins at the
302 virtual void SourceRangeSkipped(SourceRange Range) { argument
295 MacroExpands(const Token &MacroNameTok, const MacroDirective *MD, SourceRange Range, const MacroArgs *Args) argument
/external/llvm/lib/Analysis/
H A DLazyValueInfo.cpp82 ConstantRange Range; member in class:__anon21087::LVILatticeVal
85 LVILatticeVal() : Tag(undefined), Val(0), Range(1, true) {}
124 return Range;
175 bool changed = Range != NewR;
176 Range = NewR;
185 Range = NewR;
198 Range = RHS.Range;
265 ConstantRange NewR = Range.unionWith(RHS.getConstantRange());
896 ConstantRange Range
[all...]
/external/llvm/lib/CodeGen/
H A DLiveDebugVariables.cpp510 LiveRange *Range = LI->getLiveRangeContaining(Start); local
511 if (!Range || Range->valno != VNI) {
516 if (Range->end < Stop)
517 Stop = Range->end, ToEnd = false;
728 // Live Range Splitting
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h170 CaseBB(bb), LT(lt), GE(ge), Range(r) {}
178 /// Range - A pair of iterators representing the range of case values to be
180 CaseRange Range; member in struct:llvm::SelectionDAGBuilder::CaseRec
268 First(F), Range(R), SValue(SV), Reg(Rg), RegVT(RgVT), Emitted(E),
271 APInt Range; member in struct:llvm::SelectionDAGBuilder::BitTestBlock
/external/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp436 const MemsetRange &Range = *I; local
438 if (Range.TheStores.size() == 1) continue;
441 if (!Range.isProfitableToUseMemset(*TD))
446 StartPtr = Range.StartPtr;
449 unsigned Alignment = Range.Alignment;
457 Builder.CreateMemSet(StartPtr, ByteVal, Range.End-Range.Start, Alignment);
460 for (unsigned i = 0, e = Range.TheStores.size(); i != e; ++i)
461 dbgs() << *Range.TheStores[i] << '\n';
464 if (!Range
[all...]
/external/llvm/utils/FileCheck/
H A DFileCheck.cpp836 static unsigned CountNumNewlinesBetween(StringRef Range) { argument
840 Range = Range.substr(Range.find_first_of("\n\r"));
841 if (Range.empty()) return NumNewLines;
846 if (Range.size() > 1 &&
847 (Range[1] == '\n' || Range[1] == '\r') &&
848 (Range[0] != Range[
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A Dexterns.js198 Range.prototype.startContainer;
195 Range.prototype.startContainer; class
/external/clang/include/clang/AST/
H A DComment.h59 SourceRange Range; member in class:clang::comments::Comment
165 Range = SR;
187 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) {
203 SourceRange getSourceRange() const LLVM_READONLY { return Range; }
206 return Range.getBegin();
210 return Range.getEnd();
293 SourceRange Range; member in struct:clang::comments::InlineCommandComment::Argument
296 Argument(SourceRange Range, StringRef Text) : Range(Range), Tex argument
584 SourceRange Range; member in struct:clang::comments::BlockCommandComment::Argument
588 Argument(SourceRange Range, StringRef Text) argument
[all...]
H A DExprCXX.h57 SourceRange Range; member in class:clang::CXXOperatorCallExpr
72 Range = getSourceRangeImpl();
89 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
90 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
91 SourceRange getSourceRange() const { return Range; }
530 SourceRange Range; member in class:clang::CXXTypeidExpr
541 Operand(Operand), Range(R) { }
551 Operand(Operand), Range(R) { }
592 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
593 SourceLocation getLocEnd() const LLVM_READONLY { return Range
675 SourceRange Range; member in class:clang::CXXUuidofExpr
1688 SourceRange Range; member in class:clang::CXXNewExpr
[all...]
H A DExprObjC.h95 SourceRange Range; member in class:clang::ObjCBoxedExpr
102 SubExpr(E), BoxingMethod(method), Range(R) {}
113 SourceLocation getAtLoc() const { return Range.getBegin(); }
115 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
116 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
118 return Range;
135 SourceRange Range; member in class:clang::ObjCArrayLiteral
153 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
154 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
155 SourceRange getSourceRange() const LLVM_READONLY { return Range; }
256 SourceRange Range; member in class:clang::ObjCDictionaryLiteral
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DPathDiagnostic.h135 PathDiagnosticRange Range; member in class:clang::ento::PathDiagnosticLocation
140 Loc(genLocation(L)), Range(genRange()) {
163 Range(genRange(lac)) {
166 assert(K == SingleLocK || Range.isValid());
172 Loc(genLocation()), Range(genRange()) {
175 assert(Range.isValid());
182 : K(SingleLocK), S(0), D(0), SM(&sm), Loc(loc, sm), Range(genRange()) {
184 assert(Range.isValid());
254 return K == X.K && Loc == X.Loc && Range == X.Range;
[all...]
/external/clang/lib/AST/
H A DExprCXX.cpp89 SourceRange Range, SourceRange directInitRange)
96 Range(Range), DirectInitRange(directInitRange),
134 this->Range.setEnd(DirectInitRange.getEnd()); break;
136 this->Range.setEnd(getInitializer()->getSourceRange().getEnd()); break;
139 this->Range.setEnd(TypeIdParens.getEnd());
81 CXXNewExpr(ASTContext &C, bool globalNew, FunctionDecl *operatorNew, FunctionDecl *operatorDelete, bool usualArrayDeleteWantsSize, ArrayRef<Expr*> placementArgs, SourceRange typeIdParens, Expr *arraySize, InitializationStyle initializationStyle, Expr *initializer, QualType ty, TypeSourceInfo *allocatedTypeInfo, SourceRange Range, SourceRange directInitRange) argument
H A DStmt.cpp790 CXXForRangeStmt::CXXForRangeStmt(DeclStmt *Range, DeclStmt *BeginEndStmt, argument
795 SubExprs[RANGE] = Range;
/external/clang/lib/Format/
H A DFormat.cpp1808 bool touchesRanges(const CharSourceRange &Range) { argument
1810 if (!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),
1813 Range.getBegin()))
1900 std::vector<tooling::Range> Ranges,
/external/clang/lib/Lex/
H A DLexer.cpp843 static CharSourceRange makeRangeFromFileLocs(CharSourceRange Range, argument
846 SourceLocation Begin = Range.getBegin();
847 SourceLocation End = Range.getEnd();
849 if (Range.isTokenRange()) {
870 CharSourceRange Lexer::makeFileCharRange(CharSourceRange Range, argument
873 SourceLocation Begin = Range.getBegin();
874 SourceLocation End = Range.getEnd();
879 return makeRangeFromFileLocs(Range, SM, LangOpts);
884 Range.setBegin(Begin);
885 return makeRangeFromFileLocs(Range, S
934 getSourceText(CharSourceRange Range, const SourceManager &SM, const LangOptions &LangOpts, bool *Invalid) argument
1391 maybeDiagnoseIDCharCompat(DiagnosticsEngine &Diags, uint32_t C, CharSourceRange Range, bool IsFirst) argument
[all...]
/external/clang/lib/Parse/
H A DParseDeclCXX.cpp462 Attrs.Range = SourceRange();
535 SourceRange Range; local
537 Range = SourceRange(Name.TemplateId->LAngleLoc,
540 Range = TemplateInfo.getSourceRange();
541 Diag(Range.getBegin(), diag::err_alias_declaration_specialization)
542 << SpecKind << Range; local
1273 SourceRange Range(NameLoc);
1275 Range.setBegin(SS.getBeginLoc());
1278 << TemplateId->Name << static_cast<int>(TemplateId->Kind) << Range;
1388 SourceRange AttrRange = Attributes.Range;
2924 diagnoseDynamicExceptionSpecification( Parser &P, const SourceRange &Range, bool IsNoexcept) argument
2972 SourceRange Range; local
3006 ParseTrailingReturnType(SourceRange &Range) argument
[all...]
H A DParseExprCXX.cpp54 SourceRange Range; local
55 Range.setBegin(DigraphToken.getLocation());
56 Range.setEnd(ColonToken.getLocation());
59 << FixItHint::CreateReplacement(Range, "< ::");
706 Intro.Range.setBegin(T.getOpenLocation());
869 Intro.Range.setEnd(T.getCloseLocation());
905 SourceLocation LambdaBeginLoc = Intro.Range.getBegin();
971 SourceRange Range; local
972 TrailingReturnType = ParseTrailingReturnType(Range);
973 if (Range
1019 SourceRange Range; local
[all...]
/external/icu4c/tools/gennorm2/
H A Dn2builder.cpp66 struct Range { struct in class:HangulIterator
72 const Range *nextRange() {
81 static const Range ranges[4];
85 const HangulIterator::Range HangulIterator::ranges[4]={
992 const HangulIterator::Range *range;

Completed in 569 milliseconds

1234567