Searched refs:Range (Results 1 - 25 of 118) sorted by relevance

12345

/freebsd-9.3-release/contrib/llvm/lib/DebugInfo/
H A DDWARFDebugAranges.h39 struct Range { struct in class:llvm::DWARFDebugAranges
40 explicit Range(uint64_t LowPC = -1ULL, uint64_t HighPC = -1ULL, function in struct:llvm::DWARFDebugAranges::Range
59 bool operator <(const Range &other) const {
63 static bool SortedOverlapCheck(const Range &Left, const Range &Right) {
74 typedef std::vector<Range> RangeColl;
H A DDWARFDebugAranges.cpp82 Aranges.push_back(Range(LowPC, HighPC, CUOffset));
105 if (!Range::SortedOverlapCheck(Aranges[i-1], Aranges[i]))
120 if (Range::SortedOverlapCheck(minimal_aranges[j], Aranges[i])) {
137 Range range(Address);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmtAttr.cpp28 SourceRange Range) {
33 SourceLocation L = Lexer::getLocForEndOfToken(Range.getEnd(), 0,
49 SourceRange Range) {
57 return handleFallThroughAttr(S, St, A, Range);
68 SourceRange Range) {
71 if (Attr *a = ProcessStmtAttribute(*this, S, *l, Range))
78 return ActOnAttributedStmt(Range.getBegin(), Attrs, S);
27 handleFallThroughAttr(Sema &S, Stmt *St, const AttributeList &A, SourceRange Range) argument
48 ProcessStmtAttribute(Sema &S, Stmt *St, const AttributeList &A, SourceRange Range) argument
67 ProcessStmtAttributes(Stmt *S, AttributeList *AttrList, SourceRange Range) argument
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Tooling/
H A DRefactoring.h36 class Range { class in namespace:clang::tooling
38 Range() : Offset(0), Length(0) {} function in class:clang::tooling::Range
39 Range(unsigned Offset, unsigned Length) : Offset(Offset), Length(Length) {} function in class:clang::tooling::Range
47 /// \name Range Predicates
50 bool overlapsWith(Range RHS) const {
55 bool contains(Range RHS) const {
90 Replacement(SourceManager &Sources, const CharSourceRange &Range,
120 void setFromSourceRange(SourceManager &Sources, const CharSourceRange &Range,
124 Range ReplacementRange;
180 std::vector<Range>
235 const CharSourceRange Range = local
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Lex/
H A DPreprocessingRecord.cpp30 SourceRange Range)
31 : PreprocessingDirective(InclusionDirectiveKind, Range),
47 /// that source range \p Range encompasses.
49 PreprocessingRecord::getPreprocessedEntitiesInRange(SourceRange Range) { argument
50 if (Range.isInvalid())
53 if (CachedRangeQuery.Range == Range) {
58 std::pair<int, int> Res = getPreprocessedEntitiesInRangeSlow(Range);
60 CachedRangeQuery.Range = Range;
25 InclusionDirective(PreprocessingRecord &PPRec, InclusionKind Kind, StringRef FileName, bool InQuotes, bool ImportedModule, const FileEntry *File, SourceRange Range) argument
129 getPreprocessedEntitiesInRangeSlow(SourceRange Range) argument
195 SourceRange Range = PPE->getSourceRange(); local
400 Defined(const Token &MacroNameTok, const MacroDirective *MD, SourceRange Range) argument
409 MacroExpands(const Token &Id,const MacroDirective *MD, SourceRange Range, const MacroArgs *Args) argument
[all...]
H A DPPConditionalDirectiveRecord.cpp25 SourceRange Range) const {
26 if (Range.isInvalid())
31 Range.getBegin(), CondDirectiveLoc::Comp(SourceMgr));
35 if (SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), low->getLoc()))
40 Range.getEnd(), CondDirectiveLoc::Comp(SourceMgr));
/freebsd-9.3-release/contrib/llvm/include/llvm/Support/
H A DUnicodeCharRanges.h31 inline bool operator<(uint32_t Value, UnicodeCharRange Range) { argument
32 return Value < Range.Lower;
34 inline bool operator<(UnicodeCharRange Range, uint32_t Value) { argument
35 return Range.Upper < Value;
H A DSourceMgr.h180 SMRange Range;
187 : Range(Loc, Loc), Text(Insertion.str()) {
193 : Range(R), Text(Replacement.str()) {
198 SMRange getRange() const { return Range; }
201 if (Range.Start.getPointer() != Other.Range.Start.getPointer())
202 return Range.Start.getPointer() < Other.Range.Start.getPointer();
203 if (Range.End.getPointer() != Other.Range
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMUnwindOpAsm.cpp75 uint32_t Range = 0;
80 ++Range;
88 EmitInt8(UNWIND_OPCODE_POP_REG_RANGE_R4 | Range);
92 EmitInt8(UNWIND_OPCODE_POP_REG_RANGE_R4_R14 | Range);
117 uint32_t Range = 0;
124 ++Range;
129 ((i - 16) << 4) | Range);
139 uint32_t Range = 0;
146 ++Range;
150 EmitInt16(UNWIND_OPCODE_POP_VFP_REG_RANGE_FSTMFDD | (i << 4) | Range);
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/ASTMatchers/Dynamic/
H A DDiagnostics.h45 ParserValue() : Text(), Range(), Value() {}
47 SourceRange Range; member in struct:clang::ast_matchers::dynamic::ParserValue
140 ArgStream addError(const SourceRange &Range, ErrorType Error);
145 SourceRange Range; member in struct:clang::ast_matchers::dynamic::Diagnostics::ContextFrame
153 SourceRange Range; member in struct:clang::ast_matchers::dynamic::Diagnostics::ErrorContent::Message
175 ArgStream pushContextFrame(ContextType Type, SourceRange Range);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/ASTMatchers/Dynamic/
H A DDiagnostics.cpp17 SourceRange Range) {
21 data.Range = Range;
67 Diagnostics::ArgStream Diagnostics::addError(const SourceRange &Range, argument
73 Last.Messages.back().Range = Range;
151 static void maybeAddLineAndColumn(const SourceRange &Range, argument
153 if (Range.Start.Line > 0 && Range.Start.Column > 0) {
154 OS << Range
16 pushContextFrame(ContextType Type, SourceRange Range) argument
[all...]
H A DParser.cpp45 TokenInfo() : Text(), Kind(TK_Eof), Range(), Value() {}
49 SourceRange Range; member in struct:clang::ast_matchers::dynamic::Parser::TokenInfo
79 Result.Range.Start = currentLocation();
138 Result.Range.End = currentLocation();
162 SourceRange Range; local
163 Range.Start = Result->Range.Start;
164 Range.End = currentLocation();
165 Error->addError(Range, Error->ET_ParserUnsignedError) << Result->Text;
197 SourceRange Range; local
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Rewrite/Core/
H A DHTMLRewrite.h40 inline void HighlightRange(Rewriter &R, SourceRange Range, argument
42 HighlightRange(R, Range.getBegin(), Range.getEnd(), StartTag, EndTag);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DAttr.h44 SourceRange Range; member in class:clang::Attr
78 : Range(R), AttrKind(AK), SpellingListIndex(SpellingListIndex),
89 SourceLocation getLocation() const { return Range.getBegin(); }
90 SourceRange getRange() const { return Range; }
91 void setRange(SourceRange R) { Range = R; }
H A DRawCommentList.h110 SourceRange getSourceRange() const LLVM_READONLY { return Range; }
111 SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
112 SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
126 SourceRange Range; member in class:clang::RawComment
150 Range(SR), RawTextValid(false), BriefTextValid(false), Kind(K),
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...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessingRecord.h78 SourceRange Range; member in class:clang::PreprocessedEntity
81 PreprocessedEntity(EntityKind Kind, SourceRange Range) argument
82 : Kind(Kind), Range(Range) { }
92 SourceRange getSourceRange() const LLVM_READONLY { return Range; }
126 PreprocessingDirective(EntityKind Kind, SourceRange Range) argument
127 : PreprocessedEntity(Kind, Range) { }
142 explicit MacroDefinition(const IdentifierInfo *Name, SourceRange Range) argument
143 : PreprocessingDirective(MacroDefinitionKind, Range), Name(Name) { }
164 MacroExpansion(IdentifierInfo *BuiltinName, SourceRange Range) argument
168 MacroExpansion(MacroDefinition *Definition, SourceRange Range) argument
588 SourceRange Range; member in struct:clang::PreprocessingRecord::__anon2867
[all...]
H A DPPCallbacks.h243 SourceRange Range, const MacroArgs *Args) {
261 SourceRange Range) {
265 /// \param Range The SourceRange that was skipped. The range begins at the
267 virtual void SourceRangeSkipped(SourceRange Range) { argument
447 SourceRange Range, const MacroArgs *Args) {
448 First->MacroExpands(MacroNameTok, MD, Range, Args);
449 Second->MacroExpands(MacroNameTok, MD, Range, Args);
464 SourceRange Range) {
465 First->Defined(MacroNameTok, MD, Range);
466 Second->Defined(MacroNameTok, MD, Range);
242 MacroExpands(const Token &MacroNameTok, const MacroDirective *MD, SourceRange Range, const MacroArgs *Args) argument
260 Defined(const Token &MacroNameTok, const MacroDirective *MD, SourceRange Range) argument
446 MacroExpands(const Token &MacroNameTok, const MacroDirective *MD, SourceRange Range, const MacroArgs *Args) argument
463 Defined(const Token &MacroNameTok, const MacroDirective *MD, SourceRange Range) argument
469 SourceRangeSkipped(SourceRange Range) argument
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DMicrosoftMangle.cpp125 void mangleType(QualType T, SourceRange Range,
149 void mangleArgumentType(QualType T, SourceRange Range);
155 SourceRange Range);
1081 SourceRange Range) {
1107 mangleType(T, Range, QMM_Drop);
1122 void MicrosoftCXXNameMangler::mangleType(QualType T, SourceRange Range, argument
1180 mangleType(cast<CLASS##Type>(ty), Range); \
1190 SourceRange Range) {
1266 Diags.Report(Range.getBegin(), DiagID)
1268 << Range;
1080 mangleArgumentType(QualType T, SourceRange Range) argument
1189 mangleType(const BuiltinType *T, SourceRange Range) argument
1295 SourceRange Range; local
1453 mangleType(const UnresolvedUsingType *T, SourceRange Range) argument
1570 mangleType(const MemberPointerType *T, SourceRange Range) argument
1586 mangleType(const TemplateTypeParmType *T, SourceRange Range) argument
1595 mangleType( const SubstTemplateTypeParmPackType *T, SourceRange Range) argument
1608 mangleType(const PointerType *T, SourceRange Range) argument
1615 mangleType(const ObjCObjectPointerType *T, SourceRange Range) argument
1627 mangleType(const LValueReferenceType *T, SourceRange Range) argument
1638 mangleType(const RValueReferenceType *T, SourceRange Range) argument
1646 mangleType(const ComplexType *T, SourceRange Range) argument
1655 mangleType(const VectorType *T, SourceRange Range) argument
1689 mangleType(const ExtVectorType *T, SourceRange Range) argument
1697 mangleType(const DependentSizedExtVectorType *T, SourceRange Range) argument
1713 mangleType(const ObjCObjectType *T, SourceRange Range) argument
1720 mangleType(const BlockPointerType *T, SourceRange Range) argument
1733 mangleType(const TemplateSpecializationType *T, SourceRange Range) argument
1742 mangleType(const DependentNameType *T, SourceRange Range) argument
1751 mangleType( const DependentTemplateSpecializationType *T, SourceRange Range) argument
1761 mangleType(const PackExpansionType *T, SourceRange Range) argument
1770 mangleType(const TypeOfType *T, SourceRange Range) argument
1779 mangleType(const TypeOfExprType *T, SourceRange Range) argument
1788 mangleType(const DecltypeType *T, SourceRange Range) argument
1797 mangleType(const UnaryTransformType *T, SourceRange Range) argument
1806 mangleType(const AutoType *T, SourceRange Range) argument
1814 mangleType(const AtomicType *T, SourceRange Range) argument
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Rewrite/Core/
H A DRewriter.cpp124 int Rewriter::getRangeSize(const CharSourceRange &Range, argument
126 if (!isRewritable(Range.getBegin()) ||
127 !isRewritable(Range.getEnd())) return -1;
132 StartOff = getLocationOffsetAndFileID(Range.getBegin(), StartFileID);
133 EndOff = getLocationOffsetAndFileID(Range.getEnd(), EndFileID);
151 if (Range.isTokenRange())
152 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts);
157 int Rewriter::getRangeSize(SourceRange Range, RewriteOptions opts) const { argument
158 return getRangeSize(CharSourceRange::getTokenRange(Range), opts);
168 std::string Rewriter::getRewrittenText(SourceRange Range) cons
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Tooling/
H A DRefactoring.cpp43 Replacement::Replacement(SourceManager &Sources, const CharSourceRange &Range, argument
45 setFromSourceRange(Sources, Range, ReplacementText);
117 this->ReplacementRange = Range(DecomposedLocation.second, Length);
124 static int getRangeSize(SourceManager &Sources, const CharSourceRange &Range) { argument
125 SourceLocation SpellingBegin = Sources.getSpellingLoc(Range.getBegin());
126 SourceLocation SpellingEnd = Sources.getSpellingLoc(Range.getEnd());
130 if (Range.isTokenRange())
137 const CharSourceRange &Range,
139 setFromSourceLocation(Sources, Sources.getSpellingLoc(Range.getBegin()),
140 getRangeSize(Sources, Range), ReplacementTex
136 setFromSourceRange(SourceManager &Sources, const CharSourceRange &Range, StringRef ReplacementText) argument
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransProtectedScope.cpp43 SourceRange Range; member in struct:__anon2965::CaseInfo
51 CaseInfo(SwitchCase *S, SourceRange Range) argument
52 : SC(S), Range(Range), State(St_Unchecked) {}
151 if (isInRange(Diag.getLocation(), info.Range)) {
176 Pass.TA.insert(info.Range.getEnd(), "}\n");
183 if (isInRange(DRE->getDecl()->getLocation(), info.Range) &&
184 !isInRange(DRE->getLocation(), info.Range))
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceLocation.h226 SourceRange Range; member in class:clang::SourceLocation::CharSourceRange
230 CharSourceRange(SourceRange R, bool ITR) : Range(R), IsTokenRange(ITR) {}
253 SourceLocation getBegin() const { return Range.getBegin(); }
254 SourceLocation getEnd() const { return Range.getEnd(); }
255 const SourceRange &getAsRange() const { return Range; }
257 void setBegin(SourceLocation b) { Range.setBegin(b); }
258 void setEnd(SourceLocation e) { Range.setEnd(e); }
260 bool isValid() const { return Range.isValid(); }
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DDeclSpec.h67 SourceRange Range; member in class:clang::CXXScopeSpec
71 const SourceRange &getRange() const { return Range; }
72 void setRange(const SourceRange &R) { Range = R; }
73 void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); }
74 void setEndLoc(SourceLocation Loc) { Range.setEnd(Loc); }
75 SourceLocation getBeginLoc() const { return Range.getBegin(); }
76 SourceLocation getEndLoc() const { return Range.getEnd(); }
176 bool isEmpty() const { return !Range.isValid(); }
188 if (Range.getBegin().isInvalid())
189 Range
373 SourceRange Range; member in class:clang::DeclSpec
1142 SourceRange Range; member in struct:clang::DeclaratorChunk::TypeAndRange
1540 SourceRange Range; member in class:clang::Declarator
2181 SourceRange Range; member in struct:LambdaIntroducer
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A DYAMLParser.cpp137 StringRef Range; member in struct:llvm::yaml::Token
207 static UTF8Decoded decodeUTF8(StringRef Range) { argument
208 StringRef::iterator Position= Range.begin();
209 StringRef::iterator End = Range.end();
620 OS << T.Range << "\n";
962 , i->Tok->Range.begin());
982 T.Range = StringRef(Current, 1);
1001 T.Range = StringRef(Current, 0);
1046 T.Range = StringRef(Current, EI.second);
1065 T.Range
[all...]

Completed in 292 milliseconds

12345