| /openbsd-src/gnu/llvm/clang/lib/ARCMigrate/ |
| H A D | Internals.h | 33 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) { in clearAllDiagnostics() 79 bool clearDiagnostic(unsigned ID1, unsigned ID2, SourceRange range) { in clearDiagnostic() 84 SourceRange range) { in clearDiagnostic() [all …]
|
| H A D | TransformActions.cpp | 46 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, 145 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); 152 bool canRemoveRange(SourceRange range); 153 bool canReplaceRange(SourceRange range, SourceRange replacementRange); 158 void commitRemove(SourceRange range); [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | TypeLoc.h | 152 SourceRange getSourceRange() const LLVM_READONLY { in getSourceRange() 153 return SourceRange(getBeginLoc(), getEndLoc()); in getSourceRange() 158 SourceRange getLocalSourceRange() const { in getLocalSourceRange() 240 static SourceRange getLocalSourceRangeImpl(TypeLoc TL); 279 SourceRange getLocalSourceRange() const { return {}; } in getLocalSourceRange() 531 SourceRange getLocalSourceRange() const { in getLocalSourceRange() 532 return SourceRange(getNameLoc(), getNameLoc()); in getLocalSourceRange() 546 SourceRange BuiltinRange; 563 void expandBuiltinRange(SourceRange Range) { in expandBuiltinRange() 564 SourceRange &BuiltinRange = getLocalData()->BuiltinRange; in expandBuiltinRange() [all …]
|
| H A D | Comment.h | 58 SourceRange Range; 177 void setSourceRange(SourceRange SR) { in setSourceRange() 198 SourceRange Range; 205 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) { in Comment() 219 SourceRange getSourceRange() const LLVM_READONLY { return Range; } in getSourceRange() 346 SourceRange getCommandNameRange() const { in getCommandNameRange() 347 return SourceRange(getBeginLoc().getLocWithOffset(-1), getEndLoc()); in getCommandNameRange() 362 SourceRange getArgRange(unsigned Idx) const { in getArgRange() 372 SourceRange TagNameRange; 395 SourceRange getTagNameSourceRange() const LLVM_READONLY { in getTagNameSourceRange() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Lex/ |
| H A D | PreprocessingRecord.h | 89 SourceRange Range; 94 PreprocessedEntity(EntityKind Kind, SourceRange Range) in PreprocessedEntity() 103 SourceRange getSourceRange() const LLVM_READONLY { return Range; } in getSourceRange() 135 PreprocessingDirective(EntityKind Kind, SourceRange Range) in PreprocessingDirective() 152 SourceRange Range) in MacroDefinitionRecord() 174 MacroExpansion(IdentifierInfo *BuiltinName, SourceRange Range) in MacroExpansion() 178 MacroExpansion(MacroDefinitionRecord *Definition, SourceRange Range) in MacroExpansion() 248 OptionalFileEntryRef File, SourceRange Range); 289 findPreprocessedEntitiesInRange(SourceRange Range) = 0; 299 virtual SourceRange ReadSkippedRange(unsigned Index) = 0; [all …]
|
| H A D | PPConditionalDirectiveRecord.h | 75 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 D | PPCallbacks.h | 308 const MacroDefinition &MD, SourceRange Range, in MacroExpands() 330 SourceRange Range) { in Defined() 345 virtual void SourceRangeSkipped(SourceRange Range, SourceLocation EndifLoc) { in SourceRangeSkipped() 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() 611 SourceRange Range, const MacroArgs *Args) override { in MacroExpands() 630 SourceRange Range) override { in Defined() 635 void SourceRangeSkipped(SourceRange Range, SourceLocation EndifLoc) override { in SourceRangeSkipped() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/Dynamic/ |
| H A D | Diagnostics.h | 36 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);
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | AttributeCommonInfo.h | 67 SourceRange AttrRange; 79 AttributeCommonInfo(SourceRange AttrRange) in AttributeCommonInfo() 88 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo() 96 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo() 103 const IdentifierInfo *ScopeName, SourceRange AttrRange, in AttributeCommonInfo() 110 AttributeCommonInfo(const IdentifierInfo *AttrName, SourceRange AttrRange, in AttributeCommonInfo() 116 AttributeCommonInfo(SourceRange AttrRange, Kind K, Syntax SyntaxUsed) in AttributeCommonInfo() 121 AttributeCommonInfo(SourceRange AttrRange, Kind K, Syntax SyntaxUsed, in AttributeCommonInfo() 133 SourceRange getRange() const { return AttrRange; } in getRange() 134 void setRange(SourceRange R) { AttrRange = R; } in setRange()
|
| H A D | SourceLocation.h | 210 class SourceRange { 215 SourceRange() = default; 216 SourceRange(SourceLocation loc) : B(loc), E(loc) {} 217 SourceRange(SourceLocation begin, SourceLocation end) : B(begin), E(end) {} 228 bool operator==(const SourceRange &X) const { 232 bool operator!=(const SourceRange &X) const { 237 bool fullyContains(const SourceRange &other) const { 254 SourceRange Range; 259 CharSourceRange(SourceRange R, bool ITR) : Range(R), IsTokenRange(ITR) {} 261 static CharSourceRange getTokenRange(SourceRange R) { [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIRParser.cpp | 89 bool error(const SMDiagnostic &Error, SMRange SourceRange); 162 SMRange SourceRange); 167 SMRange SourceRange); 204 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) { in error() argument 206 reportDiagnostic(diagFromMIStringDiag(Error, SourceRange)); in error() 418 return error(Error, ArgRegPair.Reg.SourceRange); in initializeCallSiteInfo() 510 diagFromBlockStringDiag(Error, YamlMF.Body.Value.SourceRange)); in initializeMachineFunction() 540 diagFromBlockStringDiag(Error, YamlMF.Body.Value.SourceRange)); in initializeMachineFunction() 595 return error(VReg.ID.SourceRange.Start, in parseRegisterInfo() 612 VReg.Class.SourceRange.Start, in parseRegisterInfo() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 176 SourceRange RecRange = Receiver->getSourceRange(); in maybePutParensOnReceiver() 189 SourceRange MsgRange = Msg->getSourceRange(); in rewriteToSubscriptGetCommon() 190 SourceRange RecRange = Rec->getSourceRange(); in rewriteToSubscriptGetCommon() 191 SourceRange ArgRange = Msg->getArg(0)->getSourceRange(); in rewriteToSubscriptGetCommon() 196 commit.replaceWithInner(SourceRange(ArgRange.getBegin(), MsgRange.getEnd()), in rewriteToSubscriptGetCommon() 237 SourceRange MsgRange = Msg->getSourceRange(); in rewriteToArraySubscriptSet() 238 SourceRange RecRange = Rec->getSourceRange(); in rewriteToArraySubscriptSet() 239 SourceRange Arg0Range = Msg->getArg(0)->getSourceRange(); in rewriteToArraySubscriptSet() 240 SourceRange Arg1Range = Msg->getArg(1)->getSourceRange(); in rewriteToArraySubscriptSet() 248 commit.replaceWithInner(SourceRange(Arg1Range.getBegin(), MsgRange.getEnd()), in rewriteToArraySubscriptSet() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Rewrite/Core/ |
| H A D | Rewriter.h | 88 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()
|
| /openbsd-src/gnu/llvm/clang/lib/Lex/ |
| H A D | PreprocessingRecord.cpp | 46 SourceRange Range) in InclusionDirective() 60 PreprocessingRecord::getPreprocessedEntitiesInRange(SourceRange Range) { in getPreprocessedEntitiesInRange() 137 PreprocessingRecord::getPreprocessedEntitiesInRangeSlow(SourceRange Range) { in getPreprocessedEntitiesInRangeSlow() 168 SourceRange Range) const { in findLocalPreprocessedEntitiesInRange() 180 template <SourceLocation (SourceRange::*getRangeLoc)() const> 203 SourceRange Range = PPE->getSourceRange(); in getLoc() 247 PPEntityComp<&SourceRange::getBegin>(SourceMgr)); in findEndLocalPreprocessedEntity() 307 PPEntityComp<&SourceRange::getBegin>(SourceMgr)); in addPreprocessedEntity() 377 PreprocessedEntity(PreprocessedEntity::InvalidKind, SourceRange()); in getLoadedPreprocessedEntity() 394 SourceRange Range) { in addMacroExpansion() [all …]
|
| H A D | PPConditionalDirectiveRecord.cpp | 24 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
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CoverageMappingGen.h | 40 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;
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | MicrosoftMangle.cpp | 381 void mangleAddressSpaceType(QualType T, Qualifiers Quals, SourceRange Range); 382 void mangleType(QualType T, SourceRange Range, 420 void mangleFunctionArgumentType(QualType T, SourceRange Range); 430 SourceRange Range); 457 SourceRange Range); 459 SourceRange Range); 638 SourceRange SR = VD->getSourceRange(); in mangleVariableEncoding() 1501 mangleType(TemplateArgType, SourceRange(), QMM_Drop); in mangleIntegerLiteral() 1588 mangleType(T, SourceRange(), QMM_Escape); in mangleTemplateArg() 1703 mangleType(T, SourceRange(), QMM_Escape); in mangleTemplateArgValue() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Edit/ |
| H A D | Commit.h | 95 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()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/Interp/ |
| H A D | ByteCodeGenError.h | 23 ByteCodeGenError(SourceRange Range) : Range(Range) {} in ByteCodeGenError() 29 const SourceRange &getRange() const { return Range; } in getRange() 35 SourceRange Range;
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CXCursor.h | 53 SourceRange RegionOfInterest = SourceRange(), 57 SourceRange RegionOfInterest = SourceRange()); 137 CXCursor MakePreprocessingDirectiveCursor(SourceRange Range, 141 SourceRange getCursorPreprocessingDirective(CXCursor C); 190 SourceRange getSourceRange() const;
|
| /openbsd-src/gnu/llvm/clang/include/clang/Tooling/Refactoring/Rename/ |
| H A D | SymbolOccurrences.h | 71 ArrayRef<SourceRange> getNameRanges() const { in getNameRanges() 79 std::unique_ptr<SourceRange[]> MultipleRanges; 81 SourceRange SingleRange;
|
| /openbsd-src/gnu/llvm/clang/include/clang/Analysis/Analyses/ |
| H A D | ReachableCode.h | 53 SourceRange ConditionVal, 54 SourceRange R1, 55 SourceRange R2) = 0;
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | SymbolOccurrences.cpp | 24 new (&SingleRange) SourceRange( in SymbolOccurrence() 28 MultipleRanges = std::make_unique<SourceRange[]>(Locations.size()); in SymbolOccurrence() 31 MultipleRanges[Loc.index()] = SourceRange( in SymbolOccurrence()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 66 SourceRange Range; 70 SourceRange getRange() const { return Range; } in getRange() 71 void setRange(SourceRange R) { Range = R; } in setRange() 166 SourceRange R); 201 void SetInvalid(SourceRange R) { in SetInvalid() 214 Range = SourceRange(); in clear() 388 SourceRange Range; 391 SourceRange TSWRange; 398 SourceRange TypeofParensRange; 525 SourceRange getSourceRange() const LLVM_READONLY { return Range; } in getSourceRange() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Tooling/Refactoring/ |
| H A D | RefactoringRuleContext.h | 41 SourceRange getSelectionRange() const { return SelectionRange; } in getSelectionRange() 43 void setSelectionRange(SourceRange R) { SelectionRange = R; } in setSelectionRange() 75 SourceRange SelectionRange;
|