HomeSort by relevance Sort by last modified time
    Searched refs:SourceRange (Results 1 - 25 of 208) sorted by null

1 2 3 4 5 6 7 8 9

  /external/clang/lib/ARCMigrate/
Internals.h 32 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
33 bool hasDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) const;
64 void remove(SourceRange range);
66 void replace(SourceRange range, StringRef text);
67 void replace(SourceRange range, SourceRange replacementRange);
71 void increaseIndentation(SourceRange range,
74 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
75 bool clearAllDiagnostics(SourceRange range) {
78 bool clearDiagnostic(unsigned ID1, unsigned ID2, SourceRange range)
    [all...]
TransformActions.cpp 47 SourceRange R1, R2;
98 static RangeComparison compare(SourceRange LHS, SourceRange RHS,
136 void remove(SourceRange range);
138 void replace(SourceRange range, StringRef text);
139 void replace(SourceRange range, SourceRange replacementRange);
143 void increaseIndentation(SourceRange range,
146 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
153 bool canRemoveRange(SourceRange range)
    [all...]
  /external/clang/include/clang/Analysis/Analyses/
ReachableCode.h 54 SourceRange ConditionVal,
55 SourceRange R1,
56 SourceRange R2) = 0;
  /external/clang/tools/libclang/
CXSourceLocation.h 60 SourceRange R) {
70 static inline SourceRange translateCXSourceRange(CXSourceRange R) {
71 return SourceRange(SourceLocation::getFromRawEncoding(R.begin_int_data),
CXCursor.h 54 SourceRange RegionOfInterest = SourceRange(),
58 SourceRange RegionOfInterest = SourceRange());
141 CXCursor MakePreprocessingDirectiveCursor(SourceRange Range,
145 SourceRange getCursorPreprocessingDirective(CXCursor C);
197 SourceRange getSourceRange() const;
  /external/clang/include/clang/ASTMatchers/Dynamic/
Diagnostics.h 37 struct SourceRange {
46 SourceRange Range;
107 const SourceRange &MatcherRange);
111 const SourceRange &MatcherRange, unsigned ArgNumber);
140 ArgStream addError(const SourceRange &Range, ErrorType Error);
145 SourceRange Range;
153 SourceRange Range;
175 ArgStream pushContextFrame(ContextType Type, SourceRange Range);
Registry.h 109 const SourceRange &NameRange,
120 const SourceRange &NameRange,
  /external/clang/include/clang/Sema/
LoopHint.h 23 SourceRange Range;
  /external/clang/include/clang/Lex/
PreprocessingRecord.h 79 SourceRange Range;
82 PreprocessedEntity(EntityKind Kind, SourceRange Range)
93 SourceRange getSourceRange() const LLVM_READONLY { return Range; }
127 PreprocessingDirective(EntityKind Kind, SourceRange Range)
143 explicit MacroDefinition(const IdentifierInfo *Name, SourceRange Range)
165 MacroExpansion(IdentifierInfo *BuiltinName, SourceRange Range)
169 MacroExpansion(MacroDefinition *Definition, SourceRange Range)
237 const FileEntry *File, SourceRange Range);
278 findPreprocessedEntitiesInRange(SourceRange Range) = 0;
309 std::vector<SourceRange> SkippedRanges
    [all...]
PPConditionalDirectiveRecord.h 76 bool rangeIntersectsConditionalDirective(SourceRange Range) const;
89 void If(SourceLocation Loc, SourceRange ConditionRange,
91 void Elif(SourceLocation Loc, SourceRange ConditionRange,
  /external/clang/unittests/Lex/
PPConditionalDirectiveRecordTest.cpp 122 SourceRange(toks[0].getLocation(), toks[1].getLocation())));
124 SourceRange(toks[0].getLocation(), toks[2].getLocation())));
126 SourceRange(toks[3].getLocation(), toks[4].getLocation())));
128 SourceRange(toks[1].getLocation(), toks[5].getLocation())));
130 SourceRange(toks[2].getLocation(), toks[6].getLocation())));
132 SourceRange(toks[2].getLocation(), toks[5].getLocation())));
134 SourceRange(toks[0].getLocation(), toks[6].getLocation())));
136 SourceRange(toks[2].getLocation(), toks[8].getLocation())));
138 SourceRange(toks[0].getLocation(), toks[9].getLocation())));
  /external/clang/include/clang/AST/
Attr.h 45 SourceRange Range;
77 Attr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex,
93 SourceRange getRange() const { return Range; }
94 void setRange(SourceRange R) { Range = R; }
122 InheritableAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex,
137 InheritableParamAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex,
TypeLoc.h 127 SourceRange getSourceRange() const LLVM_READONLY {
128 return SourceRange(getBeginLoc(), getEndLoc());
134 SourceRange getLocalSourceRange() const {
197 static SourceRange getLocalSourceRangeImpl(TypeLoc TL);
234 SourceRange getLocalSourceRange() const {
235 return SourceRange();
466 SourceRange getLocalSourceRange() const {
467 return SourceRange(getNameLoc(), getNameLoc());
521 SourceRange getLocalSourceRange() const {
522 return SourceRange(getBuiltinLoc(), getBuiltinLoc())
    [all...]
RawCommentList.h 43 RawComment(const SourceManager &SourceMgr, SourceRange SR,
110 SourceRange getSourceRange() const LLVM_READONLY { return Range; }
126 SourceRange Range;
147 RawComment(SourceRange SR, CommentKind K, bool IsTrailingComment,
Comment.h 59 SourceRange Range;
177 void setSourceRange(SourceRange SR) {
200 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) {
216 SourceRange getSourceRange() const LLVM_READONLY { return Range; }
306 SourceRange Range;
309 Argument(SourceRange Range, StringRef Text) : Range(Range), Text(Text) { }
353 SourceRange getCommandNameRange() const {
354 return SourceRange(getLocStart().getLocWithOffset(-1),
370 SourceRange getArgRange(unsigned Idx) const {
380 SourceRange TagNameRange
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
StackAddrEscapeChecker.cpp 40 static SourceRange genName(raw_ostream &os, const MemRegion *R,
45 SourceRange StackAddrEscapeChecker::genName(raw_ostream &os, const MemRegion *R,
50 SourceRange range;
109 SourceRange range = genName(os, R, C.getASTContext());
229 SourceRange range = genName(os, cb.V[i].second, Ctx.getASTContext());
  /external/clang/include/clang/Rewrite/Core/
Rewriter.h 75 int getRangeSize(SourceRange Range,
86 std::string getRewrittenText(SourceRange Range) const;
130 bool RemoveText(SourceRange range, RewriteOptions opts = RewriteOptions()) {
143 bool ReplaceText(SourceRange range, StringRef NewStr) {
150 bool ReplaceText(SourceRange range, SourceRange replacementRange);
157 bool IncreaseIndentation(SourceRange range, SourceLocation parentIndent) {
  /external/clang/include/clang/Basic/
SourceLocation.h 192 class SourceRange {
196 SourceRange(): B(SourceLocation()), E(SourceLocation()) {}
197 SourceRange(SourceLocation loc) : B(loc), E(loc) {}
198 SourceRange(SourceLocation begin, SourceLocation end) : B(begin), E(end) {}
209 bool operator==(const SourceRange &X) const {
213 bool operator!=(const SourceRange &X) const {
220 /// The underlying SourceRange can either specify the starting/ending character
226 SourceRange Range;
230 CharSourceRange(SourceRange R, bool ITR) : Range(R), IsTokenRange(ITR) {}
232 static CharSourceRange getTokenRange(SourceRange R)
    [all...]
  /external/clang/include/clang/Edit/
Commit.h 89 bool insertFromRange(SourceLocation loc, SourceRange TokenRange,
95 bool insertWrap(StringRef before, SourceRange TokenRange, StringRef after) {
98 bool remove(SourceRange TokenRange) {
101 bool replace(SourceRange TokenRange, StringRef text) {
104 bool replaceWithInner(SourceRange TokenRange, SourceRange TokenInnerRange) {
  /external/clang/lib/CodeGen/
CoverageMappingGen.h 39 std::vector<SourceRange> SkippedRanges;
41 ArrayRef<SourceRange> getSkippedRanges() const { return SkippedRanges; }
43 void SourceRangeSkipped(SourceRange Range) override;
  /external/clang/lib/Format/
WhitespaceManager.h 109 Change(bool CreateReplacement, const SourceRange &OriginalWhitespaceRange,
118 SourceRange OriginalWhitespaceRange;
185 void storeReplacement(const SourceRange &Range, StringRef Text);
  /external/clang/lib/Lex/
PreprocessingRecord.cpp 30 SourceRange Range)
49 PreprocessingRecord::getPreprocessedEntitiesInRange(SourceRange Range) {
127 PreprocessingRecord::getPreprocessedEntitiesInRangeSlow(SourceRange Range) {
158 SourceRange Range) const {
170 template <SourceLocation (SourceRange::*getRangeLoc)() const>
193 SourceRange Range = PPE->getSourceRange();
240 PPEntityComp<&SourceRange::getBegin>(SourceMgr));
300 PPEntityComp<&SourceRange::getBegin>(SourceMgr));
353 PreprocessedEntity(PreprocessedEntity::InvalidKind, SourceRange());
369 SourceRange Range)
    [all...]
PPConditionalDirectiveRecord.cpp 25 SourceRange Range) const {
79 SourceRange ConditionRange,
100 SourceRange ConditionRange,
  /external/clang/unittests/AST/
SourceLocationTest.cpp 10 // This file contains tests for SourceLocation and SourceRange fields
63 SourceRange getRange(const LabelStmt &Node) override {
114 SourceRange getRange(const MemberExpr &Node) override {
204 SourceRange getRange(const TypeLoc &Node) override {
208 return SourceRange(T.getLAngleLoc(), T.getRAngleLoc());
229 SourceRange getRange(const TypeLoc &Node) override {
233 return SourceRange(T.getLParenLoc(), T.getRParenLoc());
248 TEST(CXXFunctionalCastExpr, SourceRange) {
258 TEST(CXXConstructExpr, SourceRange) {
268 TEST(CXXTemporaryObjectExpr, SourceRange) {
    [all...]
  /external/clang/lib/Edit/
RewriteObjCFoundationAPI.cpp 176 SourceRange RecRange = Receiver->getSourceRange();
189 SourceRange MsgRange = Msg->getSourceRange();
190 SourceRange RecRange = Rec->getSourceRange();
191 SourceRange ArgRange = Msg->getArg(0)->getSourceRange();
196 commit.replaceWithInner(SourceRange(ArgRange.getBegin(), MsgRange.getEnd()),
237 SourceRange MsgRange = Msg->getSourceRange();
238 SourceRange RecRange = Rec->getSourceRange();
239 SourceRange Arg0Range = Msg->getArg(0)->getSourceRange();
240 SourceRange Arg1Range = Msg->getArg(1)->getSourceRange();
248 commit.replaceWithInner(SourceRange(Arg1Range.getBegin(), MsgRange.getEnd())
    [all...]

Completed in 1067 milliseconds

1 2 3 4 5 6 7 8 9