Home
last modified time | relevance | path

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

1234567891011

/freebsd-13.1/contrib/llvm-project/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 …]
/freebsd-13.1/contrib/llvm-project/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 DRawCommentList.h47 RawComment(const SourceManager &SourceMgr, SourceRange SR,
107 SourceRange getSourceRange() const LLVM_READONLY { return Range; } in getSourceRange()
147 SourceRange Range;
164 RawComment(SourceRange SR, CommentKind K, bool IsTrailingComment, in RawComment()
/freebsd-13.1/contrib/llvm-project/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()
551 SourceRange Range) override;
553 void SourceRangeSkipped(SourceRange Range,
557 SourceRange Range);
[all …]
H A DPPConditionalDirectiveRecord.h75 bool rangeIntersectsConditionalDirective(SourceRange Range) const;
88 void If(SourceLocation Loc, SourceRange ConditionRange,
90 void Elif(SourceLocation Loc, SourceRange ConditionRange,
98 void Elifdef(SourceLocation Loc, SourceRange ConditionRange,
102 void Elifndef(SourceLocation Loc, SourceRange ConditionRange,
H A DPPCallbacks.h286 const MacroDefinition &MD, SourceRange Range, in MacroExpands()
308 SourceRange Range) { in Defined()
336 virtual void If(SourceLocation Loc, SourceRange ConditionRange, in If()
346 virtual void Elif(SourceLocation Loc, SourceRange ConditionRange, in Elif()
370 virtual void Elifdef(SourceLocation Loc, SourceRange ConditionRange, in Elifdef()
394 virtual void Elifndef(SourceLocation Loc, SourceRange ConditionRange, in Elifndef()
594 SourceRange Range) override { in Defined()
605 void If(SourceLocation Loc, SourceRange ConditionRange, in If()
612 void Elif(SourceLocation Loc, SourceRange ConditionRange, in Elif()
632 void Elifdef(SourceLocation Loc, SourceRange ConditionRange, in Elifdef()
[all …]
/freebsd-13.1/contrib/llvm-project/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);
/freebsd-13.1/contrib/llvm-project/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 …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp565 return error(VReg.ID.SourceRange.Start, in parseRegisterInfo()
582 VReg.Class.SourceRange.Start, in parseRegisterInfo()
739 return error(Object.ID.SourceRange.Start, in initializeFrameInfo()
746 return error(Object.ID.SourceRange.Start, in initializeFrameInfo()
765 return error(Name.SourceRange.Start, in initializeFrameInfo()
871 return error(Error, Source.SourceRange); in parseMDNode()
917 return error(Entry.ID.SourceRange.Start, in initializeJumpTableInfo()
929 return error(Error, Source.SourceRange); in parseMBBReference()
937 return error(Error, Source.SourceRange); in parseMachineMetadata()
959 SMLoc Loc = SourceRange.Start; in diagFromMIStringDiag()
[all …]
/freebsd-13.1/contrib/llvm-project/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 …]
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessingRecord.cpp45 const FileEntry *File, SourceRange Range) in InclusionDirective()
59 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()
441 SourceRange Range) { in Defined()
448 void PreprocessingRecord::SourceRangeSkipped(SourceRange Range, in SourceRangeSkipped()
456 SourceRange Range, in MacroExpands()
[all …]
H A DPPConditionalDirectiveRecord.cpp24 SourceRange Range) const { in rangeIntersectsConditionalDirective()
76 SourceRange ConditionRange, in If()
97 SourceRange ConditionRange, in Elif()
109 void PPConditionalDirectiveRecord::Elifdef(SourceLocation Loc, SourceRange, in Elifdef() argument
120 void PPConditionalDirectiveRecord::Elifndef(SourceLocation Loc, SourceRange, in Elifndef() argument
/freebsd-13.1/contrib/llvm-project/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;
/freebsd-13.1/contrib/llvm-project/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()
3209 SourceRange Range) { in mangleType()
[all …]
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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;
2677 SourceRange ExplicitRange;
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DReachableCode.h53 SourceRange ConditionVal,
54 SourceRange R1,
55 SourceRange R2) = 0;
/freebsd-13.1/contrib/llvm-project/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;
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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;

1234567891011