Searched refs:SourceRange (Results 1 - 25 of 277) sorted by relevance

1234567891011>>

/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
H A DReachableCode.h53 SourceRange ConditionVal,
54 SourceRange R1,
55 SourceRange R2) = 0;
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/Rename/
H A DSymbolOccurrences.h71 ArrayRef<SourceRange> getNameRanges() const {
79 std::unique_ptr<SourceRange[]> MultipleRanges;
81 SourceRange SingleRange;
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DAttrSubjectMatchRules.h26 using ParsedSubjectMatchRuleSet = llvm::DenseMap<int, SourceRange>;
H A DAttributeCommonInfo.h64 SourceRange AttrRange;
76 AttributeCommonInfo(SourceRange AttrRange)
85 const IdentifierInfo *ScopeName, SourceRange AttrRange,
93 const IdentifierInfo *ScopeName, SourceRange AttrRange,
100 const IdentifierInfo *ScopeName, SourceRange AttrRange,
107 AttributeCommonInfo(const IdentifierInfo *AttrName, SourceRange AttrRange,
113 AttributeCommonInfo(SourceRange AttrRange, Kind K, Syntax SyntaxUsed)
118 AttributeCommonInfo(SourceRange AttrRange, Kind K, Syntax SyntaxUsed,
130 SourceRange getRange() const { return AttrRange; }
131 void setRange(SourceRange
[all...]
H A DSourceLocation.h212 class SourceRange { class in class:clang::SourceLocation
217 SourceRange() = default;
218 SourceRange(SourceLocation loc) : B(loc), E(loc) {} function in class:clang::SourceLocation::SourceRange
219 SourceRange(SourceLocation begin, SourceLocation end) : B(begin), E(end) {} function in class:clang::SourceLocation::SourceRange
230 bool operator==(const SourceRange &X) const {
234 bool operator!=(const SourceRange &X) const {
239 bool fullyContains(const SourceRange &other) const {
250 /// The underlying SourceRange can either specify the starting/ending character
256 SourceRange Range;
261 CharSourceRange(SourceRange
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/Extract/
H A DSourceExtraction.h18 class SourceRange;
35 SourceRange &ExtractedRange,
/netbsd-current/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DInternals.h33 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
34 bool hasDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) const;
65 void remove(SourceRange range);
67 void replace(SourceRange range, StringRef text);
68 void replace(SourceRange range, SourceRange replacementRange);
72 void increaseIndentation(SourceRange range,
75 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
76 bool clearAllDiagnostics(SourceRange range) {
79 bool clearDiagnostic(unsigned ID1, unsigned ID2, SourceRange rang
[all...]
H A DTransformActions.cpp46 SourceRange R1, R2;
97 static RangeComparison compare(SourceRange LHS, SourceRange RHS,
135 void remove(SourceRange range);
137 void replace(SourceRange range, StringRef text);
138 void replace(SourceRange range, SourceRange replacementRange);
142 void increaseIndentation(SourceRange range,
145 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
152 bool canRemoveRange(SourceRange rang
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DSymbolOccurrences.cpp24 new (&SingleRange) SourceRange(
28 MultipleRanges = std::make_unique<SourceRange[]>(Locations.size());
31 MultipleRanges[Loc.index()] = SourceRange(
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/
H A DDiagnostics.h36 struct SourceRange { struct in namespace:clang::ast_matchers::dynamic
45 SourceRange Range;
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);
H A DRegistry.h91 buildMatcherCtor(MatcherCtor, SourceRange NameRange,
139 SourceRange NameRange,
150 SourceRange NameRange,
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Parse/
H A DLoopHint.h22 SourceRange Range;
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DTypeLoc.h152 SourceRange getSourceRange() const LLVM_READONLY {
153 return SourceRange(getBeginLoc(), getEndLoc());
158 SourceRange getLocalSourceRange() const {
240 static SourceRange getLocalSourceRangeImpl(TypeLoc TL);
279 SourceRange getLocalSourceRange() const { return {}; }
531 SourceRange getLocalSourceRange() const {
532 return SourceRange(getNameLoc(), getNameLoc());
546 SourceRange BuiltinRange;
563 void expandBuiltinRange(SourceRange Range) {
564 SourceRange
[all...]
H A DComment.h58 SourceRange Range;
177 void setSourceRange(SourceRange SR) {
200 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) {
214 SourceRange getSourceRange() const LLVM_READONLY { return Range; }
300 SourceRange Range;
303 Argument(SourceRange Range, StringRef Text) : Range(Range), Text(Text) { }
348 SourceRange getCommandNameRange() const {
349 return SourceRange(getBeginLoc().getLocWithOffset(-1), getEndLoc());
364 SourceRange getArgRange(unsigned Idx) const {
374 SourceRange TagNameRang
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXSourceLocation.h59 SourceRange R) {
69 static inline SourceRange translateCXSourceRange(CXSourceRange R) {
70 return SourceRange(SourceLocation::getFromRawEncoding(R.begin_int_data),
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;
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
H A DRefactoringRuleContext.h41 SourceRange getSelectionRange() const { return SelectionRange; }
43 void setSelectionRange(SourceRange R) { SelectionRange = R; }
75 SourceRange SelectionRange;
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DPreprocessingRecord.h91 SourceRange Range;
96 PreprocessedEntity(EntityKind Kind, SourceRange Range)
105 SourceRange getSourceRange() const LLVM_READONLY { return Range; }
137 PreprocessingDirective(EntityKind Kind, SourceRange Range)
154 SourceRange Range)
176 MacroExpansion(IdentifierInfo *BuiltinName, SourceRange Range)
180 MacroExpansion(MacroDefinitionRecord *Definition, SourceRange Range)
251 const FileEntry *File, SourceRange Range);
292 findPreprocessedEntitiesInRange(SourceRange Range) = 0;
302 virtual SourceRange ReadSkippedRang
[all...]
H A DPPConditionalDirectiveRecord.h75 bool rangeIntersectsConditionalDirective(SourceRange Range) const;
88 void If(SourceLocation Loc, SourceRange ConditionRange,
90 void Elif(SourceLocation Loc, SourceRange ConditionRange,
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Rewrite/Core/
H A DRewriter.h88 int getRangeSize(SourceRange Range,
105 std::string getRewrittenText(SourceRange Range) const {
151 bool RemoveText(SourceRange range, RewriteOptions opts = RewriteOptions()) {
171 bool ReplaceText(SourceRange range, StringRef NewStr) {
178 bool ReplaceText(SourceRange range, SourceRange replacementRange);
185 bool IncreaseIndentation(SourceRange range, SourceLocation parentIndent) {
/netbsd-current/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) {
106 bool remove(SourceRange TokenRange) {
110 bool replace(SourceRange TokenRange, StringRef text) {
114 bool replaceWithInner(SourceRange TokenRange, SourceRange TokenInnerRange) {
/netbsd-current/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-current/external/apache2/llvm/dist/clang/tools/clang-refactor/
H A DTestSupport.h62 llvm::function_ref<void(SourceRange)> Callback) const;
/netbsd-current/external/apache2/llvm/dist/clang/lib/Lex/
H A DPreprocessingRecord.cpp45 const FileEntry *File, SourceRange Range)
59 PreprocessingRecord::getPreprocessedEntitiesInRange(SourceRange Range) {
137 PreprocessingRecord::getPreprocessedEntitiesInRangeSlow(SourceRange Range) {
168 SourceRange Range) const {
180 template <SourceLocation (SourceRange::*getRangeLoc)() const>
203 SourceRange Range = PPE->getSourceRange();
247 PPEntityComp<&SourceRange::getBegin>(SourceMgr));
307 PPEntityComp<&SourceRange::getBegin>(SourceMgr));
377 PreprocessedEntity(PreprocessedEntity::InvalidKind, SourceRange());
394 SourceRange Rang
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp90 bool error(const SMDiagnostic &Error, SMRange SourceRange);
156 SMRange SourceRange);
161 SMRange SourceRange);
199 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) { argument
201 reportDiagnostic(diagFromMIStringDiag(Error, SourceRange));
396 return error(Error, ArgRegPair.Reg.SourceRange);
470 diagFromBlockStringDiag(Error, YamlMF.Body.Value.SourceRange));
500 diagFromBlockStringDiag(Error, YamlMF.Body.Value.SourceRange));
555 return error(VReg.ID.SourceRange.Start,
572 VReg.Class.SourceRange
923 diagFromMIStringDiag(const SMDiagnostic &Error, SMRange SourceRange) argument
[all...]

Completed in 213 milliseconds

1234567891011>>