/external/llvm-project/clang/lib/Tooling/ |
D | RefactoringCallbacks.cpp | 85 ReplaceStmtWithText::ReplaceStmtWithText(StringRef FromId, StringRef ToText) in ReplaceStmtWithText() argument 86 : FromId(std::string(FromId)), ToText(std::string(ToText)) {} in ReplaceStmtWithText() 90 if (const Stmt *FromMatch = Result.Nodes.getNodeAs<Stmt>(FromId)) { in run() 103 ReplaceStmtWithStmt::ReplaceStmtWithStmt(StringRef FromId, StringRef ToId) in ReplaceStmtWithStmt() argument 104 : FromId(std::string(FromId)), ToId(std::string(ToId)) {} in ReplaceStmtWithStmt() 108 const Stmt *FromMatch = Result.Nodes.getNodeAs<Stmt>(FromId); in run() 155 llvm::StringRef FromId, std::vector<TemplateElement> Template) in ReplaceNodeWithTemplate() argument 156 : FromId(std::string(FromId)), Template(std::move(Template)) {} in ReplaceNodeWithTemplate() 159 ReplaceNodeWithTemplate::create(StringRef FromId, StringRef ToTemplate) { in create() argument 195 new ReplaceNodeWithTemplate(FromId, std::move(ParsedTemplate))); in create() [all …]
|
/external/clang/lib/Tooling/ |
D | RefactoringCallbacks.cpp | 37 ReplaceStmtWithText::ReplaceStmtWithText(StringRef FromId, StringRef ToText) in ReplaceStmtWithText() argument 38 : FromId(FromId), ToText(ToText) {} in ReplaceStmtWithText() 42 if (const Stmt *FromMatch = Result.Nodes.getStmtAs<Stmt>(FromId)) { in run() 50 ReplaceStmtWithStmt::ReplaceStmtWithStmt(StringRef FromId, StringRef ToId) in ReplaceStmtWithStmt() argument 51 : FromId(FromId), ToId(ToId) {} in ReplaceStmtWithStmt() 55 const Stmt *FromMatch = Result.Nodes.getStmtAs<Stmt>(FromId); in run()
|
/external/llvm-project/clang/include/clang/Tooling/ |
D | RefactoringCallbacks.h | 80 ReplaceStmtWithText(StringRef FromId, StringRef ToText); 84 std::string FromId; 97 create(StringRef FromId, StringRef ToTemplate); 105 ReplaceNodeWithTemplate(llvm::StringRef FromId, 107 std::string FromId; variable 115 ReplaceStmtWithStmt(StringRef FromId, StringRef ToId); 119 std::string FromId;
|
/external/clang/include/clang/Tooling/ |
D | RefactoringCallbacks.h | 54 ReplaceStmtWithText(StringRef FromId, StringRef ToText); 58 std::string FromId; 66 ReplaceStmtWithStmt(StringRef FromId, StringRef ToId); 70 std::string FromId;
|
/external/clang/include/clang/AST/ |
D | ASTImporter.h | 194 IdentifierInfo *Import(const IdentifierInfo *FromId);
|
/external/llvm-project/llvm/utils/TableGen/ |
D | DFAEmitter.cpp | 58 auto FromId = DfaStates.idFor(DS); in visitDfaState() local 83 DfaTransitions.emplace(std::make_pair(FromId, A), std::make_pair(ToId, TI)); in visitDfaState()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypes.cpp | 637 auto FromId = getTableId(From); in ReplaceValueWith() local 640 if (FromId != ToId) in ReplaceValueWith() 641 ReplacedValues[FromId] = ToId; in ReplaceValueWith()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypes.cpp | 657 auto FromId = getTableId(From); in ReplaceValueWith() local 660 if (FromId != ToId) in ReplaceValueWith() 661 ReplacedValues[FromId] = ToId; in ReplaceValueWith()
|
/external/llvm-project/clang/include/clang/AST/ |
D | ASTImporter.h | 477 IdentifierInfo *Import(const IdentifierInfo *FromId);
|
/external/clang/lib/AST/ |
D | ASTImporter.cpp | 6606 IdentifierInfo *ASTImporter::Import(const IdentifierInfo *FromId) { in Import() argument 6607 if (!FromId) in Import() 6610 IdentifierInfo *ToId = &ToContext.Idents.get(FromId->getName()); in Import() 6612 if (!ToId->getBuiltinID() && FromId->getBuiltinID()) in Import() 6613 ToId->setBuiltinID(FromId->getBuiltinID()); in Import()
|
/external/llvm-project/clang/lib/AST/ |
D | ASTImporter.cpp | 8956 IdentifierInfo *ASTImporter::Import(const IdentifierInfo *FromId) { in Import() argument 8957 if (!FromId) in Import() 8960 IdentifierInfo *ToId = &ToContext.Idents.get(FromId->getName()); in Import() 8962 if (!ToId->getBuiltinID() && FromId->getBuiltinID()) in Import() 8963 ToId->setBuiltinID(FromId->getBuiltinID()); in Import()
|