| /freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
| HD | Internals.h | 31 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); 32 bool hasDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) const; 63 void remove(SourceRange range); 65 void replace(SourceRange range, StringRef text); 66 void replace(SourceRange range, SourceRange replacementRange); 70 void increaseIndentation(SourceRange range, 73 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); 74 bool clearAllDiagnostics(SourceRange range) { in clearAllDiagnostics() 77 bool clearDiagnostic(unsigned ID1, unsigned ID2, SourceRange range) { in clearDiagnostic() 82 SourceRange range) { in clearDiagnostic() [all …]
|
| HD | 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 …]
|
| HD | TransProtectedScope.cpp | 42 SourceRange Range; 50 CaseInfo(SwitchCase *S, SourceRange Range) in CaseInfo() 80 CaseInfo(Curr, SourceRange(Curr->getBeginLoc(), NextLoc))); in VisitSwitchStmt() 110 SourceRange BodyRange = BodyCtx.getTopStmt()->getSourceRange(); in ProtectedScopeFixer() 190 bool isInRange(SourceLocation Loc, SourceRange R) { in isInRange()
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/ |
| HD | 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 …]
|
| HD | Comment.h | 58 SourceRange Range; 177 void setSourceRange(SourceRange SR) { in setSourceRange() 200 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) { in Comment() 216 SourceRange getSourceRange() const LLVM_READONLY { return Range; } in getSourceRange() 302 SourceRange Range; 305 Argument(SourceRange Range, StringRef Text) : Range(Range), Text(Text) { } in Argument() 350 SourceRange getCommandNameRange() const { in getCommandNameRange() 351 return SourceRange(getBeginLoc().getLocWithOffset(-1), getEndLoc()); in getCommandNameRange() 366 SourceRange getArgRange(unsigned Idx) const { in getArgRange() 376 SourceRange TagNameRange; [all …]
|
| HD | ExprCXX.h | 82 SourceRange Range; 87 SourceRange getSourceRangeImpl() const LLVM_READONLY; 141 SourceRange getSourceRange() const { return Range; } in getSourceRange() 332 SourceRange getSourceRange() const LLVM_READONLY { in getSourceRange() 334 return SourceRange(DF.LHS->getBeginLoc(), DF.RHS->getEndLoc()); in getSourceRange() 362 SourceRange AngleBrackets; 371 SourceRange AngleBrackets) in CXXNamedCastExpr() 390 SourceRange getAngleBrackets() const LLVM_READONLY { return AngleBrackets; } in getAngleBrackets() 415 SourceRange AngleBrackets) in CXXStaticCastExpr() 431 SourceRange AngleBrackets); [all …]
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/ |
| HD | 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 …]
|
| HD | 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() 541 SourceRange Range, const MacroArgs *Args) override { in MacroExpands() 560 SourceRange Range) override { in Defined() 565 void SourceRangeSkipped(SourceRange Range, SourceLocation EndifLoc) override { in SourceRangeSkipped() 571 void If(SourceLocation Loc, SourceRange ConditionRange, in If() 578 void Elif(SourceLocation Loc, SourceRange ConditionRange, in Elif()
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/ |
| HD | 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()
|
| HD | SourceLocation.h | 207 class SourceRange { 212 SourceRange() = default; 213 SourceRange(SourceLocation loc) : B(loc), E(loc) {} in SourceRange() function 214 SourceRange(SourceLocation begin, SourceLocation end) : B(begin), E(end) {} in SourceRange() function 225 bool operator==(const SourceRange &X) const { 229 bool operator!=(const SourceRange &X) const { 234 bool fullyContains(const SourceRange &other) const { in fullyContains() 251 SourceRange Range; 256 CharSourceRange(SourceRange R, bool ITR) : Range(R), IsTokenRange(ITR) {} in CharSourceRange() 258 static CharSourceRange getTokenRange(SourceRange R) { in getTokenRange() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/ |
| HD | Diagnostics.h | 36 struct SourceRange { struct 45 SourceRange Range; argument 106 SourceRange MatcherRange); 110 SourceRange MatcherRange, unsigned ArgNumber); 139 ArgStream addError(SourceRange Range, ErrorType Error); 144 SourceRange Range; 152 SourceRange Range; 174 ArgStream pushContextFrame(ContextType Type, SourceRange Range);
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
| HD | MIRParser.cpp | 90 bool error(const SMDiagnostic &Error, SMRange SourceRange); 155 SMRange SourceRange); 160 SMRange SourceRange); 194 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) { in error() argument 196 reportDiagnostic(diagFromMIStringDiag(Error, SourceRange)); in error() 380 return error(Error, ArgRegPair.Reg.SourceRange); in initializeCallSiteInfo() 438 diagFromBlockStringDiag(Error, YamlMF.Body.Value.SourceRange)); in initializeMachineFunction() 462 diagFromBlockStringDiag(Error, YamlMF.Body.Value.SourceRange)); in initializeMachineFunction() 515 return error(VReg.ID.SourceRange.Start, in parseRegisterInfo() 532 VReg.Class.SourceRange.Start, in parseRegisterInfo() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Edit/ |
| HD | 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 …]
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/ |
| HD | 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 …]
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/Rewrite/Core/ |
| HD | 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()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
| HD | MicrosoftMangle.cpp | 322 void mangleAddressSpaceType(QualType T, Qualifiers Quals, SourceRange Range); 323 void mangleType(QualType T, SourceRange Range, 361 void mangleFunctionArgumentType(QualType T, SourceRange Range); 371 SourceRange Range); 394 SourceRange Range); 396 SourceRange Range); 565 SourceRange SR = VD->getSourceRange(); in mangleVariableEncoding() 1454 mangleType(T, SourceRange(), QMM_Escape); in mangleTemplateArg() 1565 SourceRange Range) { in mangleObjCLifetime() 1594 SourceRange Range) { in mangleObjCKindOfType() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/Edit/ |
| HD | 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()
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/ |
| HD | DeclSpec.h | 64 SourceRange Range; 68 SourceRange getRange() const { return Range; } in getRange() 69 void setRange(SourceRange R) { Range = R; } in setRange() 164 SourceRange R); 199 void SetInvalid(SourceRange R) { in SetInvalid() 212 Range = SourceRange(); in clear() 387 SourceRange Range; 390 SourceRange TSWRange; 397 SourceRange TypeofParensRange; 509 SourceRange getSourceRange() const LLVM_READONLY { return Range; } in getSourceRange() [all …]
|
| HD | ParsedAttr.h | 52 SourceRange VersionRange; 201 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() 216 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() 236 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() 253 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() 272 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() 285 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() 647 ParsedAttr *create(IdentifierInfo *attrName, SourceRange attrRange, 666 ParsedAttr *create(IdentifierInfo *attrName, SourceRange attrRange, in create() 680 ParsedAttr *create(IdentifierInfo *attrName, SourceRange attrRange, in create() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/ |
| HD | SymbolOccurrences.h | 71 ArrayRef<SourceRange> getNameRanges() const { in getNameRanges() 81 std::unique_ptr<SourceRange[]> MultipleRanges; 82 SourceRange RangeOrNumRanges;
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
| HD | ReachableCode.h | 53 SourceRange ConditionVal, 54 SourceRange R1, 55 SourceRange R2) = 0;
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| HD | BugReporter.h | 132 SmallVector<SourceRange, 4> Ranges; 202 ArrayRef<SourceRange> Ranges = {}) { 222 void addRange(SourceRange R) { in addRange() 229 virtual ArrayRef<SourceRange> getRanges() const { in getRanges() 302 const SourceRange ErrorNodeRange; 373 : SourceRange()) {} in PathSensitiveBugReport() 380 : SourceRange()) {} in PathSensitiveBugReport() 394 ErrorNodeRange(getStmt() ? getStmt()->getSourceRange() : SourceRange()), in PathSensitiveBugReport() 424 ArrayRef<SourceRange> getRanges() const override; 621 ArrayRef<SourceRange> Ranges = None, [all …]
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| HD | SymbolOccurrences.cpp | 24 RangeOrNumRanges = SourceRange( in SymbolOccurrence() 28 MultipleRanges = std::make_unique<SourceRange[]>(Locations.size()); in SymbolOccurrence() 32 MultipleRanges[Loc.index()] = SourceRange( in SymbolOccurrence()
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
| HD | RefactoringRuleContext.h | 41 SourceRange getSelectionRange() const { return SelectionRange; } in getSelectionRange() 43 void setSelectionRange(SourceRange R) { SelectionRange = R; } in setSelectionRange() 75 SourceRange SelectionRange;
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| HD | DereferenceChecker.cpp | 44 SmallVectorImpl<SourceRange> &Ranges, 53 SmallVectorImpl<SourceRange> &Ranges, in AddDerefSource() 76 Ranges.push_back(SourceRange(L, L)); in AddDerefSource() 84 Ranges.push_back(SourceRange(L, L)); in AddDerefSource() 134 SmallVector<SourceRange, 2> Ranges; in reportBug() 187 for (SmallVectorImpl<SourceRange>::iterator in reportBug()
|