| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | Internals.h | 64 void remove(SourceRange range); 66 void replace(SourceRange range, StringRef text); 67 void replace(SourceRange range, SourceRange replacementRange); 71 void increaseIndentation(SourceRange range, 75 bool clearAllDiagnostics(SourceRange range) { in clearAllDiagnostics() 83 SourceRange range) { in clearDiagnostic() 88 bool hasDiagnostic(unsigned ID, SourceRange range) { in hasDiagnostic() 98 SourceRange range = SourceRange()); 100 SourceRange range = SourceRange()); 102 SourceRange range = SourceRange()); [all …]
|
| H A D | TransformActions.cpp | 47 SourceRange R1, R2; 98 static RangeComparison compare(SourceRange LHS, SourceRange RHS, in compare() 136 void remove(SourceRange range); 138 void replace(SourceRange range, StringRef text); 139 void replace(SourceRange range, SourceRange replacementRange); 143 void increaseIndentation(SourceRange range, 153 bool canRemoveRange(SourceRange range); 154 bool canReplaceRange(SourceRange range, SourceRange replacementRange); 159 void commitRemove(SourceRange range); 161 void commitReplace(SourceRange range, SourceRange replacementRange); [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | TypeLoc.h | 157 SourceRange getLocalSourceRange() const { in getLocalSourceRange() 540 SourceRange BuiltinRange; 826 return SourceRange(start, end); in getLocalSourceRange() 1022 return SourceRange(start, end); in getLocalSourceRange() 1265 return SourceRange(getStarLoc()); in getLocalSourceRange() 1378 SourceRange getParensRange() const { in getParensRange() 1653 SourceRange OperandParens; 1800 SourceRange getParensRange() const { in getParensRange() 1893 SourceRange getParensRange() const { in getParensRange() 2240 SourceRange getParensRange() const { in getParensRange() [all …]
|
| H A D | Comment.h | 59 SourceRange Range; 177 void setSourceRange(SourceRange SR) { in setSourceRange() 302 SourceRange Range; 349 SourceRange getCommandNameRange() const { in getCommandNameRange() 375 SourceRange TagNameRange; 423 SourceRange ValueRange; 446 SourceRange getNameRange() const { in getNameRange() 600 SourceRange Range; 769 SourceRange getParamNameRange() const { in getParamNameRange() 839 SourceRange getParamNameRange() const { in getParamNameRange() [all …]
|
| H A D | Attr.h | 46 SourceRange Range; 79 Attr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex, in Attr() 95 SourceRange getRange() const { return Range; } in getRange() 96 void setRange(SourceRange R) { Range = R; } in setRange() 119 TypeAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex, in TypeAttr() 132 StmtAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex, in StmtAttr() 145 InheritableAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex, in InheritableAttr() 169 InheritableParamAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex, in InheritableParamAttr() 186 ParameterABIAttr(attr::Kind AK, SourceRange R, in ParameterABIAttr()
|
| H A D | ExprCXX.h | 82 SourceRange Range; 279 SourceRange AngleBrackets; 672 SourceRange Range; 891 SourceRange Range; 895 SourceRange R) in CXXUuidofExpr() 1277 SourceRange ParenOrBraceRange; 1652 SourceRange IntroducerRange; 1931 SourceRange Range; 1934 SourceRange DirectInitRange; 2000 SourceRange DirectInitRange); [all …]
|
| H A D | RawCommentList.h | 43 RawComment(const SourceManager &SourceMgr, SourceRange SR, 103 SourceRange getSourceRange() const LLVM_READONLY { return Range; } in getSourceRange() 143 SourceRange Range; 160 RawComment(SourceRange SR, CommentKind K, bool IsTrailingComment, in RawComment()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/ |
| H A D | PreprocessingRecord.h | 92 SourceRange Range; 97 PreprocessedEntity(EntityKind Kind, SourceRange Range) in PreprocessedEntity() 138 PreprocessingDirective(EntityKind Kind, SourceRange Range) in PreprocessingDirective() 155 SourceRange Range) in MacroDefinitionRecord() 327 std::vector<SourceRange> SkippedRanges; 491 getPreprocessedEntitiesInRange(SourceRange R); 518 const std::vector<SourceRange> &getSkippedRanges() { in getSkippedRanges() 545 SourceRange Range) override; 547 void SourceRangeSkipped(SourceRange Range, 551 SourceRange Range); [all …]
|
| H A D | PPCallbacks.h | 254 const MacroDefinition &MD, SourceRange Range, in MacroExpands() 276 SourceRange Range) { in Defined() 291 virtual void SourceRangeSkipped(SourceRange Range, SourceLocation EndifLoc) { in SourceRangeSkipped() 304 virtual void If(SourceLocation Loc, SourceRange ConditionRange, in If() 314 virtual void Elif(SourceLocation Loc, SourceRange ConditionRange, in Elif() 492 SourceRange Range, const MacroArgs *Args) override { in MacroExpands() 511 SourceRange Range) override { in Defined() 516 void SourceRangeSkipped(SourceRange Range, SourceLocation EndifLoc) override { in SourceRangeSkipped() 522 void If(SourceLocation Loc, SourceRange ConditionRange, in If() 529 void Elif(SourceLocation Loc, SourceRange ConditionRange, in Elif()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/Dynamic/ |
| H A D | Diagnostics.h | 37 struct SourceRange { struct 46 SourceRange Range; argument 107 SourceRange MatcherRange); 111 SourceRange MatcherRange, unsigned ArgNumber); 140 ArgStream addError(SourceRange Range, ErrorType Error); 145 SourceRange Range; 153 SourceRange Range; 175 ArgStream pushContextFrame(ContextType Type, SourceRange Range);
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/ |
| H A D | FixIt.h | 30 StringRef getText(SourceRange Range, const ASTContext &Context); 34 inline SourceRange getSourceRange(const SourceRange &Range) { return Range; } in getSourceRange() 37 inline SourceRange getSourceRange(const SourceLocation &Loc) { in getSourceRange() 38 return SourceRange(Loc); in getSourceRange() 43 template <typename T> SourceRange getSourceRange(const T &Node) { in getSourceRange()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIRParser.cpp | 443 return error(VReg.ID.SourceRange.Start, in parseRegisterInfo() 460 VReg.Class.SourceRange.Start, in parseRegisterInfo() 616 return error(Object.ID.SourceRange.Start, in initializeFrameInfo() 635 return error(Name.SourceRange.Start, in initializeFrameInfo() 651 return error(Object.ID.SourceRange.Start, in initializeFrameInfo() 702 return Parser.error(Source.SourceRange.Start, in typecheckMDNode() 737 return error(Error, Source.SourceRange); in parseMDNode() 784 return error(Entry.ID.SourceRange.Start, in initializeJumpTableInfo() 796 return error(Error, Source.SourceRange); in parseMBBReference() 803 SMLoc Loc = SourceRange.Start; in diagFromMIStringDiag() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | SourceLocation.h | 198 class SourceRange { 203 SourceRange() = default; 204 SourceRange(SourceLocation loc) : B(loc), E(loc) {} in SourceRange() function 216 bool operator==(const SourceRange &X) const { 220 bool operator!=(const SourceRange &X) const { 237 SourceRange Range; 244 static CharSourceRange getTokenRange(SourceRange R) { in getTokenRange() 248 static CharSourceRange getCharRange(SourceRange R) { in getCharRange() 253 return getTokenRange(SourceRange(B, E)); in getTokenRange() 257 return getCharRange(SourceRange(B, E)); in getCharRange() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 189 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-12.1/contrib/llvm/tools/clang/include/clang/Rewrite/Core/ |
| H A D | Rewriter.h | 78 int getRangeSize(SourceRange Range, 88 std::string getRewrittenText(SourceRange Range) const; 132 bool RemoveText(SourceRange range, RewriteOptions opts = RewriteOptions()) { 145 bool ReplaceText(SourceRange range, StringRef NewStr) { in ReplaceText() 152 bool ReplaceText(SourceRange range, SourceRange replacementRange); 159 bool IncreaseIndentation(SourceRange range, SourceLocation parentIndent) { in IncreaseIndentation()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | PreprocessingRecord.cpp | 46 const FileEntry *File, SourceRange Range) in InclusionDirective() 60 PreprocessingRecord::getPreprocessedEntitiesInRange(SourceRange Range) { in getPreprocessedEntitiesInRange() 138 PreprocessingRecord::getPreprocessedEntitiesInRangeSlow(SourceRange Range) { in getPreprocessedEntitiesInRangeSlow() 181 template <SourceLocation (SourceRange::*getRangeLoc)() const> 204 SourceRange Range = PPE->getSourceRange(); in getLoc() 251 PPEntityComp<&SourceRange::getBegin>(SourceMgr)); in findEndLocalPreprocessedEntity() 399 SourceRange Range) { in addMacroExpansion() 429 SourceRange Range) { in Defined() 436 void PreprocessingRecord::SourceRangeSkipped(SourceRange Range, in SourceRangeSkipped() 444 SourceRange Range, in MacroExpands() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | MicrosoftMangle.cpp | 315 void mangleType(QualType T, SourceRange Range, 346 void mangleArgumentType(QualType T, SourceRange Range); 379 SourceRange Range); 381 SourceRange Range); 550 SourceRange SR = VD->getSourceRange(); in mangleVariableEncoding() 1422 mangleType(T, SourceRange(), QMM_Escape); in mangleTemplateArg() 2140 SourceRange Range; in mangleFunctionType() 2463 mangleType(T->getElementType(), SourceRange()); in mangleDecayedArrayType() 2519 mangleType(ElementTy, SourceRange(), QMM_Escape); in mangleArrayType() 2807 SourceRange Range) { in mangleType() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Edit/ |
| H A D | Commit.h | 96 bool insertFromRange(SourceLocation loc, SourceRange TokenRange, 103 bool insertWrap(StringRef before, SourceRange TokenRange, StringRef after) { in insertWrap() 107 bool remove(SourceRange TokenRange) { in remove() 111 bool replace(SourceRange TokenRange, StringRef text) { in replace() 115 bool replaceWithInner(SourceRange TokenRange, SourceRange TokenInnerRange) { in replaceWithInner()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | ParsedAttr.h | 52 SourceRange VersionRange; 171 SourceRange AttrRange; 234 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() 248 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() 269 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() 286 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() 305 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() 318 ParsedAttr(IdentifierInfo *attrName, SourceRange attrRange, in ParsedAttr() 380 SourceRange getRange() const { return AttrRange; } in getRange() 679 ParsedAttr *create(IdentifierInfo *attrName, SourceRange attrRange, [all …]
|
| H A D | DeclSpec.h | 64 SourceRange Range; 164 SourceRange R); 199 void SetInvalid(SourceRange R) { in SetInvalid() 212 Range = SourceRange(); in clear() 383 SourceRange Range; 386 SourceRange TSWRange; 393 SourceRange TypeofParensRange; 1246 SourceRange Range; 1771 SourceRange Range; 2559 SourceRange ExplicitRange; [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Refactoring/Rename/ |
| H A D | SymbolOccurrences.h | 72 ArrayRef<SourceRange> getNameRanges() const { in getNameRanges() 82 std::unique_ptr<SourceRange[]> MultipleRanges; 83 SourceRange RangeOrNumRanges;
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/ |
| H A D | ReachableCode.h | 54 SourceRange ConditionVal, 55 SourceRange R1, 56 SourceRange R2) = 0;
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | SymbolOccurrences.cpp | 25 RangeOrNumRanges = SourceRange( in SymbolOccurrence() 29 MultipleRanges = llvm::make_unique<SourceRange[]>(Locations.size()); in SymbolOccurrence() 33 MultipleRanges[Loc.index()] = SourceRange( in SymbolOccurrence()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Refactoring/ |
| H A D | RefactoringRuleContext.h | 42 SourceRange getSelectionRange() const { return SelectionRange; } in getSelectionRange() 44 void setSelectionRange(SourceRange R) { SelectionRange = R; } in setSelectionRange() 76 SourceRange SelectionRange;
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DereferenceChecker.cpp | 45 SmallVectorImpl<SourceRange> &Ranges, 54 SmallVectorImpl<SourceRange> &Ranges, in AddDerefSource() 77 Ranges.push_back(SourceRange(L, L)); in AddDerefSource() 85 Ranges.push_back(SourceRange(L, L)); in AddDerefSource() 135 SmallVector<SourceRange, 2> Ranges; in reportBug() 188 for (SmallVectorImpl<SourceRange>::iterator in reportBug()
|