HomeSort by relevance Sort by last modified time
    Searched full:sourcerange (Results 1 - 25 of 230) sorted by null

1 2 3 4 5 6 7 8 910

  /external/clang/lib/ARCMigrate/
Internals.h 32 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
33 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) {
79 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...]
TransProtectedScope.cpp 43 SourceRange Range;
51 CaseInfo(SwitchCase *S, SourceRange Range)
80 Cases.push_back(CaseInfo(Curr,SourceRange(Curr->getLocStart(), NextLoc)));
110 SourceRange BodyRange = BodyCtx.getTopStmt()->getSourceRange();
190 bool isInRange(SourceLocation Loc, SourceRange R) {
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSPropertySourceData.cpp 45 SourceRange::SourceRange()
51 SourceRange::SourceRange(unsigned start, unsigned end)
57 unsigned SourceRange::length() const
62 CSSPropertySourceData::CSSPropertySourceData(const String& name, const String& value, bool important, bool disabled, bool parsedOk, const SourceRange& range)
88 , range(SourceRange(0, 0))
125 new ((void *) &emptyCSSPropertySourceData) CSSPropertySourceData("", "e", false, false, false, SourceRange(0, 0));
CSSPropertySourceData.h 43 struct SourceRange {
44 SourceRange();
45 SourceRange(unsigned start, unsigned end);
55 CSSPropertySourceData(const String& name, const String& value, bool important, bool disabled, bool parsedOk, const SourceRange& range);
67 SourceRange range;
85 typedef Vector<SourceRange> SelectorRangeList;
124 SourceRange ruleHeaderRange;
127 SourceRange ruleBodyRange;
  /external/clang/include/clang/AST/
TypeLoc.h 124 SourceRange getSourceRange() const LLVM_READONLY {
125 return SourceRange(getBeginLoc(), getEndLoc());
131 SourceRange getLocalSourceRange() const {
194 static SourceRange getLocalSourceRangeImpl(TypeLoc TL);
231 SourceRange getLocalSourceRange() const {
232 return SourceRange();
463 SourceRange getLocalSourceRange() const {
464 return SourceRange(getNameLoc(), getNameLoc());
518 SourceRange getLocalSourceRange() const {
519 return SourceRange(getBuiltinLoc(), getBuiltinLoc())
    [all...]
Comment.h 59 SourceRange Range;
164 void setSourceRange(SourceRange SR) {
187 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) {
203 SourceRange getSourceRange() const LLVM_READONLY { return Range; }
293 SourceRange Range;
296 Argument(SourceRange Range, StringRef Text) : Range(Range), Text(Text) { }
340 SourceRange getCommandNameRange() const {
341 return SourceRange(getLocStart().getLocWithOffset(-1),
357 SourceRange getArgRange(unsigned Idx) const {
368 SourceRange TagNameRange
    [all...]
Attr.h 43 SourceRange Range;
76 Attr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex = 0)
89 SourceRange getRange() const { return Range; }
90 void setRange(SourceRange R) { Range = R; }
110 InheritableAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex = 0)
125 InheritableParamAttr(attr::Kind AK, SourceRange R,
141 MSInheritanceAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex = 0)
  /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/unittests/Lex/
PPConditionalDirectiveRecordTest.cpp 118 SourceRange(toks[0].getLocation(), toks[1].getLocation())));
120 SourceRange(toks[0].getLocation(), toks[2].getLocation())));
122 SourceRange(toks[3].getLocation(), toks[4].getLocation())));
124 SourceRange(toks[1].getLocation(), toks[5].getLocation())));
126 SourceRange(toks[2].getLocation(), toks[6].getLocation())));
128 SourceRange(toks[2].getLocation(), toks[5].getLocation())));
130 SourceRange(toks[0].getLocation(), toks[6].getLocation())));
132 SourceRange(toks[2].getLocation(), toks[8].getLocation())));
134 SourceRange(toks[0].getLocation(), toks[9].getLocation())));
LexerTest.cpp 93 Lexer::getSourceText(CharSourceRange::getTokenRange(SourceRange(
289 SourceRange macroRange = SourceRange(macroPair.first, macroPair.second);
309 SourceRange(macroRange.getBegin(),
327 EXPECT_EQ(SourceRange(fileLsqrLoc, fileIdLoc.getLocWithOffset(3)),
332 EXPECT_EQ(SourceRange(fileIdLoc, fileRsqrLoc.getLocWithOffset(1)),
339 EXPECT_EQ(SourceRange(macroPair.first, macroPair.second.getLocWithOffset(1)),
343 CharSourceRange::getTokenRange(SourceRange(macroLsqrLoc, macroIdLoc)),
  /external/clang/include/clang/ASTMatchers/Dynamic/
Diagnostics.h 38 struct SourceRange {
47 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);
  /external/clang/unittests/AST/
SourceLocationTest.cpp 10 // This file contains tests for SourceLocation and SourceRange fields
63 virtual SourceRange getRange(const LabelStmt &Node) {
160 virtual SourceRange getRange(const TypeLoc &Node) {
164 return SourceRange(T.getLAngleLoc(), T.getRAngleLoc());
185 virtual SourceRange getRange(const TypeLoc &Node) {
189 return SourceRange(T.getLParenLoc(), T.getRParenLoc());
204 TEST(CXXFunctionalCastExpr, SourceRange) {
214 TEST(CXXUnresolvedConstructExpr, SourceRange) {
227 TEST(UsingDecl, SourceRange) {
236 TEST(UnresolvedUsingValueDecl, SourceRange) {
    [all...]
  /external/clang/bindings/python/tests/cindex/
test_location.py 4 from clang.cindex import SourceRange
89 range1 = SourceRange.from_locations(location1, location2)
90 range2 = SourceRange.from_locations(location1, location2)
94 range3 = SourceRange.from_locations(location1, location3)
test_tokens.py 4 from clang.cindex import SourceRange
49 ok_(isinstance(extent, SourceRange))
  /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/lib/Lex/
PreprocessingRecord.cpp 30 SourceRange Range)
49 PreprocessingRecord::getPreprocessedEntitiesInRange(SourceRange Range) {
129 PreprocessingRecord::getPreprocessedEntitiesInRangeSlow(SourceRange Range) {
160 SourceRange Range) const {
172 template <SourceLocation (SourceRange::*getRangeLoc)() const>
195 SourceRange Range = PPE->getSourceRange();
242 PPEntityComp<&SourceRange::getBegin>(SourceMgr));
302 PPEntityComp<&SourceRange::getBegin>(SourceMgr));
355 PreprocessedEntity(PreprocessedEntity::InvalidKind, SourceRange());
371 SourceRange Range)
    [all...]
PPConditionalDirectiveRecord.cpp 25 SourceRange Range) const {
79 SourceRange ConditionRange,
100 SourceRange ConditionRange,
  /external/clang/include/clang/Lex/
PPCallbacks.h 223 SourceRange Range, const MacroArgs *Args) {
241 SourceRange Range) {
245 /// \param Range The SourceRange that was skipped. The range begins at the
247 virtual void SourceRangeSkipped(SourceRange Range) {
252 /// \param ConditionRange The SourceRange of the expression being tested.
256 virtual void If(SourceLocation Loc, SourceRange ConditionRange,
262 /// \param ConditionRange The SourceRange of the expression being tested.
266 virtual void Elif(SourceLocation Loc, SourceRange ConditionRange,
404 SourceRange Range, const MacroArgs *Args) {
421 SourceRange Range)
    [all...]
PPConditionalDirectiveRecord.h 76 bool rangeIntersectsConditionalDirective(SourceRange Range) const;
89 virtual void If(SourceLocation Loc, SourceRange ConditionRange,
91 virtual void Elif(SourceLocation Loc, SourceRange ConditionRange,
  /external/clang/lib/ASTMatchers/Dynamic/
Marshallers.h 85 virtual MatcherList run(const SourceRange &NameRange,
103 const SourceRange &,
114 MatcherList run(const SourceRange &NameRange, ArrayRef<ParserValue> Args,
135 const SourceRange &NameRange,
142 MatcherList run(const SourceRange &NameRange, ArrayRef<ParserValue> Args,
204 const SourceRange &NameRange,
215 const SourceRange &NameRange,
228 const SourceRange &NameRange,
246 const SourceRange &NameRange,
  /external/clang/include/clang/Sema/
AttributeList.h 41 SourceRange VersionRange;
73 SourceRange AttrRange;
182 AttributeList(IdentifierInfo *attrName, SourceRange attrRange,
198 AttributeList(IdentifierInfo *attrName, SourceRange attrRange,
221 AttributeList(IdentifierInfo *attrName, SourceRange attrRange,
241 AttributeList(IdentifierInfo *attrName, SourceRange attrRange,
256 AttributeList(IdentifierInfo *attrName, SourceRange attrRange,
285 SourceRange getRange() const { return AttrRange; }
542 AttributeList *create(IdentifierInfo *attrName, SourceRange attrRange,
557 AttributeList *create(IdentifierInfo *attrName, SourceRange attrRange
    [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...]
  /external/clang/lib/Sema/
SemaStmtAttr.cpp 28 SourceRange Range) {
49 SourceRange Range) {
68 SourceRange Range) {
  /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),

Completed in 548 milliseconds

1 2 3 4 5 6 7 8 910