| /netbsd-src/external/apache2/llvm/dist/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 …]
|
| /netbsd-src/external/apache2/llvm/dist/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() 200 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) { in Comment() 214 SourceRange getSourceRange() const LLVM_READONLY { return Range; } in getSourceRange() 300 SourceRange Range; 303 Argument(SourceRange Range, StringRef Text) : Range(Range), Text(Text) { } in Argument() 348 SourceRange getCommandNameRange() const { in getCommandNameRange() 349 return SourceRange(getBeginLoc().getLocWithOffset(-1), getEndLoc()); in getCommandNameRange() 364 SourceRange getArgRange(unsigned Idx) const { in getArgRange() 374 SourceRange TagNameRange; [all …]
|
| H A D | ExprCXX.h | 86 SourceRange Range; 91 SourceRange getSourceRangeImpl() const LLVM_READONLY; 162 SourceRange getSourceRange() const { return Range; } in getSourceRange() 351 SourceRange getSourceRange() const LLVM_READONLY { in getSourceRange() 353 return SourceRange(DF.LHS->getBeginLoc(), DF.RHS->getEndLoc()); in getSourceRange() 382 SourceRange AngleBrackets; 390 SourceLocation RParenLoc, SourceRange AngleBrackets) in CXXNamedCastExpr() 411 SourceRange getAngleBrackets() const LLVM_READONLY { return AngleBrackets; } in getAngleBrackets() 438 SourceLocation RParenLoc, SourceRange AngleBrackets) in CXXStaticCastExpr() 463 SourceRange AngleBrackets); [all …]
|
| H A D | RawCommentList.h | 47 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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/ |
| H A D | PreprocessingRecord.h | 91 SourceRange Range; 96 PreprocessedEntity(EntityKind Kind, SourceRange Range) in PreprocessedEntity() 105 SourceRange getSourceRange() const LLVM_READONLY { return Range; } in getSourceRange() 137 PreprocessingDirective(EntityKind Kind, SourceRange Range) in PreprocessingDirective() 154 SourceRange Range) in MacroDefinitionRecord() 176 MacroExpansion(IdentifierInfo *BuiltinName, SourceRange Range) in MacroExpansion() 180 MacroExpansion(MacroDefinitionRecord *Definition, SourceRange Range) in MacroExpansion() 251 const FileEntry *File, SourceRange Range); 292 findPreprocessedEntitiesInRange(SourceRange Range) = 0; 302 virtual SourceRange ReadSkippedRange(unsigned Index) = 0; [all …]
|
| H A D | PPCallbacks.h | 282 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-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| H A D | AttributeCommonInfo.h | 64 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 D | SourceLocation.h | 212 class SourceRange { 217 SourceRange() = default; 218 SourceRange(SourceLocation loc) : B(loc), E(loc) {} 219 SourceRange(SourceLocation begin, SourceLocation end) : B(begin), E(end) {} 230 bool operator==(const SourceRange &X) const { 234 bool operator!=(const SourceRange &X) const { 239 bool fullyContains(const SourceRange &other) const { 256 SourceRange Range; 261 CharSourceRange(SourceRange R, bool ITR) : Range(R), IsTokenRange(ITR) {} 263 static CharSourceRange getTokenRange(SourceRange R) { [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIRParser.cpp | 90 bool error(const SMDiagnostic &Error, SMRange SourceRange); 156 SMRange SourceRange); 161 SMRange SourceRange); 199 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) { in error() argument 201 reportDiagnostic(diagFromMIStringDiag(Error, SourceRange)); in error() 396 return error(Error, ArgRegPair.Reg.SourceRange); in initializeCallSiteInfo() 470 diagFromBlockStringDiag(Error, YamlMF.Body.Value.SourceRange)); in initializeMachineFunction() 500 diagFromBlockStringDiag(Error, YamlMF.Body.Value.SourceRange)); in initializeMachineFunction() 555 return error(VReg.ID.SourceRange.Start, in parseRegisterInfo() 572 VReg.Class.SourceRange.Start, in parseRegisterInfo() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 175 SourceRange RecRange = Receiver->getSourceRange(); in maybePutParensOnReceiver() 188 SourceRange MsgRange = Msg->getSourceRange(); in rewriteToSubscriptGetCommon() 189 SourceRange RecRange = Rec->getSourceRange(); in rewriteToSubscriptGetCommon() 190 SourceRange ArgRange = Msg->getArg(0)->getSourceRange(); in rewriteToSubscriptGetCommon() 195 commit.replaceWithInner(SourceRange(ArgRange.getBegin(), MsgRange.getEnd()), in rewriteToSubscriptGetCommon() 236 SourceRange MsgRange = Msg->getSourceRange(); in rewriteToArraySubscriptSet() 237 SourceRange RecRange = Rec->getSourceRange(); in rewriteToArraySubscriptSet() 238 SourceRange Arg0Range = Msg->getArg(0)->getSourceRange(); in rewriteToArraySubscriptSet() 239 SourceRange Arg1Range = Msg->getArg(1)->getSourceRange(); in rewriteToArraySubscriptSet() 247 commit.replaceWithInner(SourceRange(Arg1Range.getBegin(), MsgRange.getEnd()), in rewriteToArraySubscriptSet() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/ |
| H A D | PreprocessingRecord.cpp | 45 const FileEntry *File, SourceRange Range) in InclusionDirective() 59 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 …]
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | MicrosoftMangle.cpp | 366 void mangleAddressSpaceType(QualType T, Qualifiers Quals, SourceRange Range); 367 void mangleType(QualType T, SourceRange Range, 405 void mangleFunctionArgumentType(QualType T, SourceRange Range); 415 SourceRange Range); 442 SourceRange Range); 444 SourceRange Range); 620 SourceRange SR = VD->getSourceRange(); in mangleVariableEncoding() 1466 mangleType(TemplateArgType, SourceRange(), QMM_Drop); in mangleIntegerLiteral() 1553 mangleType(T, SourceRange(), QMM_Escape); in mangleTemplateArg() 1668 mangleType(T, SourceRange(), QMM_Escape); in mangleTemplateArgValue() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CoverageMappingGen.h | 34 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-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| H A D | ParsedAttr.h | 143 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() 380 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() 787 ParsedAttr *create(IdentifierInfo *attrName, SourceRange attrRange, 806 ParsedAttr *create(IdentifierInfo *attrName, SourceRange attrRange, in create() 820 ParsedAttr *create(IdentifierInfo *attrName, SourceRange attrRange, in create() [all …]
|
| H A D | DeclSpec.h | 65 SourceRange Range; 69 SourceRange getRange() const { return Range; } in getRange() 70 void setRange(SourceRange R) { Range = R; } in setRange() 165 SourceRange R); 200 void SetInvalid(SourceRange R) { in SetInvalid() 213 Range = SourceRange(); in clear() 377 SourceRange Range; 380 SourceRange TSWRange; 387 SourceRange TypeofParensRange; 506 SourceRange getSourceRange() const LLVM_READONLY { return Range; } in getSourceRange() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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;
|
| /netbsd-src/external/apache2/llvm/dist/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;
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/ |
| H A D | ReachableCode.h | 53 SourceRange ConditionVal, 54 SourceRange R1, 55 SourceRange R2) = 0;
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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;
|