HomeSort by relevance Sort by last modified time
    Searched refs:SourceRange (Results 1 - 25 of 215) 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);
194 SourceRange getSourceRange() const;
  /external/clang/include/clang/ASTMatchers/Dynamic/
Diagnostics.h 37 struct SourceRange {
46 SourceRange Range;
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);
Registry.h 109 SourceRange NameRange,
120 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; }
125 PreprocessingDirective(EntityKind Kind, SourceRange Range)
142 SourceRange Range)
164 MacroExpansion(IdentifierInfo *BuiltinName, SourceRange Range)
168 MacroExpansion(MacroDefinitionRecord *Definition, SourceRange Range)
236 const FileEntry *File, SourceRange Range);
277 findPreprocessedEntitiesInRange(SourceRange Range) = 0;
308 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 121 SourceRange(toks[0].getLocation(), toks[1].getLocation())));
123 SourceRange(toks[0].getLocation(), toks[2].getLocation())));
125 SourceRange(toks[3].getLocation(), toks[4].getLocation())));
127 SourceRange(toks[1].getLocation(), toks[5].getLocation())));
129 SourceRange(toks[2].getLocation(), toks[6].getLocation())));
131 SourceRange(toks[2].getLocation(), toks[5].getLocation())));
133 SourceRange(toks[0].getLocation(), toks[6].getLocation())));
135 SourceRange(toks[2].getLocation(), toks[8].getLocation())));
137 SourceRange(toks[0].getLocation(), toks[9].getLocation())));
  /external/clang/include/clang/AST/
Attr.h 46 SourceRange Range;
78 Attr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex,
94 SourceRange getRange() const { return Range; }
95 void setRange(SourceRange R) { Range = R; }
123 InheritableAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex,
138 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 {
211 static SourceRange getLocalSourceRangeImpl(TypeLoc TL);
249 SourceRange getLocalSourceRange() const {
250 return SourceRange();
499 SourceRange getLocalSourceRange() const {
500 return SourceRange(getNameLoc(), getNameLoc());
554 SourceRange getLocalSourceRange() const {
555 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());
238 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 193 class SourceRange {
197 SourceRange(): B(SourceLocation()), E(SourceLocation()) {}
198 SourceRange(SourceLocation loc) : B(loc), E(loc) {}
199 SourceRange(SourceLocation begin, SourceLocation end) : B(begin), E(end) {}
210 bool operator==(const SourceRange &X) const {
214 bool operator!=(const SourceRange &X) const {
221 /// The underlying SourceRange can either specify the starting/ending character
227 SourceRange Range;
231 CharSourceRange(SourceRange R, bool ITR) : Range(R), IsTokenRange(ITR) {}
233 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 108 Change(bool CreateReplacement, SourceRange OriginalWhitespaceRange,
117 SourceRange OriginalWhitespaceRange;
192 void storeReplacement(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));
301 PPEntityComp<&SourceRange::getBegin>(SourceMgr));
354 PreprocessedEntity(PreprocessedEntity::InvalidKind, SourceRange());
371 SourceRange Range)
    [all...]
PPConditionalDirectiveRecord.cpp 25 SourceRange Range) const {
79 SourceRange ConditionRange,
100 SourceRange ConditionRange,
  /external/llvm/lib/CodeGen/MIRParser/
MIRParser.cpp 77 bool error(const SMDiagnostic &Error, SMRange SourceRange);
141 SMRange SourceRange);
146 SMRange SourceRange);
180 bool MIRParserImpl::error(const SMDiagnostic &Error, SMRange SourceRange) {
182 reportDiagnostic(diagFromMIStringDiag(Error, SourceRange));
303 diagFromBlockStringDiag(Error, YamlMF.Body.Value.SourceRange));
324 diagFromBlockStringDiag(Error, YamlMF.Body.Value.SourceRange));
352 return error(VReg.Class.SourceRange.Start,
358 return error(VReg.ID.SourceRange.Start,
366 return error(Error, VReg.PreferredRegister.SourceRange);
    [all...]
  /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...]

Completed in 283 milliseconds

1 2 3 4 5 6 7 8 9