Home
last modified time | relevance | path

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

12345678910>>...12

/freebsd-14.2/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-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DTypeLoc.h552 SourceRange BuiltinRange;
843 return SourceRange(start, end); in getLocalSourceRange()
1051 return SourceRange(start, end); in getLocalSourceRange()
1440 SourceRange getParensRange() const { in getParensRange()
1716 SourceRange OperandParens;
1868 SourceRange OperandParens;
1975 SourceRange getParensRange() const { in getParensRange()
2091 SourceRange getParensRange() const { in getParensRange()
2573 SourceRange getParensRange() const { in getParensRange()
2602 SourceRange getLocalSourceRange() const { return SourceRange(getKWLoc()); } in getLocalSourceRange()
[all …]
H A DComment.h71 SourceRange Range;
212 void setSourceRange(SourceRange SR) {
222 SourceRange Range;
367 SourceRange getCommandNameRange() const {
394 SourceRange TagNameRange;
419 return SourceRange(L.getLocWithOffset(1),
442 SourceRange ValueRange;
459 SourceRange getNameRange() const {
762 SourceRange getParamNameRange() const {
829 SourceRange getParamNameRange() const {
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessingRecord.h89 SourceRange Range;
94 PreprocessedEntity(EntityKind Kind, SourceRange Range) in PreprocessedEntity()
135 PreprocessingDirective(EntityKind Kind, SourceRange Range) in PreprocessingDirective()
152 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.h308 const MacroDefinition &MD, SourceRange Range, in MacroExpands()
330 SourceRange Range) { in Defined()
358 virtual void If(SourceLocation Loc, SourceRange ConditionRange, in If()
368 virtual void Elif(SourceLocation Loc, SourceRange ConditionRange, in Elif()
392 virtual void Elifdef(SourceLocation Loc, SourceRange ConditionRange, in Elifdef()
416 virtual void Elifndef(SourceLocation Loc, SourceRange ConditionRange, in Elifndef()
630 SourceRange Range) override { in Defined()
641 void If(SourceLocation Loc, SourceRange ConditionRange, in If()
648 void Elif(SourceLocation Loc, SourceRange ConditionRange, in Elif()
668 void Elifdef(SourceLocation Loc, SourceRange ConditionRange, in Elifdef()
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugSuppression.cpp18 using Ranges = llvm::SmallVectorImpl<SourceRange>;
38 template <class NodeType> inline SourceRange getRange(const NodeType *Node) { in getRange()
41 template <> inline SourceRange getRange(const AttributedStmt *S) { in getRange()
65 inline bool fullyContains(SourceRange Larger, SourceRange Smaller, in fullyContains()
112 void addRange(SourceRange R) { in addRange()
162 SourceRange BugRange = Location.asRange(); in isSuppressed()
166 [BugRange, &SM](SourceRange Suppression) { in isSuppressed()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp605 return error(VReg.ID.SourceRange.Start, in parseRegisterInfo()
622 VReg.Class.SourceRange.Start, in parseRegisterInfo()
788 return error(Object.ID.SourceRange.Start, in initializeFrameInfo()
795 return error(Object.ID.SourceRange.Start, in initializeFrameInfo()
832 return error(Name.SourceRange.Start, in initializeFrameInfo()
958 return error(Error, Source.SourceRange); in parseMDNode()
1004 return error(Entry.ID.SourceRange.Start, in initializeJumpTableInfo()
1016 return error(Error, Source.SourceRange); in parseMBBReference()
1024 return error(Error, Source.SourceRange); in parseMachineMetadata()
1046 SMLoc Loc = SourceRange.Start; in diagFromMIStringDiag()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
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 …]
H A DAttributeCommonInfo.h74 SourceRange AttrRange;
141 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo()
154 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo()
161 AttributeCommonInfo(const IdentifierInfo *AttrName, SourceRange AttrRange, in AttributeCommonInfo()
166 AttributeCommonInfo(SourceRange AttrRange, Kind K, Form FormUsed) in AttributeCommonInfo()
182 SourceRange getRange() const { return AttrRange; } in getRange()
183 void setRange(SourceRange R) { AttrRange = R; } in setRange()
/freebsd-14.2/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp189 SourceRange MsgRange = Msg->getSourceRange(); in rewriteToSubscriptGetCommon()
190 SourceRange RecRange = Rec->getSourceRange(); in rewriteToSubscriptGetCommon()
237 SourceRange MsgRange = Msg->getSourceRange(); in rewriteToArraySubscriptSet()
238 SourceRange RecRange = Rec->getSourceRange(); in rewriteToArraySubscriptSet()
271 SourceRange MsgRange = Msg->getSourceRange(); in rewriteToDictionarySubscriptSet()
272 SourceRange RecRange = Rec->getSourceRange(); in rewriteToDictionarySubscriptSet()
389 SourceRange MsgRange = Msg->getSourceRange(); in rewriteToArrayLiteral()
493 SourceRange MsgRange = Msg->getSourceRange(); in rewriteToDictionaryLiteral()
650 SourceRange ArgRange = Arg->getSourceRange(); in rewriteToCharLiteral()
827 SourceRange ArgRange = Arg->getSourceRange(); in rewriteToNumberLiteral()
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessingRecord.cpp46 SourceRange Range) in InclusionDirective()
60 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()
389 SourceRange Range) { in addMacroExpansion()
436 SourceRange Range) { in Defined()
443 void PreprocessingRecord::SourceRangeSkipped(SourceRange Range, in SourceRangeSkipped()
451 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-14.2/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftMangle.cpp462 SourceRange Range);
464 SourceRange Range);
642 SourceRange SR = VD->getSourceRange(); in mangleVariableEncoding()
1666 mangleType(T, SourceRange(), QMM_Escape); in mangleTemplateArg()
1928 mangleType(T, SourceRange(), QMM_Escape); in mangleTemplateArgValue()
1946 mangleType(T, SourceRange(), QMM_Escape); in mangleTemplateArgValue()
1957 mangleType(T, SourceRange(), QMM_Escape); in mangleTemplateArgValue()
1967 mangleType(T, SourceRange(), QMM_Escape); in mangleTemplateArgValue()
1992 mangleType(T, SourceRange(), QMM_Escape); in mangleTemplateArgValue()
2676 SourceRange Range; in mangleFunctionType()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.h40 SourceRange Range;
52 SkippedRange(SourceRange Range, Kind K,
79 void AddSkippedRange(SourceRange Range, SkippedRange::Kind RangeKind);
81 void SourceRangeSkipped(SourceRange Range, SourceLocation EndifLoc) override;
83 void HandleEmptyline(SourceRange Range) override;
85 bool HandleComment(Preprocessor &PP, SourceRange Range) override;
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeGenError.h23 ByteCodeGenError(SourceRange Range) : Range(Range) {} in ByteCodeGenError()
29 const SourceRange &getRange() const { return Range; } in getRange()
35 SourceRange Range;
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DReachableCode.h52 SourceRange ConditionVal, SourceRange R1,
53 SourceRange R2, bool HasFallThroughAttr) = 0;
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedAttr.h55 SourceRange VersionRange;
206 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
221 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
241 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
257 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
275 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
288 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr()
727 ParsedAttr *create(IdentifierInfo *attrName, SourceRange attrRange,
784 SourceRange attrRange, in createTypeAttribute()
813 SourceRange Range;
[all …]
/freebsd-14.2/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;

12345678910>>...12