/external/clang/lib/ARCMigrate/ |
H A D | Internals.h | 30 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); 31 bool hasDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) const; 63 void remove(SourceRange range); 65 void replace(SourceRange range, StringRef text); 66 void replace(SourceRange range, SourceRange replacementRange); 70 void increaseIndentation(SourceRange range, 73 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range); 74 bool clearAllDiagnostics(SourceRange range) { 77 bool clearDiagnostic(unsigned ID1, unsigned ID2, SourceRange rang [all...] |
H A D | 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 rang [all...] |
/external/webkit/Source/WebCore/css/ |
H A D | CSSPropertySourceData.cpp | 45 SourceRange::SourceRange() function in class:WebCore::SourceRange 51 SourceRange::SourceRange(unsigned start, unsigned end) function in class:WebCore::SourceRange 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));
|
H A D | CSSPropertySourceData.h | 44 struct SourceRange { struct in namespace:WebCore 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;
|
/external/clang/unittests/Lex/ |
H A D | 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())));
|
H A D | 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/tools/libclang/ |
H A D | CXSourceLocation.h | 60 SourceRange R) { 70 static inline SourceRange translateCXSourceRange(CXSourceRange R) { 71 return SourceRange(SourceLocation::getFromRawEncoding(R.begin_int_data),
|
/external/clang/include/clang/Analysis/Analyses/ |
H A D | ReachableCode.h | 43 virtual void HandleUnreachable(SourceLocation L, SourceRange R1, 44 SourceRange R2) = 0;
|
/external/clang/include/clang/AST/ |
H A D | 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(getBuiltinLo [all...] |
H A D | ExprCXX.h | 54 SourceRange Range; 56 SourceRange getSourceRangeImpl() const LLVM_READONLY; 81 SourceRange getSourceRange() const { return Range; } 193 SourceRange getSourceRange() const LLVM_READONLY { 194 return SourceRange(Loc, RParenLoc); 384 SourceRange getSourceRange() const { 385 return SourceRange(getLocStart(), getLocEnd()); 423 SourceRange getSourceRange() const LLVM_READONLY { return SourceRange(Loc); } 449 SourceRange getSourceRang [all...] |
H A D | 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());
|
H A D | StmtObjC.h | 58 SourceRange getSourceRange() const LLVM_READONLY { 59 return SourceRange(ForLoc, SubExprs[BODY]->getLocEnd()); 106 SourceRange getSourceRange() const LLVM_READONLY { 107 return SourceRange(AtCatchLoc, Body->getLocEnd()); 136 SourceRange getSourceRange() const LLVM_READONLY { 137 return SourceRange(AtFinallyLoc, AtFinallyStmt->getLocEnd()); 242 SourceRange getSourceRange() const LLVM_READONLY; 299 SourceRange getSourceRange() const LLVM_READONLY { 300 return SourceRange(AtSynchronizedLoc, getSynchBody()->getLocEnd()); 332 SourceRange getSourceRang [all...] |
H A D | Comment.h | 38 SourceRange Range; 139 void setSourceRange(SourceRange SR) { 162 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) { 179 SourceRange getSourceRange() const LLVM_READONLY { return Range; } 273 SourceRange Range; 276 Argument(SourceRange Range, StringRef Text) : Range(Range), Text(Text) { } 322 SourceRange getCommandNameRange() const { 323 return SourceRange(getLocStart().getLocWithOffset(-1), 339 SourceRange getArgRange(unsigned Idx) const { 350 SourceRange TagNameRang [all...] |
H A D | 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 S [all...] |
H A D | Stmt.h | 354 SourceRange getSourceRange() const LLVM_READONLY; 476 SourceRange getSourceRange() const LLVM_READONLY { 477 return SourceRange(StartLoc, EndLoc); 533 SourceRange getSourceRange() const LLVM_READONLY { return SourceRange(SemiLoc); } 606 SourceRange getSourceRange() const LLVM_READONLY { 607 return SourceRange(LBracLoc, RBracLoc); 651 SourceRange getSourceRange() const LLVM_READONLY { return SourceRange(); } 706 SourceRange getSourceRang [all...] |
/external/clang/include/clang/Rewrite/Core/ |
H A D | 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) {
|
/external/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 190 class SourceRange { class in namespace:clang 194 SourceRange(): B(SourceLocation()), E(SourceLocation()) {} function in class:clang::SourceRange 195 SourceRange(SourceLocation loc) : B(loc), E(loc) {} function in class:clang::SourceRange 196 SourceRange(SourceLocation begin, SourceLocation end) : B(begin), E(end) {} function in class:clang::SourceRange 207 bool operator==(const SourceRange &X) const { 211 bool operator!=(const SourceRange &X) const { 218 /// The underlying SourceRange can either specify the starting/ending character 224 SourceRange Range; 228 CharSourceRange(SourceRange R, bool ITR) : Range(R),IsTokenRange(ITR){} 230 static CharSourceRange getTokenRange(SourceRange [all...] |
/external/clang/include/clang/Lex/ |
H A D | 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 Rang [all...] |
/external/clang/include/clang/Edit/ |
H A D | 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/lib/Sema/ |
H A D | SemaStmtAttr.cpp | 28 SourceRange Range) { 49 SourceRange Range) { 63 SourceRange Range) {
|
/external/clang/lib/AST/ |
H A D | MicrosoftMangle.cpp | 59 void mangleType(QualType T, SourceRange Range, bool MangleQualifiers = true); 79 void mangleArgumentType(QualType T, SourceRange Range); 85 SourceRange Range); 929 SourceRange Range) { 951 void MicrosoftCXXNameMangler::mangleType(QualType T, SourceRange Range, 992 SourceRange Range) { 1069 SourceRange) { 1077 SourceRange) { 1115 mangleType(Result, SourceRange()); 1139 mangleArgumentType(*Arg, SourceRange()); [all...] |
H A D | TypeLoc.cpp | 26 class TypeLocRanger : public TypeLocVisitor<TypeLocRanger, SourceRange> { 30 SourceRange Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 37 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) { 38 if (TL.isNull()) return SourceRange(); 188 SourceRange TypeOfExprTypeLoc::getLocalSourceRange() const { 190 return SourceRange(getTypeofLoc(), getRParenLoc()); 192 return SourceRange(getTypeofLoc(),
|
/external/clang/bindings/python/tests/cindex/ |
H A D | test_tokens.py | 4 from clang.cindex import SourceRange namespace 49 ok_(isinstance(extent, SourceRange))
|
/external/clang/lib/Edit/ |
H A D | RewriteObjCFoundationAPI.cpp | 175 SourceRange RecRange = Receiver->getSourceRange(); 188 SourceRange MsgRange = Msg->getSourceRange(); 189 SourceRange RecRange = Rec->getSourceRange(); 190 SourceRange ArgRange = Msg->getArg(0)->getSourceRange(); 195 commit.replaceWithInner(SourceRange(ArgRange.getBegin(), MsgRange.getEnd()), 236 SourceRange MsgRange = Msg->getSourceRange(); 237 SourceRange RecRange = Rec->getSourceRange(); 238 SourceRange Arg0Range = Msg->getArg(0)->getSourceRange(); 239 SourceRange Arg1Range = Msg->getArg(1)->getSourceRange(); 247 commit.replaceWithInner(SourceRange(Arg1Rang [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | StackAddrEscapeChecker.cpp | 38 static SourceRange GenName(raw_ostream &os, const MemRegion *R, 43 SourceRange StackAddrEscapeChecker::GenName(raw_ostream &os, 48 SourceRange range; 105 SourceRange range = GenName(os, R, C.getSourceManager()); 225 SourceRange range = GenName(os, cb.V[i].second,
|