Searched refs:FromId (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Tooling/ |
H A 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 …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/ |
H A 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;
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | DFAEmitter.cpp | 59 auto FromId = DfaStates.idFor(DS); in visitDfaState() local 83 DfaTransitions.emplace(std::pair(FromId, A), std::pair(ToId, TI)); in visitDfaState()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeTypes.cpp | 659 auto FromId = getTableId(From); in ReplaceValueWith() local 662 if (FromId != ToId) in ReplaceValueWith() 663 ReplacedValues[FromId] = ToId; in ReplaceValueWith()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTImporter.h | 447 IdentifierInfo *Import(const IdentifierInfo *FromId);
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTImporter.cpp | 10219 IdentifierInfo *ASTImporter::Import(const IdentifierInfo *FromId) { in Import() argument 10220 if (!FromId) in Import() 10223 IdentifierInfo *ToId = &ToContext.Idents.get(FromId->getName()); in Import() 10225 if (!ToId->getBuiltinID() && FromId->getBuiltinID()) in Import() 10226 ToId->setBuiltinID(FromId->getBuiltinID()); in Import()
|