Home
last modified time | relevance | path

Searched refs:FromId (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/clang/lib/Tooling/
DRefactoringCallbacks.cpp85 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/
DRefactoringCallbacks.cpp37 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/
DRefactoringCallbacks.h80 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/
DRefactoringCallbacks.h54 ReplaceStmtWithText(StringRef FromId, StringRef ToText);
58 std::string FromId;
66 ReplaceStmtWithStmt(StringRef FromId, StringRef ToId);
70 std::string FromId;
/external/clang/include/clang/AST/
DASTImporter.h194 IdentifierInfo *Import(const IdentifierInfo *FromId);
/external/llvm-project/llvm/utils/TableGen/
DDFAEmitter.cpp58 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/
DLegalizeTypes.cpp637 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/
DLegalizeTypes.cpp657 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/
DASTImporter.h477 IdentifierInfo *Import(const IdentifierInfo *FromId);
/external/clang/lib/AST/
DASTImporter.cpp6606 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/
DASTImporter.cpp8956 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()