Home
last modified time | relevance | path

Searched refs:SourceRange (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/netbsd/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DInternals.h65 void remove(SourceRange range);
67 void replace(SourceRange range, StringRef text);
68 void replace(SourceRange range, SourceRange replacementRange);
72 void increaseIndentation(SourceRange range,
76 bool clearAllDiagnostics(SourceRange range) { in clearAllDiagnostics()
84 SourceRange range) { in clearDiagnostic()
89 bool hasDiagnostic(unsigned ID, SourceRange range) { in hasDiagnostic()
99 SourceRange range = SourceRange());
101 SourceRange range = SourceRange());
103 SourceRange range = SourceRange());
[all …]
H A DTransformActions.cpp46 SourceRange R1, R2;
97 static RangeComparison compare(SourceRange LHS, SourceRange RHS, in compare()
135 void remove(SourceRange range);
137 void replace(SourceRange range, StringRef text);
138 void replace(SourceRange range, SourceRange replacementRange);
142 void increaseIndentation(SourceRange range,
152 bool canRemoveRange(SourceRange range);
153 bool canReplaceRange(SourceRange range, SourceRange replacementRange);
158 void commitRemove(SourceRange range);
160 void commitReplace(SourceRange range, SourceRange replacementRange);
[all …]
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/
H A DTypeLoc.h546 SourceRange BuiltinRange;
828 return SourceRange(start, end); in getLocalSourceRange()
1013 return SourceRange(start, end); in getLocalSourceRange()
1289 return SourceRange(getStarLoc()); in getLocalSourceRange()
1402 SourceRange getParensRange() const { in getParensRange()
1677 SourceRange OperandParens;
1829 SourceRange OperandParens;
1936 SourceRange getParensRange() const { in getParensRange()
2029 SourceRange getParensRange() const { in getParensRange()
2505 SourceRange getParensRange() const { in getParensRange()
[all …]
H A DComment.h58 SourceRange Range;
177 void setSourceRange(SourceRange SR) { in setSourceRange()
300 SourceRange Range;
348 SourceRange getCommandNameRange() const { in getCommandNameRange()
374 SourceRange TagNameRange;
422 SourceRange ValueRange;
445 SourceRange getNameRange() const { in getNameRange()
599 SourceRange Range;
768 SourceRange getParamNameRange() const { in getParamNameRange()
838 SourceRange getParamNameRange() const { in getParamNameRange()
[all …]
H A DExprCXX.h86 SourceRange Range;
382 SourceRange AngleBrackets;
463 SourceRange AngleBrackets);
844 SourceRange Range;
1062 SourceRange Range;
1066 SourceRange R) in CXXUuidofExpr()
1475 SourceRange ParenOrBraceRange;
1870 SourceRange IntroducerRange;
2156 SourceRange Range;
2159 SourceRange DirectInitRange;
[all …]
/netbsd/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DPreprocessingRecord.h91 SourceRange Range;
96 PreprocessedEntity(EntityKind Kind, SourceRange Range) in PreprocessedEntity()
137 PreprocessingDirective(EntityKind Kind, SourceRange Range) in PreprocessingDirective()
154 SourceRange Range) in MacroDefinitionRecord()
326 std::vector<SourceRange> SkippedRanges;
490 getPreprocessedEntitiesInRange(SourceRange R);
517 const std::vector<SourceRange> &getSkippedRanges() { in getSkippedRanges()
544 SourceRange Range) override;
546 void SourceRangeSkipped(SourceRange Range,
550 SourceRange Range);
[all …]
H A DPPCallbacks.h282 const MacroDefinition &MD, SourceRange Range, in MacroExpands()
304 SourceRange Range) { in Defined()
319 virtual void SourceRangeSkipped(SourceRange Range, SourceLocation EndifLoc) { in SourceRangeSkipped()
332 virtual void If(SourceLocation Loc, SourceRange ConditionRange, in If()
342 virtual void Elif(SourceLocation Loc, SourceRange ConditionRange, in Elif()
539 SourceRange Range, const MacroArgs *Args) override { in MacroExpands()
558 SourceRange Range) override { in Defined()
563 void SourceRangeSkipped(SourceRange Range, SourceLocation EndifLoc) override { in SourceRangeSkipped()
569 void If(SourceLocation Loc, SourceRange ConditionRange, in If()
576 void Elif(SourceLocation Loc, SourceRange ConditionRange, in Elif()
/netbsd/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DAttributeCommonInfo.h64 SourceRange AttrRange;
76 AttributeCommonInfo(SourceRange AttrRange) in AttributeCommonInfo()
85 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo()
93 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo()
100 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo()
107 AttributeCommonInfo(const IdentifierInfo *AttrName, SourceRange AttrRange, in AttributeCommonInfo()
113 AttributeCommonInfo(SourceRange AttrRange, Kind K, Syntax SyntaxUsed) in AttributeCommonInfo()
118 AttributeCommonInfo(SourceRange AttrRange, Kind K, Syntax SyntaxUsed, in AttributeCommonInfo()
130 SourceRange getRange() const { return AttrRange; } in getRange()
131 void setRange(SourceRange R) { AttrRange = R; } in setRange()
H A DSourceLocation.h212 class SourceRange {
217 SourceRange() = default;
218 SourceRange(SourceLocation loc) : B(loc), E(loc) {}
230 bool operator==(const SourceRange &X) const {
234 bool operator!=(const SourceRange &X) const {
239 bool fullyContains(const SourceRange &other) const {
256 SourceRange Range;
267 static CharSourceRange getCharRange(SourceRange R) {
272 return getTokenRange(SourceRange(B, E));
276 return getCharRange(SourceRange(B, E));
[all …]
/netbsd/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/
H A DDiagnostics.h36 struct SourceRange { struct
45 SourceRange Range; argument
111 SourceRange MatcherRange);
115 SourceRange MatcherRange, unsigned ArgNumber);
144 ArgStream addError(SourceRange Range, ErrorType Error);
149 SourceRange Range;
157 SourceRange Range;
179 ArgStream pushContextFrame(ContextType Type, SourceRange Range);
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp555 return error(VReg.ID.SourceRange.Start, in parseRegisterInfo()
572 VReg.Class.SourceRange.Start, in parseRegisterInfo()
729 return error(Object.ID.SourceRange.Start, in initializeFrameInfo()
736 return error(Object.ID.SourceRange.Start, in initializeFrameInfo()
755 return error(Name.SourceRange.Start, in initializeFrameInfo()
761 return error(Object.ID.SourceRange.Start, in initializeFrameInfo()
861 return error(Error, Source.SourceRange); in parseMDNode()
907 return error(Entry.ID.SourceRange.Start, in initializeJumpTableInfo()
919 return error(Error, Source.SourceRange); in parseMBBReference()
926 SMLoc Loc = SourceRange.Start; in diagFromMIStringDiag()
[all …]
/netbsd/external/apache2/llvm/dist/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp188 SourceRange MsgRange = Msg->getSourceRange(); in rewriteToSubscriptGetCommon()
189 SourceRange RecRange = Rec->getSourceRange(); in rewriteToSubscriptGetCommon()
236 SourceRange MsgRange = Msg->getSourceRange(); in rewriteToArraySubscriptSet()
237 SourceRange RecRange = Rec->getSourceRange(); in rewriteToArraySubscriptSet()
270 SourceRange MsgRange = Msg->getSourceRange(); in rewriteToDictionarySubscriptSet()
271 SourceRange RecRange = Rec->getSourceRange(); in rewriteToDictionarySubscriptSet()
388 SourceRange MsgRange = Msg->getSourceRange(); in rewriteToArrayLiteral()
492 SourceRange MsgRange = Msg->getSourceRange(); in rewriteToDictionaryLiteral()
649 SourceRange ArgRange = Arg->getSourceRange(); in rewriteToCharLiteral()
826 SourceRange ArgRange = Arg->getSourceRange(); in rewriteToNumberLiteral()
[all …]
/netbsd/external/apache2/llvm/dist/clang/lib/Lex/
H A DPreprocessingRecord.cpp59 PreprocessingRecord::getPreprocessedEntitiesInRange(SourceRange Range) { in getPreprocessedEntitiesInRange()
137 PreprocessingRecord::getPreprocessedEntitiesInRangeSlow(SourceRange Range) { in getPreprocessedEntitiesInRangeSlow()
180 template <SourceLocation (SourceRange::*getRangeLoc)() const>
203 SourceRange Range = PPE->getSourceRange(); in getLoc()
307 PPEntityComp<&SourceRange::getBegin>(SourceMgr)); in addPreprocessedEntity()
394 SourceRange Range) { in addMacroExpansion()
424 SourceRange Range) { in Defined()
431 void PreprocessingRecord::SourceRangeSkipped(SourceRange Range, in SourceRangeSkipped()
439 SourceRange Range, in MacroExpands()
447 SourceRange R(MI->getDefinitionLoc(), MI->getDefinitionEndLoc()); in MacroDefined()
[all …]
/netbsd/external/apache2/llvm/dist/clang/include/clang/Rewrite/Core/
H A DRewriter.h88 int getRangeSize(SourceRange Range,
105 std::string getRewrittenText(SourceRange Range) const { in getRewrittenText()
151 bool RemoveText(SourceRange range, RewriteOptions opts = RewriteOptions()) {
171 bool ReplaceText(SourceRange range, StringRef NewStr) { in ReplaceText()
178 bool ReplaceText(SourceRange range, SourceRange replacementRange);
185 bool IncreaseIndentation(SourceRange range, SourceLocation parentIndent) { in IncreaseIndentation()
/netbsd/external/apache2/llvm/dist/clang/lib/AST/
H A DMicrosoftMangle.cpp442 SourceRange Range);
620 SourceRange SR = VD->getSourceRange(); in mangleVariableEncoding()
1553 mangleType(T, SourceRange(), QMM_Escape); in mangleTemplateArg()
1776 mangleType(T, SourceRange(), QMM_Escape); in mangleTemplateArgValue()
1794 mangleType(T, SourceRange(), QMM_Escape); in mangleTemplateArgValue()
1805 mangleType(T, SourceRange(), QMM_Escape); in mangleTemplateArgValue()
1815 mangleType(T, SourceRange(), QMM_Escape); in mangleTemplateArgValue()
1840 mangleType(T, SourceRange(), QMM_Escape); in mangleTemplateArgValue()
2508 SourceRange Range; in mangleFunctionType()
3206 SourceRange Range) { in mangleType()
[all …]
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCoverageMappingGen.h34 SourceRange Range;
40 SkippedRange(SourceRange Range, SourceLocation PrevTokLoc = SourceLocation(),
65 void AddSkippedRange(SourceRange Range);
67 void SourceRangeSkipped(SourceRange Range, SourceLocation EndifLoc) override;
69 void HandleEmptyline(SourceRange Range) override;
71 bool HandleComment(Preprocessor &PP, SourceRange Range) override;
/netbsd/external/apache2/llvm/dist/clang/include/clang/Edit/
H A DCommit.h95 bool insertFromRange(SourceLocation loc, SourceRange TokenRange,
102 bool insertWrap(StringRef before, SourceRange TokenRange, StringRef after) { in insertWrap()
106 bool remove(SourceRange TokenRange) { in remove()
110 bool replace(SourceRange TokenRange, StringRef text) { in replace()
114 bool replaceWithInner(SourceRange TokenRange, SourceRange TokenInnerRange) { in replaceWithInner()
/netbsd/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DParsedAttr.h143 SourceRange VersionRange;
294 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
310 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
331 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
348 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
367 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
845 SourceRange attrRange, in createTypeAttribute()
1076 Range = SourceRange(); in clear()
1079 SourceRange Range;
1085 Range = SourceRange(); in clearListOnly()
[all …]
H A DDeclSpec.h65 SourceRange Range;
165 SourceRange R);
200 void SetInvalid(SourceRange R) { in SetInvalid()
213 Range = SourceRange(); in clear()
377 SourceRange Range;
380 SourceRange TSWRange;
387 SourceRange TypeofParensRange;
1273 SourceRange Range;
1809 SourceRange Range;
2675 SourceRange ExplicitRange;
[all …]
/netbsd/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXCursor.h53 SourceRange RegionOfInterest = SourceRange(),
57 SourceRange RegionOfInterest = SourceRange());
137 CXCursor MakePreprocessingDirectiveCursor(SourceRange Range,
141 SourceRange getCursorPreprocessingDirective(CXCursor C);
190 SourceRange getSourceRange() const;
H A DCXSourceLocation.h59 SourceRange R) { in translateSourceRange()
69 static inline SourceRange translateCXSourceRange(CXSourceRange R) { in translateCXSourceRange()
70 return SourceRange(SourceLocation::getFromRawEncoding(R.begin_int_data), in translateCXSourceRange()
/netbsd/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/Rename/
H A DSymbolOccurrences.h71 ArrayRef<SourceRange> getNameRanges() const { in getNameRanges()
79 std::unique_ptr<SourceRange[]> MultipleRanges;
81 SourceRange SingleRange;
/netbsd/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
H A DReachableCode.h53 SourceRange ConditionVal,
54 SourceRange R1,
55 SourceRange R2) = 0;
/netbsd/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DSymbolOccurrences.cpp24 new (&SingleRange) SourceRange( in SymbolOccurrence()
28 MultipleRanges = std::make_unique<SourceRange[]>(Locations.size()); in SymbolOccurrence()
31 MultipleRanges[Loc.index()] = SourceRange( in SymbolOccurrence()
/netbsd/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
H A DRefactoringRuleContext.h41 SourceRange getSelectionRange() const { return SelectionRange; } in getSelectionRange()
43 void setSelectionRange(SourceRange R) { SelectionRange = R; } in setSelectionRange()
75 SourceRange SelectionRange;

12345678910>>...12