/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Utility/ |
H A D | Range.cpp | 1 //===--------------------- Range.cpp -----------------------------*- C++ -*-===// 10 #include "lldb/Utility/Range.h" 14 Range::Range (const Range& rng) : function in class:Range 21 Range::Range (Range::ValueType low, function in class:Range 22 Range::ValueType high) : 30 Range [all...] |
/freebsd-10.1-release/contrib/llvm/tools/lldb/include/lldb/Utility/ |
H A D | Range.h | 1 //===--------------------- Range.h ------------------------------*- C++ -*-===// 18 class Range class in namespace:lldb_utility 26 Range (const Range& rng); 28 Range (ValueType low = 0, 31 Range& 32 operator = (const Range& rhs); 62 Intersection (const Range& other); 65 Union (const Range& other);
|
/freebsd-10.1-release/contrib/llvm/lib/DebugInfo/ |
H A D | DWARFDebugAranges.h | 39 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;
|
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaStmtAttr.cpp | 28 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-10.1-release/contrib/llvm/tools/clang/include/clang/Tooling/ |
H A D | Refactoring.h | 36 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-10.1-release/contrib/llvm/tools/clang/lib/Lex/ |
H A D | PreprocessingRecord.cpp | 30 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 D | PPConditionalDirectiveRecord.cpp | 25 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-10.1-release/contrib/llvm/include/llvm/Support/ |
H A D | UnicodeCharRanges.h | 31 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 D | SourceMgr.h | 180 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-10.1-release/lib/clang/liblldbUtility/ |
H A D | Makefile | 11 Range.cpp \
|
/freebsd-10.1-release/contrib/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMUnwindOpAsm.cpp | 75 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-10.1-release/contrib/llvm/tools/clang/include/clang/ASTMatchers/Dynamic/ |
H A D | Diagnostics.h | 45 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-10.1-release/contrib/llvm/tools/clang/lib/ASTMatchers/Dynamic/ |
H A D | Diagnostics.cpp | 17 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 D | Parser.cpp | 45 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-10.1-release/contrib/llvm/tools/clang/include/clang/Rewrite/Core/ |
H A D | HTMLRewrite.h | 40 inline void HighlightRange(Rewriter &R, SourceRange Range, argument 42 HighlightRange(R, Range.getBegin(), Range.getEnd(), StartTag, EndTag);
|
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFDebugAranges.h | 26 typedef RangeToDIE::Entry Range; typedef in class:DWARFDebugAranges 52 const Range* 78 const Range *range = m_aranges.GetEntryAtIndex (idx);
|
/freebsd-10.1-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | Attr.h | 44 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 D | RawCommentList.h | 110 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),
|
/freebsd-10.1-release/contrib/llvm/tools/clang/include/clang/Lex/ |
H A D | PreprocessingRecord.h | 78 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::__anon2986 [all...] |
H A D | PPCallbacks.h | 243 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-10.1-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | MicrosoftMangle.cpp | 125 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-10.1-release/contrib/llvm/tools/clang/lib/Rewrite/Core/ |
H A D | Rewriter.cpp | 124 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-10.1-release/contrib/llvm/tools/clang/lib/Tooling/ |
H A D | Refactoring.cpp | 43 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-10.1-release/contrib/llvm/tools/lldb/include/lldb/Symbol/ |
H A D | Block.h | 48 typedef RangeList::Entry Range; typedef in class:lldb_private::Block 103 AddRange (const Range& range); 152 Contains (const Range& range) const; 446 GetRangeContainingOffset (const lldb::addr_t offset, Range &range);
|
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/ARCMigrate/ |
H A D | TransProtectedScope.cpp | 43 SourceRange Range; member in struct:__anon3084::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))
|