/external/clang/unittests/Tooling/ |
D | RefactoringTest.cpp | 36 Replacement createReplacement(SourceLocation Start, unsigned Length, in createReplacement() 38 return Replacement(Context.Sources, Start, Length, ReplacementText); in createReplacement() 47 Replacement Replace(createReplacement(Location, 4, "")); in TEST_F() 55 Replacement Replace(createReplacement(Location, 17, "")); in TEST_F() 63 Replacement Replace(createReplacement(Location, 0, "result")); in TEST_F() 72 Replacement Replace(createReplacement(Location, 12, "x")); in TEST_F() 81 Replacement Replace1(createReplacement(Location1, 12, "x\ny\n")); in TEST_F() 88 Replacement Replace2(createReplacement(Location2, 1, "f")); in TEST_F() 94 Replacement Replace("nonexistent-file.cpp", 0, 1, ""); in TEST_F() 99 Replacement Replace("/path/to/file.cpp", 0, 1, ""); in TEST_F() [all …]
|
D | ReplacementsYamlTest.cpp | 27 .push_back(Replacement("/path/to/file1.h", 232, 56, "replacement #1")); in TEST() 29 .push_back(Replacement("/path/to/file2.h", 301, 2, "replacement #2")); in TEST()
|
/external/clang/include/clang/Tooling/Core/ |
D | Replacement.h | 69 class Replacement { 72 Replacement(); 80 Replacement(StringRef FilePath, unsigned Offset, 85 Replacement(const SourceManager &Sources, SourceLocation Start, unsigned Length, 89 Replacement(const SourceManager &Sources, const CharSourceRange &Range, 94 Replacement(const SourceManager &Sources, const Node &NodeToReplace, 129 bool operator<(const Replacement &LHS, const Replacement &RHS); 132 bool operator==(const Replacement &LHS, const Replacement &RHS); 136 typedef std::set<Replacement> Replacements; 152 bool applyAllReplacements(const std::vector<Replacement> &Replaces, [all …]
|
/external/clang/lib/Tooling/Core/ |
D | Replacement.cpp | 31 Replacement::Replacement() in Replacement() function in clang::tooling::Replacement 34 Replacement::Replacement(StringRef FilePath, unsigned Offset, unsigned Length, in Replacement() function in clang::tooling::Replacement 39 Replacement::Replacement(const SourceManager &Sources, SourceLocation Start, in Replacement() function in clang::tooling::Replacement 44 Replacement::Replacement(const SourceManager &Sources, in Replacement() function in clang::tooling::Replacement 50 bool Replacement::isApplicable() const { in isApplicable() 54 bool Replacement::apply(Rewriter &Rewrite) const { in apply() 79 std::string Replacement::toString() const { in toString() 87 bool operator<(const Replacement &LHS, const Replacement &RHS) { in operator <() 97 bool operator==(const Replacement &LHS, const Replacement &RHS) { in operator ==() 104 void Replacement::setFromSourceLocation(const SourceManager &Sources, in setFromSourceLocation() [all …]
|
D | CMakeLists.txt | 4 Replacement.cpp
|
/external/clang/include/clang/Tooling/ |
D | ReplacementsYaml.h | 24 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::Replacement) in LLVM_YAML_IS_SEQUENCE_VECTOR() argument 31 template <> struct MappingTraits<clang::tooling::Replacement> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 38 NormalizedReplacement(const IO &, const clang::tooling::Replacement &R) in LLVM_YAML_IS_SEQUENCE_VECTOR() 42 clang::tooling::Replacement denormalize(const IO &) { in LLVM_YAML_IS_SEQUENCE_VECTOR() 43 return clang::tooling::Replacement(FilePath, Offset, Length, in LLVM_YAML_IS_SEQUENCE_VECTOR() 53 static void mapping(IO &Io, clang::tooling::Replacement &R) { in LLVM_YAML_IS_SEQUENCE_VECTOR() 54 MappingNormalization<NormalizedReplacement, clang::tooling::Replacement> in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
/external/clang/lib/Tooling/ |
D | RefactoringCallbacks.cpp | 23 static Replacement replaceStmtWithText(SourceManager &Sources, in replaceStmtWithText() 26 return tooling::Replacement(Sources, CharSourceRange::getTokenRange( in replaceStmtWithText() 29 static Replacement replaceStmtWithStmt(SourceManager &Sources, in replaceStmtWithStmt() 43 Replace.insert(tooling::Replacement( in run()
|
D | Android.mk | 19 Core/Replacement.cpp \
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCContract.cpp | 571 Instruction *Replacement = Inst; in runOnFunction() local 577 if (Replacement->getType() != UseTy) in runOnFunction() 578 Replacement = new BitCastInst(Replacement, UseTy, "", in runOnFunction() 590 PHI->setIncomingValue(i, Replacement); in runOnFunction() 593 if (Replacement->getType() != UseTy) in runOnFunction() 594 Replacement = new BitCastInst(Replacement, UseTy, "", in runOnFunction() 596 U.set(Replacement); in runOnFunction()
|
/external/llvm/include/llvm/IR/ |
D | DIBuilder.h | 679 NodeTy *replaceTemporary(TempMDNode &&N, NodeTy *Replacement) { in replaceTemporary() argument 680 if (N.get() == Replacement) in replaceTemporary() 683 N->replaceAllUsesWith(Replacement); in replaceTemporary() 684 return Replacement; in replaceTemporary()
|
D | Constant.h | 51 void replaceUsesOfWithOnConstantImpl(Constant *Replacement);
|
/external/clang/include/clang/AST/ |
D | TemplateName.h | 344 TemplateName Replacement; variable 349 Parameter(parameter), Replacement(replacement) {} in SubstTemplateTemplateParmStorage() 353 TemplateName getReplacement() const { return Replacement; } in getReplacement()
|
/external/llvm/include/llvm/Support/ |
D | SourceMgr.h | 213 SMFixIt(SMRange R, const Twine &Replacement) in SMFixIt() argument 214 : Range(R), Text(Replacement.str()) { in SMFixIt()
|
/external/clang/utils/TableGen/ |
D | ClangDiagnosticsEmitter.cpp | 238 SmallString<64> Replacement; in groupDiagnostics() local 240 Replacement += "InGroup<"; in groupDiagnostics() 241 Replacement += (*I)->ExplicitDef->getName(); in groupDiagnostics() 242 Replacement += ">"; in groupDiagnostics() 244 SMFixIt FixIt(InGroupRange, Replacement); in groupDiagnostics()
|
/external/llvm/lib/IR/ |
D | BasicBlock.cpp | 73 Constant *Replacement = in ~BasicBlock() local 77 BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(Replacement, in ~BasicBlock()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 980 Value *Replacement; in RewriteLoopBodyWithConditionConstant() local 982 Replacement = Val; in RewriteLoopBodyWithConditionConstant() 984 Replacement = ConstantInt::get(Type::getInt1Ty(Val->getContext()), in RewriteLoopBodyWithConditionConstant() 996 (*UI)->replaceUsesOfWith(LIC, Replacement); in RewriteLoopBodyWithConditionConstant()
|
D | RewriteStatepointsForGC.cpp | 1683 Instruction *Replacement = cast<Instruction>(Replacements[V].first); in splitVectorValues() local 1684 (new StoreInst(Replacement, Alloca))->insertAfter(Replacement); in splitVectorValues() 1686 Replacement = cast_or_null<Instruction>(Replacements[V].second); in splitVectorValues() 1687 if (Replacement) in splitVectorValues() 1688 (new StoreInst(Replacement, Alloca))->insertAfter(Replacement); in splitVectorValues()
|
/external/clang/lib/AST/ |
D | TemplateName.cpp | 31 Profile(ID, Parameter, Replacement); in Profile()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 1303 Stmt *Replacement = SynthMessageExpr(NewMsg); in RewritePropertyOrImplicitSetter() local 1304 ReplaceStmtWithRange(PseudoOp, Replacement, OldRange); in RewritePropertyOrImplicitSetter() 1305 return Replacement; in RewritePropertyOrImplicitSetter() 1379 Stmt *Replacement = SynthMessageExpr(NewMsg); in RewritePropertyOrImplicitGetter() local 1380 ReplaceStmtWithRange(PseudoOp, Replacement, OldRange); in RewritePropertyOrImplicitGetter() 1381 return Replacement; in RewritePropertyOrImplicitGetter() 1984 Expr *Replacement = getStringLiteral(StrEncoding); in RewriteAtEncode() local 1985 ReplaceStmt(Exp, Replacement); in RewriteAtEncode() 1989 return Replacement; in RewriteAtEncode() 4787 CastExpr *Replacement = new (Context) CastExpr(ICE->getType(), in RewriteFunctionBodyOrGlobalInitializer() [all …]
|
D | RewriteModernObjC.cpp | 1516 Stmt *Replacement = SynthMessageExpr(NewMsg); in RewritePropertyOrImplicitSetter() local 1517 ReplaceStmtWithRange(PseudoOp, Replacement, OldRange); in RewritePropertyOrImplicitSetter() 1518 return Replacement; in RewritePropertyOrImplicitSetter() 1599 Stmt *Replacement = SynthMessageExpr(NewMsg); in RewritePropertyOrImplicitGetter() local 1600 ReplaceStmtWithRange(PseudoOp, Replacement, OldRange); in RewritePropertyOrImplicitGetter() 1601 return Replacement; in RewritePropertyOrImplicitGetter() 2092 Expr *Replacement = getStringLiteral(StrEncoding); in RewriteAtEncode() local 2093 ReplaceStmt(Exp, Replacement); in RewriteAtEncode() 2097 return Replacement; in RewriteAtEncode() 5764 CastExpr *Replacement = new (Context) CastExpr(ICE->getType(), in RewriteFunctionBodyOrGlobalInitializer() [all …]
|
/external/deqp/doc/testspecs/GLES31/ |
D | functional.separate_shader.txt | 27 + Replacement of pipeline stages
|
/external/clang/lib/Parse/ |
D | ParseExprCXX.cpp | 593 Token &Replacement) { in tryParseCXXIdExpression() argument 611 &Replacement); in tryParseCXXIdExpression() 664 Token Replacement; in ParseCXXIdExpression() local 666 tryParseCXXIdExpression(SS, isAddressOfOperand, Replacement); in ParseCXXIdExpression() 670 UnconsumeToken(Replacement); in ParseCXXIdExpression() 671 Result = tryParseCXXIdExpression(SS, isAddressOfOperand, Replacement); in ParseCXXIdExpression()
|
/external/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 3868 QualType Replacement; member in __anon95f29f120211::SubstituteAutoTransform 3870 SubstituteAutoTransform(Sema &SemaRef, QualType Replacement) in SubstituteAutoTransform() argument 3872 Replacement(Replacement) {} in SubstituteAutoTransform() 3882 if (!Replacement.isNull() && isa<TemplateTypeParmType>(Replacement)) { in TransformAutoType() 3883 QualType Result = Replacement; in TransformAutoType() 3890 !Replacement.isNull() && Replacement->isDependentType(); in TransformAutoType() 3892 SemaRef.Context.getAutoType(Dependent ? QualType() : Replacement, in TransformAutoType()
|
/external/llvm/tools/gold/ |
D | gold-plugin.cpp | 708 Constant *Replacement = mapConstantToLocalCopy(Aliasee, VM, &Materializer); in getModuleForFile() local 709 GA->setAliasee(Replacement); in getModuleForFile()
|
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/test/data/tokenization/ |
D | test2.test | 135 {"description":"Null Byte Replacement",
|