/external/clang/lib/ARCMigrate/ |
Internals.h | 29 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); 30 bool hasDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) const; 62 void remove(SourceRange range); 64 void replace(SourceRange range, StringRef text); 65 void replace(SourceRange range, SourceRange replacementRange); 69 void increaseIndentation(SourceRange range, 72 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); 73 bool clearAllDiagnostics(SourceRange range) { 76 bool clearDiagnostic(unsigned ID1, unsigned ID2, SourceRange range) [all...] |
TransformActions.cpp | 46 SourceRange R1, R2; 97 static RangeComparison compare(SourceRange LHS, SourceRange RHS, 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) [all...] |
/external/webkit/Source/WebCore/css/ |
CSSPropertySourceData.h | 44 struct SourceRange { 45 SourceRange(); 46 SourceRange(unsigned start, unsigned end); 55 CSSPropertySourceData(const String& name, const String& value, bool important, bool parsedOk, const SourceRange& range); 66 SourceRange range; 80 SourceRange styleBodyRange; 91 SourceRange selectorListRange;
|
CSSPropertySourceData.cpp | 45 SourceRange::SourceRange() 51 SourceRange::SourceRange(unsigned start, unsigned end) 57 CSSPropertySourceData::CSSPropertySourceData(const String& name, const String& value, bool important, bool parsedOk, const SourceRange& range) 80 , range(SourceRange(0, 0)) 113 new ((void *) &emptyCSSPropertySourceData) CSSPropertySourceData("", "e", false, false, SourceRange(0, 0));
|
/external/clang/unittests/Lex/ |
PreprocessingRecordTest.cpp | 107 SourceRange(toks[0].getLocation(), toks[1].getLocation()))); 109 SourceRange(toks[0].getLocation(), toks[2].getLocation()))); 111 SourceRange(toks[3].getLocation(), toks[4].getLocation()))); 113 SourceRange(toks[1].getLocation(), toks[5].getLocation()))); 115 SourceRange(toks[2].getLocation(), toks[6].getLocation()))); 117 SourceRange(toks[2].getLocation(), toks[5].getLocation()))); 119 SourceRange(toks[0].getLocation(), toks[6].getLocation()))); 121 SourceRange(toks[2].getLocation(), toks[8].getLocation()))); 123 SourceRange(toks[0].getLocation(), toks[9].getLocation())));
|
LexerTest.cpp | 108 SourceRange macroRange = SourceRange(macroPair.first, macroPair.second); 128 SourceRange(macroRange.getBegin(), 146 EXPECT_EQ(SourceRange(fileLsqrLoc, fileIdLoc.getLocWithOffset(3)), 151 EXPECT_EQ(SourceRange(fileIdLoc, fileRsqrLoc.getLocWithOffset(1)), 158 EXPECT_EQ(SourceRange(macroPair.first, macroPair.second.getLocWithOffset(1)), 162 CharSourceRange::getTokenRange(SourceRange(macroLsqrLoc, macroIdLoc)),
|
/external/clang/include/clang/Edit/ |
Commit.h | 86 bool insertFromRange(SourceLocation loc, SourceRange TokenRange, 92 bool insertWrap(StringRef before, SourceRange TokenRange, StringRef after) { 95 bool remove(SourceRange TokenRange) { 98 bool replace(SourceRange TokenRange, StringRef text) { 101 bool replaceWithInner(SourceRange TokenRange, SourceRange TokenInnerRange) {
|
/external/clang/include/clang/AST/ |
TypeLoc.h | 97 SourceRange getSourceRange() const LLVM_READONLY { 98 return SourceRange(getBeginLoc(), getEndLoc()); 104 SourceRange getLocalSourceRange() const { 169 static SourceRange getLocalSourceRangeImpl(TypeLoc TL); 205 SourceRange getLocalSourceRange() const { 206 return SourceRange(); 412 SourceRange getLocalSourceRange() const { 413 return SourceRange(getNameLoc(), getNameLoc()); 464 SourceRange getLocalSourceRange() const { 465 return SourceRange(getBuiltinLoc(), getBuiltinLoc()) [all...] |
StmtObjC.h | 59 SourceRange getSourceRange() const LLVM_READONLY { 60 return SourceRange(ForLoc, SubExprs[BODY]->getLocEnd()); 107 SourceRange getSourceRange() const LLVM_READONLY { 108 return SourceRange(AtCatchLoc, Body->getLocEnd()); 137 SourceRange getSourceRange() const LLVM_READONLY { 138 return SourceRange(AtFinallyLoc, AtFinallyStmt->getLocEnd()); 244 SourceRange getSourceRange() const LLVM_READONLY; 298 SourceRange getSourceRange() const LLVM_READONLY { 299 return SourceRange(AtSynchronizedLoc, getSynchBody()->getLocEnd()); 331 SourceRange getSourceRange() const LLVM_READONLY [all...] |
StmtCXX.h | 41 SourceRange getSourceRange() const LLVM_READONLY { 42 return SourceRange(CatchLoc, HandlerBlock->getLocEnd()); 87 SourceRange getSourceRange() const LLVM_READONLY { 88 return SourceRange(getTryLoc(), getEndLoc()); 193 SourceRange getSourceRange() const LLVM_READONLY { 194 return SourceRange(ForLoc, SubExprs[BODY]->getLocEnd()); 278 SourceRange getSourceRange() const LLVM_READONLY { 279 return SourceRange(KeywordLoc, SubStmt->getLocEnd());
|
ExprObjC.h | 47 SourceRange getSourceRange() const LLVM_READONLY { 48 return SourceRange(AtLoc, String->getLocEnd()); 76 SourceRange getSourceRange() const LLVM_READONLY { return SourceRange(Loc); } 97 SourceRange Range; 100 SourceRange R) 117 SourceRange getSourceRange() const LLVM_READONLY { 136 SourceRange Range; 141 SourceRange SR); 150 SourceRange SR) [all...] |
ExprCXX.h | 77 SourceRange getSourceRange() const LLVM_READONLY; 187 SourceRange getSourceRange() const LLVM_READONLY { 188 return SourceRange(Loc, RParenLoc); 406 SourceRange getSourceRange() const LLVM_READONLY { return SourceRange(Loc); } 432 SourceRange getSourceRange() const LLVM_READONLY { return SourceRange(Loc); } 453 SourceRange Range; 456 CXXTypeidExpr(QualType Ty, TypeSourceInfo *Operand, SourceRange R) 466 CXXTypeidExpr(QualType Ty, Expr *Operand, SourceRange R [all...] |
Attr.h | 60 SourceRange Range; 87 Attr(attr::Kind AK, SourceRange R) 97 SourceRange getRange() const { return Range; } 98 void setRange(SourceRange R) { Range = R; } 117 InheritableAttr(attr::Kind AK, SourceRange R) 133 InheritableParamAttr(attr::Kind AK, SourceRange R)
|
Stmt.h | 352 SourceRange getSourceRange() const LLVM_READONLY; 480 SourceRange getSourceRange() const LLVM_READONLY { 481 return SourceRange(StartLoc, EndLoc); 529 SourceRange getSourceRange() const LLVM_READONLY { return SourceRange(SemiLoc); } 609 SourceRange getSourceRange() const LLVM_READONLY { 610 return SourceRange(LBracLoc, RBracLoc); 654 SourceRange getSourceRange() const LLVM_READONLY { return SourceRange(); } 709 SourceRange getSourceRange() const LLVM_READONLY [all...] |
DeclFriend.h | 104 SourceRange getSourceRange() const LLVM_READONLY { 107 return SourceRange(getFriendLoc(), ND->getLocEnd()); 109 return SourceRange(getFriendLoc(), TInfo->getTypeLoc().getEndLoc()); 111 return SourceRange(getFriendLoc(), getLocation());
|
/external/clang/lib/Edit/ |
RewriteObjCFoundationAPI.cpp | 83 SourceRange RecRange = Receiver->getSourceRange(); 95 SourceRange MsgRange = Msg->getSourceRange(); 96 SourceRange RecRange = Rec->getSourceRange(); 97 SourceRange ArgRange = Msg->getArg(0)->getSourceRange(); 102 commit.replaceWithInner(SourceRange(ArgRange.getBegin(), MsgRange.getEnd()), 117 SourceRange MsgRange = Msg->getSourceRange(); 118 SourceRange RecRange = Rec->getSourceRange(); 119 SourceRange Arg0Range = Msg->getArg(0)->getSourceRange(); 120 SourceRange Arg1Range = Msg->getArg(1)->getSourceRange(); 128 commit.replaceWithInner(SourceRange(Arg1Range.getBegin(), MsgRange.getEnd()) [all...] |
/external/clang/bindings/python/tests/cindex/ |
test_location.py | 4 from clang.cindex import SourceRange 80 range1 = SourceRange.from_locations(location1, location2) 81 range2 = SourceRange.from_locations(location1, location2) 85 range3 = SourceRange.from_locations(location1, location3)
|
/external/clang/include/clang/Basic/ |
SourceLocation.h | 184 /// SourceRange - a trival tuple used to represent a source range. 185 class SourceRange { 189 SourceRange(): B(SourceLocation()), E(SourceLocation()) {} 190 SourceRange(SourceLocation loc) : B(loc), E(loc) {} 191 SourceRange(SourceLocation begin, SourceLocation end) : B(begin), E(end) {} 202 bool operator==(const SourceRange &X) const { 206 bool operator!=(const SourceRange &X) const { 212 /// The underlying SourceRange can either specify the starting/ending character 218 SourceRange Range; 222 CharSourceRange(SourceRange R, bool ITR) : Range(R),IsTokenRange(ITR){ [all...] |
/external/clang/lib/Lex/ |
PreprocessingRecord.cpp | 29 SourceRange Range) 53 PreprocessingRecord::getPreprocessedEntitiesInRange(SourceRange Range) { 130 PreprocessingRecord::getPreprocessedEntitiesInRangeSlow(SourceRange Range) { 161 SourceRange Range) const { 173 template <SourceLocation (SourceRange::*getRangeLoc)() const> 196 SourceRange Range = PPE->getSourceRange(); 243 PPEntityComp<&SourceRange::getBegin>(SourceMgr)); 295 PPEntityComp<&SourceRange::getBegin>(SourceMgr)); 343 PreprocessedEntity(PreprocessedEntity::InvalidKind, SourceRange()); 361 SourceRange Range) [all...] |
/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 | 53 SourceRange RegionOfInterest = SourceRange(), 57 SourceRange RegionOfInterest = SourceRange()); 139 CXCursor MakePreprocessingDirectiveCursor(SourceRange Range, 143 SourceRange getCursorPreprocessingDirective(CXCursor C);
|
/external/clang/include/clang/Lex/ |
PPCallbacks.h | 170 SourceRange Range) { 187 /// \param Range The SourceRange that was skipped. The range begins at the 189 virtual void SourceRangeSkipped(SourceRange Range) { 194 /// \param ConditionRange The SourceRange of the expression being tested. 196 virtual void If(SourceLocation Loc, SourceRange ConditionRange) { 201 /// \param ConditionRange The SourceRange of the expression being tested. 204 virtual void Elif(SourceLocation Loc, SourceRange ConditionRange, 320 SourceRange Range) { 340 virtual void SourceRangeSkipped(SourceRange Range) { 346 virtual void If(SourceLocation Loc, SourceRange ConditionRange) [all...] |
PreprocessingRecord.h | 77 SourceRange Range; 80 PreprocessedEntity(EntityKind Kind, SourceRange Range) 91 SourceRange getSourceRange() const LLVM_READONLY { return Range; } 128 PreprocessingDirective(EntityKind Kind, SourceRange Range) 145 explicit MacroDefinition(const IdentifierInfo *Name, SourceRange Range) 168 MacroExpansion(IdentifierInfo *BuiltinName, SourceRange Range) 172 MacroExpansion(MacroDefinition *Definition, SourceRange Range) 236 bool InQuotes, const FileEntry *File, SourceRange Range); 274 findPreprocessedEntitiesInRange(SourceRange Range) = 0; 377 findLocalPreprocessedEntitiesInRange(SourceRange Range) const [all...] |
/external/clang/include/clang/Sema/ |
AttributeList.h | 40 SourceRange VersionRange; 59 SourceRange AttrRange; 122 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, 137 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, 183 SourceRange getRange() const { return AttrRange; } 382 AttributeList *create(IdentifierInfo *attrName, SourceRange attrRange, 396 AttributeList *create(IdentifierInfo *attrName, SourceRange attrRange, 442 SourceRange Range; 444 CXX0XAttributeList (AttributeList *attrList, SourceRange range, bool hasAttr) 509 AttributeList *addNew(IdentifierInfo *attrName, SourceRange attrRange [all...] |
/external/clang/include/clang/Rewrite/ |
Rewriter.h | 168 int getRangeSize(SourceRange Range, 179 std::string getRewrittenText(SourceRange Range) const; 223 bool RemoveText(SourceRange range, RewriteOptions opts = RewriteOptions()) { 236 bool ReplaceText(SourceRange range, StringRef NewStr) { 243 bool ReplaceText(SourceRange range, SourceRange replacementRange); 255 bool IncreaseIndentation(SourceRange range, SourceLocation parentIndent) {
|